Help level up with sound effect?

Hello, I urgently need help and when the player has reached level 2 a sound is played, how does something like that work? Also applies to levels 3, 4, 5 etc and the same sound always plays every time you level up

You can try playing the sound when the condition that checks if the player has leveled up is true.