The one picture I made in after effects, then exported it to a series of jpegs. From there I went into photoshop and imported the folder full of jpegs as frames, and animated them, then saved it as a .gif.

There's supposed to be an option inside after effects where you canjust save it as a .gif, but I didn't have it.