local human = game.Players.LocalPlayer.Character.Humanoid
local hold = human:LoadAnimation(script.Parent.hold)
local tool = script.Parent
tool.Equipped:connect(function()
hold:Play()
end)
tool.Unequipped:connect(function()
hold:Stop()
end)
This is all located in a localscript. When I Play solo, the animation does not play.

2 comments
I think it is because animations have to be in the workspace. Just try that and modify your code to fit the location change and try it.
I have another animation that's working fine in the tool..