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

To just do what you have in the video there you can just make a BP with the plane mesh in, and put this code in it:

307818-planes.gif