Help with animating parts

Hi all, I have been experimenting with animations, as a way to reduce constraints in my game, but ran into an issue: the door won’t re-open after opening and closing it once. I have tried moving the animations to separate animation controllers, and loading the animations when function is run.

The issue is seen in the video below:
robloxapp-20211117-2138172.wmv (3.0 MB)


yes, the function does run again, but the animation doesnt.

Did you try an If Statement?

I’m pretty sure it could, be that or it’s just lag in general.

yes i did, check if its open or not

I have figured it out, I had to stop the first animation, then play the other one. Thank you all.