What condition can solve the problem with looping sound reproduction?
If the player is in the field of view of the camera - the alarm is activated.
The problem is that if a player repeatedly gets into the camera's view, the music is turned on and on. Even the use of a variable does not save.
It should be. No matter how many times a player gets under the camera's vision, the music starts once and plays all the time.