local G=script.Parent.Humanoid local h=game.Players.LocalPlayer:GetMouse()h.Button1Down:Connect(function()if script.Parent:FindFirstChildOfClass("\084\111\111\108")==nil and script.DamagePlayers.Debounce.Value==false then local h=G:LoadAnimation(script.Animation)h:Play()script.RemoteEvent:FireServer()wait(script.Cooldown.Value)h:Stop()end end)
--Put this script in game.StarterPlayer.StarterCharacterScripts
--Put the punch animation id on the animation inside this script

local humanoid = script.Parent.Humanoid

local mouse = game.Players.LocalPlayer:GetMouse()

mouse.Button1Down:Connect(function()
	if script.Parent:FindFirstChildOfClass("Tool") == nil and script.DamagePlayers.Debounce.Value == false then
		local punchTrack = humanoid:LoadAnimation(script.Animation)
		punchTrack:Play()
		script.RemoteEvent:FireServer()
		wait(script.Cooldown.Value)
		punchTrack:Stop()
	end
end)
