Advertisement
tobycm

Damage Roblox Part Script

Jul 30th, 2020
1,481
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. local Debounce = false
  2. script.Parent.Touched:connect(function(hit)
  3.     if hit.Parent:FindFirstChild("Humanoid") and Debounce == false then
  4.         Debounce = true
  5.         hit.Parent.Humanoid:TakeDamage(1.5)
  6.         wait(0.1)
  7.         Debounce = false
  8.     end
  9. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement