this is a damage script but when Damage == 1 it doesnt call it why?
wait(2)
Damage = 0
me = game.Players.LocalPlayer
Playa = game.Players.LocalPlayer
mouse = me:GetMouse()
Torso = me.Character.Torso
Head = me.Character.Head
Humanoid = me.Character.Humanoid
Neck = Torso["Neck"]
RightShoulder = Torso["Right Shoulder"]
LeftShoulder = Torso["Left Shoulder"]
RightHip = Torso["Right Hip"]
LeftHip = Torso["Left Hip"]
LeftArm = me.Character["Left Arm"]
RightArm = me.Character["Right Arm"]
LeftLeg = me.Character["Left Leg"]
RightLeg = me.Character["Right Leg"]
req = 50
on = 0
---- C MOVE--
PlayzUf = Playa.Name
CMoveCD = true
mouse.KeyDown:connect(function(Key)
if Key == "r" and CMoveCD == true and Humanoid.Jump == false and on == 0 then
local animation = Instance.new("Animation")
animation.AnimationId = "http://www.roblox.com/item.aspx?id=321445347"
local animTrack = Humanoid:LoadAnimation(animation)
Damage = 1
on = 1
animTrack:Play()
wait(2)
Damage = 0
on = 0
end
end)
if Damage == 1 then
print("lol")
game.Players.LocalPlayer.Character["Right Leg"].Touched:connect(function(hit)
if hit.Parent:findFirstChild("Humanoid") and hit.Parent.Name ~= me.Name then
hit.Parent.Humanoid:TakeDamage(3)
end
end)
end

2 comments
hit.Parent:TakeDamage(3)
what about it