This event is triggered before the next loop starts when an animation loop is finished.
Create an avatar to loop the Jump animation. Trigger this event before every loop.
local player = RWObject.Create("Avatar") -- create an avatar player.Position = Vector3(0,0.125,3) -- assign a vector to the avatar position local climb = player. animation. jump -- retrieve the Jump action position climb.AnimationLoop:Connect(function() -- register an animation event that is triggered before a loop starts print("The event is triggered before a loop starts") end) wait(0.5) -- wait 0.5 climb.LocalClipId = "Jump" -- assign a value to the animation climb.Loop = true -- enable looping climb:PlayAnimation() -- play the animation