How to create an animation for a mesh that loops and despawns at a certain point

Maybe, but that’s another story… Looks nice.