Why does preloading images not work?

I have 120 images that I want to load into my game. They will work as a gif and will play directly after each other.

The problem I have with this is that the images don’t load. Even if I preload them, they won’t load. Only if I preload about 20 images it works. But I don’t have 20 images, I have 120. I have looked all around the internet, and asked on discords, but to no avail.

This is the code I use for the gif:

ViewMain.Image = "http://www.roblox.com/asset/?id=5507759255"
wait()
ViewMain.Image = "http://www.roblox.com/asset/?id=5507760026"
wait()
ViewMain.Image = "http://www.roblox.com/asset/?id=5507760626"
wait()

and so on…

Preloading prioritizes which images load first before others. If you preload all of them then what’s the point of preloading? In brief terms, preloading is just priority loading, doesn’t make it faster.

1 Like

Well if that is the case, how can I make it work?

If you want to load that many images, there’s no way you can load them “faster”, the better your connection, the faster it loads. But, you can prioritize the images that you load first, like the images they first see when they join the game.

But all of the images comes after each other at the same time…

1 Like