function pause()
if workspace.MusicScript.S1.Playing == true then
game.Workspace.MusicScript.S1.Playing = false
script.Parent.Image = web.roblox.com/library/12255380/Play-Button
end
end
script.Parent.MouseButton1Click:Connect(pause)
COMMUNITY QUESTION
how do i get the GUI to turn to a new image?
1 answer
To change stuff like that, you need to put a special "link" [rbxassetid://(id)]
4 comments
0
Thanks i will try now
0
script.Parent.Image = rbxassetid://(12255380)?
0
yeah but without parenthesis
0
no it does not you need to put '' around it just realized
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
if i helped, mind accepting my answer?