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