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

#can't start if no save data exists
execute unless block 2 4 18 redstone_block run tag @s add failed2

execute unless entity @s[tag=failed] unless entity @s[tag=failed2] run function bd:game/continue_game
execute if entity @s[tag=failed,tag=!no_dupe_message] run tellraw @s ["",{"text":"Someone else is playing! You'll have to watch.","color":"red"}]
execute if entity @s[tag=failed2,tag=!no_dupe_message] run tellraw @s ["",{"text":"No save data exists! Try `NEW GAME` instead.","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
execute if entity @s[tag=failed2,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 remove failed2

tag @s add no_dupe_message