I’m trying to create a custom rig and have a tail that plays a stabbing animation on click. However, the system is printing that the animation is playing and I made it print when the tool is activated, but despite this, the animation is not playing.
if input.UserInputType == Enum.UserInputType.MouseButton1 and toolequipped == true then
print("Stab!")
local stabanim = character.HirukoTail.AnimationController:LoadAnimation(script.Parent.StabAnim)
stabanim:Play()
print(stabanim.IsPlaying)
end
My rig is welded and rigged properly, and the animation plays just fine in the animation editor
I’ve tried switching to a Humanoid instead of an animation controller and rerigging and redoing the welds multiple times, however I can’t seem to get it to play the animation
What is the animation priority that you are setting? Is this animation looped or set to play only once? Also, might be worth confirming that you have the correct animation ID inside your Animation object.