OOFBOI574

Kill Part/Brick (Roblox)

Nov 30th, 2021 (edited)
244
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Put this script inside a part
  2. local lava = script.Parent
  3.  
  4. local function killPlayer(otherPart)
  5.     local partParent = otherPart.Parent
  6.     local humanoid = partParent:FindFirstChild("Humanoid")
  7.     if humanoid then
  8.         humanoid.Health = 0
  9.     end
  10. end
  11.  
  12. lava.Touched:Connect(killPlayer)
RAW Paste Data