Hi, I've been trying to have this imagelabel switch images every .5 seconds, but when I try to switch it in a local script in game, it just doesn't load even though it displays the new url in game.
code (inside a localscript):
while true do
workspace.Values.testbool.Value = true
game.StarterGui.loadout.primary.primaryImg.Image = "rbxassetid://4912923363"
print("whoo")
wait(.5)
workspace.Values.testbool.Value = false
game.StarterGui.loadout.primary.primaryImg.Image = "rbxassetid://145303048"
print("yay")
wait(.5)
end

1 comment
The script seems perfectly fine. Maybe your issue is the place of the LocalScript? They don't work in the Workspace unless they are in your player model.