Make sure “Loop Animation” is set (if not set, set it and compile):
omg thank you so much its working