Roblox How to make a killPart code example
Example: Roblox How to make a killPart
-- Paste this into a local script inside a part
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
hit.Parent.Humanoid.Health = 0
end
end)