Advertisement
BaconsOwnTheUniverse

Kill Brick / Part Script [ROBLOX Studio]

Aug 3rd, 2021
2,033
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.17 KB | None | 0 0
  1. function onTouched(Obj)
  2.     local h = Obj.Parent:FindFirstChild("Humanoid")
  3.     if h then
  4.         h.Health = 0
  5.     end
  6. end
  7.  
  8. script.Parent.Touched:Connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement