I’m trying to get this animation to work:
but when I play I get this instead:
This is the tool:
The script inside it is this:
local Tool = script.Parent
local MotorCheck = script.MotorCheck
local Motor6D = script.Motor6D
local anim2 = script.Animation
Tool.Equipped:Connect(function()
Motor6D.Part0 = Tool.Parent:WaitForChild("Right Arm")
Motor6D.Part1 = Tool:WaitForChild("Handle")
AnimationTrack = Tool.Parent.Humanoid:LoadAnimation(anim2)
AnimationTrack.Priority = Enum.AnimationPriority["Action"]
if MotorCheck == true then
Motor6D.Part0 = Tool.Parent:WaitForChild("Right Arm")
Motor6D.Part1 = Tool:WaitForChild("Handle")
end
AnimationTrack:Play()
MotorCheck = true
end)
Tool.Unequipped:Connect(function()
Motor6D.Part1 = nil
Motor6D.Part0 = nil
AnimationTrack:Stop()
end)
I got no clue why this doesn’t work, C1 and C0 are the same as the one used in the dummy, even with RequiresHandle turned off it still doesn’t work. I tried making a “longer” animation that just rotates the cutlass a bit, but when I tried it in game it was still stuck.
This is what the dummy used has: