I saw just now, but there is a problem . When I have loop starting at frame 0 the code works perfectly , but if I want to start the loop at another time , for example frame 30, this code add 30 stuck frames before start each loop. There is a way to solve ?