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

hey how would i make them fly longer? i want to slow there speed but they spawn/despawn right above the playable area?