I'm having a problem, I want to set a sound to play at my game when combo multiplier hit X, but the way I made the combo multiplier system, its like the game will play the sound forever when the variable is above X, and not only one time.
I want to make it play once, like a trigger. And then stopping. Not mattering if the X value remains the same or even goes higher.
What can I do?