-- This script works with any part, feel free to move it into a different part if needed.


local parentPart = script.Parent

parentPart.Touched:Connect(function(hit)
	local human = hit.Parent:FindFirstChild("Humanoid")
	if human then
		human:TakeDamage(human.MaxHealth)
	end
end)
