|
Hi guys, i have created this script it basically plays a song when clicked on and that's all good but i would like to ask your help with something. what i want to do is if i click on my GUI button while the song is playing i want it to stop the track. This is if i click on the same GUI if the music is playing. Here is the script :
Oh and thanks in advance :)
(comments are locked)
|
|
In your inner condition you call audio.Stop() only when audio.isplaying==true! Try this:
(comments are locked)
|
