Infinte animation?

Hi,

Which parameters do you put to make the animation loop ?
I’m currently doing this but the animations stops after a few seconds :

TaskPlayAnim(dancer, dance.lib, dance.anim, 1.0, -1.0, -1, 0, 1, true, true, true)

Cheers

Conditions:

-1 --[[ duration integer ]], ← IMPORTRANT -1
1 --[[ FLAG Odd number : loop infinite]],