function main:game/spectator/gobacktolobby if @a[score_GoBackToLobby_min=1,score_GoBackToLobby=1]
function main:game/spectator/trigger
function main:game/spectator/trigger2 if @e[name=FunctionRunner,type=armor_stand,tag=NoPlayerLeft]

function main:game/spectator/preventescape
function main:game/spectator/escaped if @a[tag=PreventEscape]

function main:game/spectator/initnoplayerleft if @e[name=FunctionRunner,type=armor_stand,tag=!NoPlayerLeft]
function main:game/spectator/specclickreset if @a[score_SpecClickReset_min=1,score_SpecClickReset=1]