Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

how do i get the GUI to turn to a new image?

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)

1 comment

0

if i helped, mind accepting my answer?

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.