Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Brick = workspace.Lava
- local Debounce = true
- Brick.Touched:connect(function(Part)
- if (Debounce) then
- Debounce = false
- if (Part.Parent:FindFirstChild("Humanoid")) then
- Part.Parent.Humanoid:TakeDamage(Part.Parent.Humanoid.MaxHealth)
- wait(2)
- end
- Debounce = true
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement