execute if score world ongoing_run matches 1 run function kiwi2:tick_in_run
execute if score world ongoing_run matches 1 run function kiwi2:upgrades/classes/classes_tick
execute if score world ongoing_run matches 0 run function kiwi2:tick_in_hub
scoreboard players add world OneSecondTimer 1
execute as @a if score world OneSecondTimer matches 20.. run function kiwi2:detect_player_join