team join spectate @s
#execute as @s at @s run function cf:game/start/notready
tellraw @a {"text":"","color":"white","extra":[{"selector":"@s","type":"selector"},{"text":" is now spectating","type":"text"}],"type":"text"}
playsound minecraft:entity.chicken.death player @s