KashTheKingYT

KillPart script

Mar 14th, 2021
1,583
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. 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(10)
  6. wait(1)
  7. debounce = false
  8. end
  9. end)
Advertisement
Add Comment
Please, Sign In to add comment