Why can't I change the image of a screen GUI image label via script?

I have an image label inside of a screen GUI inside of starter GUI. I put a local script in it. Here is the script:

local image = script.Parent

while true do
    image.Image = "rbxassetid://7486002039"
    wait(0.1)
    image.Image = "rbxassetid://7486002310"
    wait(0.1)
    image.Image = "rbxassetid://7486002642"
    wait(0.1)
    image.Image = "rbxassetid://7486002920"
    wait(0.1)
    image.Image = "rbxassetid://7486003221"
    wait(0.1)
end

When I start the game, the image label just turns invisible. However, when I’m in roblox studio and I manually change the property, the image does change.

I also disabled the script to see if it was something else that was the problem, and the image showed when I disabled the script. With the script enabled, it just turns invisible and it prints no errors, but the image property is changing though.

update: I figured it out. Here is the new script:

local image = script.Parent

while true do

image.Image = "http://www.roblox.com/asset/?id=7486002031"

wait(0.1)

image.Image = "http://www.roblox.com/asset/?id=7486002303"

wait(0.1)

image.Image = "http://www.roblox.com/asset/?id=7486002633"

wait(0.1)

image.Image = "http://www.roblox.com/asset/?id=7486002909"

wait(0.1)

image.Image = "http://www.roblox.com/asset/?id=7486003215"

wait(0.1)

end

not sure why it pasted like that tho
They didn’t update the devhub for this