i am trying to make the game play an animation when the tool is equipped & clicked
player = game.Players.LocalPlayer
mouse = player:GetMouse()
script.Parent.Activated:Connect(function(mouse)
local Animation = script:WaitForChild("Animation")
local AnimationTrack = player.Character.Humanoid:LoadAnimation(Animation)
AnimationTrack:Play()
end)

6 comments
does the tool have a handle?
i do not use handles. this is a PUNCH script
oh thank you
He is wrong do not listen to him.
You should always be using a LocalScript in a tool. Also, if you use a LocalScript, you can use LocalPlayer in a tool.
Play animations on the client. If you aren't already.