I followed a tutorial to animate some elevator doors closing with moonanimator, but Im unsure on how to keep them open after the animation has finished.
Ive found countless threads on how, but they all seem to be for humanoid animations not parts, apologies if im slow at understanding im very new to all of this.
Make another animation(looped) which only consists of the ending frame. Then you can play the new animation whenever the door opening/closing animation ends.
You can do this:
local closeAnim = script.Parent.AnimationController:LoadAnimation(script.Parent.Animation)
local closedAnim = script.Parent.AnimationController:LoadAnimation(PUT ANIM HERE)
closeAnim:Play()
closeAnim.Ended:Wait()
closedAnim:Play()
Don’t forget to stop the closedAnim before playing the opening animation.