function mctsts:lobby/countdown_remove
execute if score lobbyPlayers Stats matches 2.. positioned 4 39 34 run gamemode spectator @a[distance=5..,gamemode=!creative] 
execute if score lobbyPlayers Stats matches 2.. run function mctsts:game/start
execute if score lobbyPlayers Stats matches ..1 positioned 4 39 34 run tp @a[distance=..5] 4 32 28 0 0
execute if score lobbyPlayers Stats matches ..1 as @a at @s run playsound minecraft:entity.phantom.flap master @s ~ ~ ~ 1 0.75
execute if score lobbyPlayers Stats matches ..1 run title @a times 0 15 20
execute if score lobbyPlayers Stats matches ..1 run title @a title [""]
execute if score lobbyPlayers Stats matches ..1 run title @a subtitle [{"translate":"lobby.not_enough_players","color":"red","bold":true}]
scoreboard players set countdown Stats -2
