Advertisement
Guest User

Roblox Damage Brick Script

a guest
Dec 16th, 2021
545
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. Roblox Damage Brick Script
  2.  
  3. local debounce = true
  4. local timebetdamage = 1
  5. script.Parent.Touched:Connect(function(hit)
  6.  
  7. if hit.Parent:FindFirstChild("Humanoid") then
  8. if debounce == true then
  9. debounce = false
  10. hit.Parent.Humanoid:TakeDamage(20) <-- change the damage if you want (delete this message after pasting script)
  11. wait(timebetdamage)
  12. debounce = true
  13. end
  14. end
  15.  
  16. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement