It may not be the best way but I tried it here and it worked.
On your Sprite, set the animations name in a numeric order, starting from 1.
Create 2 instance variables on your sprite, one will store the amount of animations and the second one the current animation
This way it will change animations till reach the last one and start again from the first one. You can also destroy it when there is no more animations or do whatever you want, just compare if current is equal to animations.