Problem: I made a tool which is for combat. So every time you click it plays a punch animation. But I want it so that if you click you do a right punch. And if you click again you do a left punch. I don't know how to do this. Can someone help me?
Tool = script.Parent
Player = game.Players.LocalPlayer
PunchDebounce = true
Tool.CanBeDropped = false
Tool.Activated:connect(function()
Tool.Enabled = true
if not PunchDebounce then return end
PunchDebounce = false
local a = Player.Character.Humanoid:LoadAnimation(script["Punch R6"])
a:Play()
wait(.8)
PunchDebounce = true
end)
