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 :)
asked Feb 24 '11 at 04:40 AM
In your inner condition you call audio.Stop() only when audio.isplaying==true!
answered Feb 24 '11 at 08:26 AM