So, I'm trying to make an animation with a ScreenGui, and the image will not change. Why so?
Here's my code:
local i = 1
while i < 10 do
game.StarterGui.ScreenGui.Frame.ImageLabel.Image = "rbxassetid://1592018044"
wait(0)
game.StarterGui.ScreenGui.Frame.ImageLabel.Image = "rbxassetid://1592018636"
wait(0)
end

3 comments
You're changing an object in StarterGui, meaning you won't see the change until your character is reloaded. You need to access PlayerGui
In addition, just to point it out, I believe those wait statements are quite useless..?
If you're attempting to debounce the loop, then perhaps use half second increments or so?