When animation plays, the body goes back to its initial position. How do I make it so it keeps its position at the end of the animation? Thank you :D
✓ ANSWER ACCEPTED
How to stop animation at the end?
1 answer
✓ Accepted answer
When you set an AnimationTrack's speed to 0, it will freeze the animation at that moment. So, if you wait until the end of the animation and do this, it should hold its position.
You can try this first:
AnimTrack:Play()
wait(AnimTrack.Length)
AnimTrack:AdjustSpeed(0)
But if the animation finishes before it has time to freeze, you can try slightly reducing the wait time:
AnimTrack:Play()
wait(AnimTrack.Length - 0.1)
AnimTrack:AdjustSpeed(0)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Thankss