Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local KillBrick = script.Parent -- make sure rename the part to KillBrick!
- KillBrick.Touched:Connect(function(touchPart)
- local humanoid = touchPart.Parent:FindFirstChild("Humanoid")
- if humanoid then
- humanoid.Health = 0
- end
- end)
Advertisement
Advertisement