Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local debouce = false
- script.Parent.Touched:Connect(function(hit)
- if debouce == false then
- debouce = true
- if hit.Parent and hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent.Humanoid:TakeDamage(20)
- end
- wait(0.5)
- debouce = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement