spawnpoint @p -23 9 -2
gamemode spectator @p
scoreboard players set @p reset 0
execute if score @p sunrise matches 0 run scoreboard players set $Brains gamemode 0
clear @p
scoreboard players enable @p turnpage
effect give @p saturation 86400 1 true
effect clear @p invisibility
effect clear @p blindness
scoreboard players reset @p action
scoreboard players set @p launch 0
title @p title {"color":"gray","text":"Welcome"}
schedule function init:open_gate 5s