So I have a script in my game that has a "you died" GUI. It used to only play when you fall off the map and hit a killbrick, but now that Iearned about the 'died' event It play the GUI whenever you die.
The problem is the script needs to stop the music playing, then replaying it.
This works in the first level, but not in the others because it has different music
I know there's the property 'IsPlaying' in the sounds, but I don't know how to incorporate that into stopping "current song"

1 comment
Some code, please?