1 | function pause() |
2 | if workspace.MusicScript.S 1. Playing = = true then |
3 | game.Workspace.MusicScript.S 1. Playing = false |
4 | script.Parent.Image = rbxassetid://( 12255380 ) |
5 | end |
6 | end |
7 | script.Parent.MouseButton 1 Click:Connect(pause) |
i used
rbxassetid
1 | function pause() |
2 | if workspace.MusicScript.S 1. Playing = = true then |
3 | game.Workspace.MusicScript.S 1. Playing = false |
4 | script.Parent.Image = 'rbxassetid://12255380' |
5 | end |
6 | end |
7 | script.Parent.MouseButton 1 Click: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.