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

Why isn't the ImageLabel Image changing?

Am I doing something wrong?

HomeL = game.Workspace.Variables.HomeL
AwayL = game.Workspace.Variables.AwayL
function onClicked()
	game.Workspace.Variables.AwayL = "http://www.roblox.com/asset?id=366676151"
end
game.Workspace.ct1.AWAY.ClickDetector.MouseClick:connect(onClicked)
function onClicked()
	game.Workspace.Variables.HomeL = "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

You're not setting the Value at

game.Workspace.Variables.HomeL = "http://www.roblox.com/asset?id=366676151"

4 comments

0

I did on line 8?

0

HomeL.Value - No you didn't.

0

Same thing on line 4.

0

Yeah I realized I looked at code and I didnt comprehend mb on that ;)

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