Can someone tell me why this is wrong?
Please make your question title relevant to your question content. It should be a one-sentence summary in question form.
So I'm trying to get my GUI to make a sound play, and then a part with a Click Detector stop that sound and play a different sound.
My GUI's code is:
2 | game.workspace.Phone.PhonePart.Call.IsPlaying = true |
My Part's Code is:
2 | if script.parent.Call.IsPlaying = true then |
3 | script.parent.Dispatch.IsPlaying = true |
4 | script.parent.Call.Playing = false |
And my structure is:
http://prntscr.com/8vbcy3
http://prntscr.com/8vbd36
Can anyone help?