stop = true
play = false
script.Parent.ClickDetector.MouseClick:Connect(function()
if stop then
stop = false
if play == false then
script.Parent.music:Resume()
wait()
end
play = true
else
play = false
script.Parent.music:Pause()
wait()
end
stop = true
end)
The script seemed to have been working fine, and all of a sudden stopped working. I may have just deleted something without realizing, any help would be greatly appreciated.

3 comments
Give us the error via F9 or the Output.
there are no errors for this script
I can't find a syntax error for this script. Please provide more infomation about how it stopped working.