Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Title screen imagegui won't change?

Asked by 4 years ago

For a title screen for my game, I have the title as an image gui. It's supposed to change to another image to give a "glitchy" effect, but instead it doesn't appear at all and I don't get any errors either.

My code:

while true do script.Parent.Image = 4755369586 wait(math.random ( 0.9, 4.0 )) script.Parent.Image = 4755377876 end

0
If you copy and paste the id and put it into the Image property, it should automatically format it for you MrLonely1221 701 — 4y

1 answer

Log in to vote
0
Answered by
Drainhp 41
4 years ago

The Image property needs the content ID of the image, not just the asset ID. Try doing this: script.Parent.Image = "rbxassetid://4755369586"

0
I tried this, it didn't work. shipleydog2 -3 — 4y
Ad

Answer this question