Joriangames

Damage Tool Script

Jun 23rd, 2021 (edited)
234
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[
  2. Thanks for using this script
  3. This script is made by Joriangames/Problox Studio Scripts
  4. Want to know how to use this and script explanation?
  5. Watch my tutorial: https://youtu.be/ImzV4rS-OMY
  6.  
  7. ]]
  8.  
  9. local debounce = true
  10.  
  11. script.Parent.Touched:Connect(function(hit)
  12.     if hit.Parent:FindFirstChild("Humanoid") then
  13.         if debounce == true then
  14.             debounce = false
  15.             hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health -5
  16.             wait(.1)
  17.             debounce = true
  18.         end
  19.     end
  20. end)
RAW Paste Data