Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Custom Animations, Can't override default tool idle animation?

Asked by 6 years ago
Edited 6 years ago

I can't seem to be able to override the current default 90 degree right arm animation, I've made an animation for it but in the script it only plays it to the rest of the body but completely voids the right arm. I can't seem to get the other left hand to stick to the tool aswell Should I just weld the tool to the arm and uncheck requirehandle, but I'm not sure how I would script it.

script.Parent.Equipped:connect(function()
idle = script.Parent.Parent.Humanoid:LoadAnimation(script.Idle)
idle:Play()

end)

script.Parent.Unequipped:connect(function()
    idle:Stop()
end)




script.Parent.Activated:connect(function()



local attack = script.Parent.Parent.Humanoid:LoadAnimation(script.Attack)



if CanAttack == true then
idle:Stop()
attack:Play()

CanAttack = false

wait(1)

attack:Stop()
idle:Play()

CanAttack = true

script.Parent.CanDamage.Value = true

end

end)

^ Local Script in the tool -tool --LocalScript ---3 anims (Walk,Run,Attack)

0
Are you disabling the default animation script "Animate" in the character? And maybe try setting the Priority to Action. Zhoutai189 0 — 6y

Answer this question