execute as @a[scores={checkpoint=53}] at @s positioned 19 24 -26 if entity @s[distance=..2] run tag @s add 53_roots_set

execute as @a[scores={checkpoint=53}] at @s positioned 29 12 -16 if entity @s[distance=..2] run tag @s remove 53_roots_set

#53535301 53535302 53535303 53535304

execute positioned 19 24 -26 if entity @a[distance=..2,tag=53_roots_set] unless score 53535301 timer_an matches 2 run scoreboard players set 53535301 timer_an 1
execute if score 53535301 timer_an matches 1 run scoreboard players add 53535302 timer_an 1

execute if score 53535302 timer_an matches 5 run function koncept:level/53/main_build

execute if score 53535302 timer_an matches 6 run scoreboard players set 53535301 timer_an 2

execute if score 53535301 timer_an matches 2 unless entity @a[tag=53_roots_set] run scoreboard players set 53535303 timer_an 1

execute if score 53535303 timer_an matches 1.. run scoreboard players add 53535304 timer_an 1

execute if score 53535304 timer_an matches 5 run function koncept:level/53/main_destroy

execute if score 53535304 timer_an matches 6 run scoreboard players reset 53535301 timer_an
execute if score 53535304 timer_an matches 6 run scoreboard players reset 53535302 timer_an
execute if score 53535304 timer_an matches 6 run scoreboard players reset 53535303 timer_an
execute if score 53535304 timer_an matches 6 run scoreboard players reset 53535304 timer_an