scoreboard players set @e[name=LobbyPlayerN,type=armor_stand] DisconnectLTest 0
execute @a[tag=Lobby] ~ ~ ~ scoreboard players add @e[name=LobbyPlayerN,type=armor_stand] DisconnectLTest 1
execute @a[tag=LobbyAFK] ~ ~ ~ scoreboard players add @e[name=LobbyPlayerN,type=armor_stand] DisconnectLTest 1
execute @a[tag=LobbySpectate] ~ ~ ~ scoreboard players add @e[name=LobbyPlayerN,type=armor_stand] DisconnectLTest 1
execute @a[tag=LobbyAFKBar] ~ ~ ~ scoreboard players add @e[name=LobbyPlayerN,type=armor_stand] DisconnectLTest 1
execute @a[tag=LobbyAFKHowToPlay] ~ ~ ~ scoreboard players add @e[name=LobbyPlayerN,type=armor_stand] DisconnectLTest 1
execute @a[tag=LobbyAFKTesterRoom] ~ ~ ~ scoreboard players add @e[name=LobbyPlayerN,type=armor_stand] DisconnectLTest 1

scoreboard players operation @e[name=LobbyPlayerB,type=armor_stand] DisconnectLTest -= @e[name=LobbyPlayerN] DisconnectLTest
execute @e[name=LobbyPlayerB,score_DisconnectLTest_min=1,type=armor_stand] ~ ~ ~ tellraw @a {"text":"One left"}

scoreboard players operation @e[name=LobbyPlayerB,type=armor_stand] DisconnectLTest = @e[name=LobbyPlayerN,type=armor_stand] DisconnectLTest