My animation goes back to its original position?
Hello, I was working on a train door animation, When I played the animation, It goes back to its original position? Here is a video if you are confused: https://streamable.com/j6a0rs Code:
01 | local model = script.Parent |
02 | local AnimationController = Instance.new( "AnimationController" , model) |
03 | local Animator = Instance.new( "Animator" , AnimationController) |
04 | local NewOpenAnim = Instance.new( "Animation" ) |
07 | local NewCloseAnim = Instance.new( "Animation" ) |
10 | local OpenAnim = Animator:LoadAnimation(NewOpenAnim) |
12 | local CloseAnim = Animator:LoadAnimation(NewCloseAnim) |