script.Parent.Blade.Touched:connect(function(hit)
if equipped and humanoid and humanoid.Health >=0 then
print(hit.Parent.Name)
target = hit.Parent:FindFirstChild'Humanoid'
if target and target.Health >= 0 then
print(hit.Parent.Name)
target:TakeDamage(damage.Value)
end
end
end)
the code fires like 5 touched events when ever it hits something with a humanoid

1 comment
how do i limit the number of touched events firing?