How to apply a GIF to screen GUI

Hello! How would I go about putting a gif onto a screen GUI?
Contents of studio


Does anyone know how I would be able to do this? Thanks

2 Likes

You’d probably just need to switch it out for an ImageLabel. That’s basically it, just change all the references of the Decal to an ImageLabel (and change Decal.Texture to ImageLabel.Image)

You’d probably want to switch it out with a LocalScript too, to reduce the load on the server and make it update quicker

2 Likes

Thanks. I’ll try that out Will

while true do --Loop

script.Parent.Texture = “http://www.roblox.com/asset/?id=2428849871

wait(0.12)

script.Parent.Texture = “http://www.roblox.com/asset/?id=2428850132

wait(0.12)

end

you could try using videos that roblox released like a video gui.

I did think of that but thought it wouldn’t work due to it being for video’s. I will give it a try

You can’t upload your own videos yet, and I imagine they’ll be really expensive when they get released


I know something is wrong here, just don’t know what. The part that gets me is in the image label image id. That might be the part

1 Like

The properties on ImageLabels are different, try replacing the script.Parent.Texture with script.Parent.Image. Also, you can delete the decal.

Sorry for accidentally mistyping it, I’ve edited it

1 Like

Wait, those two are the same Will
No worries

1 Like



Still not working. It’s probably me

What currently happens? Does the image appear at all?

I think they have free models for gifs in the tool box. (Which is just image changing) try importing one of them into your game and changing the images ids.

When I have the image id in the Image label, it only shows that one image. When it’s not nothing shows

That’s what I have been doing

The id’s in the script?

1 Like

just change the script to local script and change the object to image label i think