Turning a series of images into a gif from a list of images

I have a list with 3600 frames, and want to make a gif from it. How do I do this?

Link to project: Snap! Build Your Own Blocks

You seem to have the method of creating the animation figured out. However, the list is not saved with the project so I can't see what might be going wrong. If you actually want to be able to download a file that is a gif (rather than just creating a gif-like animation), I don't think this is possible in Snap!, at least not without getting really really REALLY complicated.

There should be an online image to gif converter.

For me when I run it it says expecting a list but getting a number

I must've made the variable transient, so it didn't save what was inside it. I'll fix that.

Project is fixed. All it does is play the animation.

What is wrong then? Don't you want it to play the animation?

If you're asking to convert all those frames into a standalone .gif file, I'm pretty sure Snap! cannot do that.

Try this block
animate script pic
from

I then used

to make this
ezgif-77f57e58d44e3b

I wonder if someone could make a block that does this with the JavaScript block

Modified to export costumes list. It's the JS version, but it still takes a few seconds to complete
animate script pic (1)

Well I'll be damned