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)
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.
13:06:33.354 - Image "https://assetdelivery.roblox.com/v1/asset?id=12255380" failed to load in "Players.superspeedr1234.PlayerGui.MusicGUI.ImageButton.Image": Request failed
LMAO
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Yes, you used it wrong.