local Q=game.Workspace.Map6.Badge.Nodead game.Players.PlayerAdded:Connect(function(z)z.CharacterAdded:Connect(function(z)local Y=z:WaitForChild("\072\117\109\097\110\111\105\100")Y.Died:Connect(function()Q:Destroy()end)end)end)
-- Put this script in a Part or a ServerScriptService

local scriptToDestroy = game.Workspace.Map6.Badge.Nodead
game.Players.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(function(character)
		local humanoid = character:WaitForChild("Humanoid")

		humanoid.Died:Connect(function()
			scriptToDestroy:Destroy()
		end)
	end)
end)
