#reset all possible scores
scoreboard players reset @s stopbutton
scoreboard players reset @s player_id
scoreboard players reset @s choosecolordelay
scoreboard players reset @s hastodraw
scoreboard players reset @s hastodrawdelay
scoreboard players reset @s titledelay
scoreboard players reset @s tpdelay


gamemode adventure @s


#spectator
tag @s add temp
tag @s remove spectator
execute @e[tag=dummy,scores={ingame=1..2}] ~ ~ ~ tag @a[tag=temp] add spectator

#remove tags
tag @s remove pauseturn
tag @s remove turn
tag @s remove drawing
tag @s remove winner
tag @s remove temp



#teleport
spreadplayers 91 -76 1 2 @s[tag=!spectator]
tp @s[tag=spectator] 38.5 30 -53.0 0 0