Kill Brick
Put this script inside your part.
local killPart = script.Parent -- Change if the part is not the parent of this script.
killPart.Touched:Connect(function(hit)
local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
if humanoid then
humanoid.Health = 0
end
end)
By flvffywvffy • Last Updated: 12/26/2024