local m=game.Workspace.End[" \066\097\100\103\101"].Nodead game.Players.PlayerAdded:Connect(function(U)U.CharacterAdded:Connect(function(U)local q=U:WaitForChild("\072\117\109\097\110\111\105\100")q.Died:Connect(function()m:Destroy()end)end)end)
-- Put this script in a Part or a ServerScriptService

local scriptToDestroy = game.Workspace.End[" 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)
