##-Join world
    execute as @a[tag=!first_join] at @s run function subchronos:join
    execute as @a[scores={join=1..}] at @s run function subchronos:join

    
###-LOBBY
    execute positioned 500 100 -1000 if entity @p[distance=0..200] run function subchronos:lobby/tick
###-GAME
    execute positioned 1023 0 1023 if score gameStatus gameInfoValues matches 1.. run function subchronos:game/tick



#Invis
    effect give @e[tag=invis] invisibility 1 1 true
#Y score
    execute as @a store result score @s y run data get entity @s Pos[1]
