If you make a script where you press a button then music starts playing, if you add a stop all in the script and press the button the song plays when the green flag is not on.
<when green flag clicked>
<if><mouse down?>
<play sound[ Song ]and waits>
<stop all>

Offline
I think you're saying that the sound keeps playing? Since a script only needs to be active to start a sound playing, it will do that. You need to make sure to add a 'stop all sounds' block before the 'stop script' block to stop playback of the music.
Offline