Sound and Bools

Hi, I want a sound to play in a loop, every time the Player’s health is equall or less than 0.25, I have a bool for that, but the problem is that it plays it every frame and its… horrible, I want the sound to play from beginning to the end and again if the bool is true.

How can I do that in the most simple way ?

Use AudioSource.loop to make a sound loop. Turn it on before you play the sound and it will loop when it finishes. Turn it off and the sound will stop at the end of the next loop:

If you want specific code feedback, post what you have already written that is giving you problems.