Hello! Recently texture offsets were added to the game, since this addition I have used this new feature to convert gifs into spritesheets for animation!
Today I would like to showcase this creation and give it to you to use as well!
Now you may be thinking: “But aren’t there already gifs on roblox?” and you’d be semi-right
The old way of uploading gifs required you to upload every single frame as a seperate image and then loop through showing them, or using surface guis, which while in some usecases is fine, but textures, since they can wrap around an object, would be much more useful than surface guis
This method only requires you to upload a single image, which is much easier to do.
First you need to convert your gif into a spritesheet, I found this nice tool online that does just that:
after you convert your gif, you should have something like this
You will need to get how many columns, rows, and frames your gif has
in my case i have 4 columns, 5 rows, and 4*4+2 frames
I just plug that into the script, set the texture id, and adjust the fps and any other things i need to adjust and i have a gif!
(This game is uncopylocked if you want to take a look at the scripts)
(Or optionally you can also use this place file)
RobloxGifs.rbxl (22.3 KB)