Need help with gif

I tried that but the overlay just pops up one by one first before the animation