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

Changing GUI ImageLabels and TextBox (GUI ingame)?

how do I make it so when I reset the gui doesnt revert back to its original form?

HomeL = game.Workspace.Variables.HomeL
AwayL = game.Workspace.Variables.AwayL
function onClicked()
	wait(1)
	game.Workspace.Variables.AwayL.Value = "http://www.roblox.com/asset?id=366676151"
end
game.Workspace.ct1.AWAY.ClickDetector.MouseClick:connect(onClicked)
function onClicked()
	wait(1)
	game.Workspace.Variables.HomeL.Value = "http://www.roblox.com/asset?id=366676151"
end
game.Workspace.ct1.HOME.ClickDetector.MouseClick:connect(onClicked)

AwayL.Changed:connect(function()
	script.Parent.AwayLogo.Image = AwayL.Value 
end)
HomeL.Changed:connect(function()
	script.Parent.HomeLogo.Image = HomeL.Value 
end)

1 answer

✓ Accepted answer

In the StarterGUI object, uncheck "ResetPlayerGUIOnSpawn"

This discussion is preserved as it was. New answers, comments, and votes are closed.