#can't start if a player is playing
execute if entity @a[tag=inControl] run tag @s add failed

execute unless entity @s[tag=failed] run function bd:game/new_game
execute if entity @s[tag=failed,tag=!no_dupe_message] run tellraw @s ["",{"text":"You can't start a new game while someone else is playing!","color":"red"}]
execute if entity @s[tag=failed,tag=!no_dupe_message] at @s run playsound minecraft:block.note_block.bass master @s ~ ~100000 ~ 100000 1.8

tag @s remove failed

tag @s add no_dupe_message