
execute as @a[scores={checkpoint=36}] at @s run execute as @s[y=44,dy=0] at @s run function koncept:return_stage with storage stage:checkpoint

#83 84

execute positioned -9 51 -30 if entity @a[distance=..3] unless score 83 timer_an matches 2 run scoreboard players set 83 timer_an 1
execute if score 83 timer_an matches 1 run scoreboard players add 84 timer_an 1

execute if score 84 timer_an matches 1.. run function koncept:level/36.0



#80 81

execute positioned -8 47 -44 if entity @a[distance=..7] unless score 80 timer_an matches 2 run scoreboard players set 80 timer_an 1
execute if score 80 timer_an matches 1 run scoreboard players add 81 timer_an 1

execute if score 81 timer_an matches 1..20 run execute as @e[tag=36levl_1,type=minecraft:armor_stand] at @s run tp @s[tag=36levl_1,type=minecraft:armor_stand] ~ ~ ~0.1
execute if score 81 timer_an matches 21..40 run execute as @e[tag=36levl_1,type=minecraft:armor_stand] at @s run tp @s[tag=36levl_1,type=minecraft:armor_stand] ~ ~ ~-0.1

execute if score 81 timer_an matches 1..20 run execute as @e[tag=36levl_2,type=minecraft:armor_stand] at @s run tp @s[tag=36levl_2,type=minecraft:armor_stand] ~ ~ ~-0.1
execute if score 81 timer_an matches 21..40 run execute as @e[tag=36levl_2,type=minecraft:armor_stand] at @s run tp @s[tag=36levl_2,type=minecraft:armor_stand] ~ ~ ~0.1

execute if score 81 timer_an matches 1..20 run execute as @e[tag=36levl_3,type=minecraft:armor_stand] at @s run tp @s[tag=36levl_3,type=minecraft:armor_stand] ~ ~ ~0.1
execute if score 81 timer_an matches 21..50 run execute as @e[tag=36levl_3,type=minecraft:armor_stand] at @s run tp @s[tag=36levl_3,type=minecraft:armor_stand] ~ ~ ~-0.1
execute if score 81 timer_an matches 51..60 run execute as @e[tag=36levl_3,type=minecraft:armor_stand] at @s run tp @s[tag=36levl_3,type=minecraft:armor_stand] ~ ~ ~0.1


execute if score 81 timer_an matches 70 run scoreboard players reset 80 timer_an
execute if score 81 timer_an matches 70 run scoreboard players reset 81 timer_an