Advertisement
eanyus7a

Kill Brick script

Dec 26th, 2022 (edited)
286
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. local KillBrick = script.Parent -- make sure rename the part to KillBrick!
  2. KillBrick.Touched:Connect(function(touchPart)
  3.  
  4. local humanoid = touchPart.Parent:FindFirstChild("Humanoid")
  5.  
  6. if humanoid then
  7. humanoid.Health = 0
  8. end
  9. end)
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement