AnimationController Not Running Help

I’m encountering an issue with my animation not running as expected. I have one basepart that is anchored and connected to everything that is moveable. I tested this setup to confirm that anchoring isn’t causing the animation to break. I’m also using an animation controller in my project.

The code I’m using to trigger the animations is as follows:

wait(3)
local anim = script.Parent.Parent.AnimationController.Animator:LoadAnimation(script.Parent.Parent.BowAttack)
anim:Play()
print("Running")

I’m not encountering any errors, but the animation still fails to play.

1 Like

Hello! Is this a local script? If not make sure it is. Also, do you own the animation?

1 Like

I own the animation and it is not a local script.

1 Like

Change it into a local script and it should work

1 Like

It is still not playing and there are no errors.

1 Like

Are you able to send a picture of the explorer

1 Like

image

1 Like

Are you able to send images of the properties of the local script, and the instances in animationcontroller

1 Like

image

1 Like

Your script looks just fine. If you have nothing in your output, yet it doesn’t play the animation please check if the animation has the correct animation ID.

1 Like

I double-checked the ID, and it is correct.

1 Like

And nothing is in your output? You’d probably need a humanoid. Not quite sure though. Is it rigged at all?

1 Like

Yes, the model is rigged, and it correctly prints ‘Running’ in my output without any errors. However, instead of using a humanoid, I am using an animation controller. I’m not sure if this is contributing to the problem.

1 Like

Did you made the animation in that rig? Maybe just try using a humanoid and see what that changes. I don’t know.

1 Like

Yes, I did make the animation in the same rig that I am playing the animation on. I was going to use an animation controller, so I don’t have to use a humanoid.

1 Like