Now that I have the punch and a cooldown for it what event do i use to make it so that if the right arm touches a player it does damage to the player

player = game.Players.LocalPlayer mouse = player:GetMouse() animation = script:WaitForChild("Animation1") enabled = true mouse.Button1Down:Connect(function() if enabled then enabled = false

local animationTrack = player.Character.Humanoid:LoadAnimation(animation)
animationTrack:Play()

wait(1)
enabled = true

end

end)

???????

2 comments

0

Use a Touched event and use an if statement to only run when the Right arm (Upper/Lower for R15) touches

0

And be sure to use remote events or a bindble event cause you can't make changes to the server unless it's a script.