Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local debounce = false
- local pad = script.Parent
- pad.Touched:Connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- if not debounce then
- debounce = true
- if hit.Parent.Humanoid.Health ~= hit.Parent.Humanoid.MaxHealth then
- hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health + 20
- end
- wait(1)
- debounce = false
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment