Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script.Parent.blade.Touched:connect(function(hitPart)
- if hitPart.Parent:FindFirstChildOfClass(“Humanoid”) then
- if script.Parent.CanDamage.Value == true then
- local hum = hitPart.Parent:FindFirstChildOfClass(“Humanoid”)
- hum:TakeDamage(50)
- script.Parent.CanDamage.Value = false
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement