I am making a simulator and the tool animation isn't working. I have 2 scripts. Here is the first one
script.Parent.Activated:Connect(function() local action = script.Parent.Parent.Humanoid.Animator:LoadAnimation(script.Animation) action:Play() end)
Here is the second one
local tool = script.Parent local animation = tool.LocalScript.Animation tool.Activated:Connect(function() local character = tool.Parent local humanoid = character.Humanoid local AnimationTrack = humanoid.Animator:LoadAnimation(animation) AnimationTrack:Play() end)
Any help appreciated!