Advertisement
Guest User

ROBLOX Script

a guest
Oct 20th, 2017
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local debounce = false
  2. game.Workspace.Part.Touched:Connect(function(hit)
  3.     if hit.Parent:FindFirstChild("Humanoid") then
  4.         if not debounce then
  5.             debounce = true
  6.                 while hit.Parent.Humanoid.Health < 100 do
  7.                     hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health + 25
  8.                     wait(2)
  9.                 end
  10.             wait(2)
  11.             debounce = false
  12.         end
  13.     end
  14. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement