Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. script.Parent.blade.Touched:connect(function(hitPart)
  2. if hitPart.Parent:FindFirstChildOfClass(“Humanoid”) then
  3. if script.Parent.CanDamage.Value == true then
  4. local hum = hitPart.Parent:FindFirstChildOfClass(“Humanoid”)
  5. hum:TakeDamage(50)
  6. script.Parent.CanDamage.Value = false
  7. end
  8. end
  9. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement