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.
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.
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.
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.