
A touch-activated killbrick that instantly zeroes the health of any character that touches it. Follow the linked tutorial for placement and setup.
script.Parent.Touched:Connect(function(hit)
local hum = hit.Parent:FindFirstChild("Humanoid")
if hum then
hum.Health = 0
end
end)