I've tried almost everything I know and I still can't get it to work, can somebody please help me?
Have you tried using the Tool.Equipped()
event, then put the code inside? This will make it so it plays whenever they equip the Tool.
local IdleAnim = Humanoid:LoadAnimation(script.Parent.AnimationsName) script.Parent.Equipped:Connect(function() IdleAnim:Play() end) script.Parent.Unequipped:Connect(function() IdleAnim:Stop() end)