My roll animation drags back to the start

I have created an animation of the player rolling forward when I press the R key. When the player rolls forward, the animation ends, and then the player is dragged back to where the animation began. I want the player’s position to end up where the animation ends. I am having trouble working out how to calculate and move the player the proper distance in the right direction. Any help would be appreciated :slight_smile:


Ok, I clicked the link, checking it out. While that is super cool, are you saying I have to do something similar to have the player end up where the animation ends? It doesn’t seem very easy. I am applying the animation to the player’s character and not an NPC; I’m not sure if that makes any difference. I thought it would be easier than this. :neutral_face:

Im guessing this is happening because you made the character in the animation it self to go forward, Im not sure about this but you can use

local PlayerPos = Player.Torso.Position

then teleport the player there
but also you could use i think its KeyframeReached or something

If anyone can help me with this I would really appreciate it.