Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to keep Humanoid position after animation finishes?

Asked by 7 years ago

I have an attack animation that makes Humanoid charge forward and attack. Normally when animation is over, player automatically returns to position where he started this animation.

I'd like the player to change/keep position once he finishes the animation. The Humanoid is suppose to stay in that position where he is when animation is ending.

1
cframe the character forward. RubenKan 3615 — 7y
0
How can I do both cFrame and run animation at once? If I'm cFraming it, then the cFrame part should be executed at animation end, but then I don't have exact coordinates for cFraming. Iliuminatis 0 — 7y
0
You need to create a function that would execute right after the animation, setting the location of the player to the current location of the humanoid before he's returned to the original positon. You have to use CFrame...maybe i could help if you post the code Nogalo 148 — 7y
0
You can make the animation move the arms and legs, but not the position of the character. Then you can easily CFrame the character forward while the animation plays, as the animation won't be "moving" the characters position. RubenKan 3615 — 7y

Answer this question