Don't really know if you're talking about actions parts or lua.
For actionparts, you can loop by using "jump to action part #1". You must pause if you're using loops. Example use:
If character is on scene ...
Pause for 1ms
Jump to action part #1