Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local debounce = false
- game.Workspace.Part.Touched:Connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- if not debounce then
- debounce = true
- while hit.Parent.Humanoid.Health < 100 do
- hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health + 25
- wait(2)
- end
- wait(2)
- debounce = false
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement