function pause() if workspace.MusicScript.S1.Playing == true then game.Workspace.MusicScript.S1.Playing = false script.Parent.Image = rbxassetid://(12255380) end end script.Parent.MouseButton1Click:Connect(pause)
i used
rbxassetid
function pause() if workspace.MusicScript.S1.Playing == true then game.Workspace.MusicScript.S1.Playing = false script.Parent.Image = 'rbxassetid://12255380' end end script.Parent.MouseButton1Click:Connect(pause)
This will work.
Also, Dovydas1118, you are acting really immature right now. Spamming instead of helping, especially since this is really easy, shows how much of a retard you are.