

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

execute as @a[scores={checkpoint=41}] at @s unless block ~ ~-0.5 ~ crimson_planks run execute if score 41414102 timer_an matches 1.. run execute if block 20 29 -24 minecraft:crimson_button[face=wall,facing=east,powered=true] run function koncept:level/41.1

#41414101 41414102 41414103 41414104

execute positioned 26 30 -24 if entity @a[distance=..1] unless score 41414101 timer_an matches 2 run scoreboard players set 41414101 timer_an 1
execute if score 41414101 timer_an matches 1 run scoreboard players add 41414102 timer_an 1

execute if score 41414102 timer_an matches 10 run setblock 26 29 -22 minecraft:crimson_planks
execute if score 41414102 timer_an matches 20 run setblock 26 29 -21 minecraft:crimson_planks
execute if score 41414102 timer_an matches 30 run setblock 25 29 -20 minecraft:crimson_planks
execute if score 41414102 timer_an matches 40 run setblock 24 29 -20 minecraft:crimson_planks
execute if score 41414102 timer_an matches 50 run setblock 23 30 -21 minecraft:crimson_planks
execute if score 41414102 timer_an matches 60 run setblock 22 30 -21 minecraft:crimson_planks
execute if score 41414102 timer_an matches 70 run setblock 22 30 -22 minecraft:crimson_planks
execute if score 41414102 timer_an matches 80 run setblock 21 30 -23 minecraft:crimson_planks
execute if score 41414102 timer_an matches 90 run setblock 21 30 -24 minecraft:crimson_planks
execute if score 41414102 timer_an matches 100 run setblock 22 31 -25 minecraft:crimson_planks
execute if score 41414102 timer_an matches 110 run setblock 23 31 -26 minecraft:crimson_planks
execute if score 41414102 timer_an matches 120 run setblock 24 31 -27 minecraft:crimson_planks
execute if score 41414102 timer_an matches 130 run setblock 24 31 -28 minecraft:crimson_planks
execute if score 41414102 timer_an matches 140 run setblock 25 31 -29 minecraft:crimson_planks
execute if score 41414102 timer_an matches 150 run setblock 26 31 -30 minecraft:crimson_planks
execute if score 41414102 timer_an matches 160 run setblock 27 31 -30 minecraft:crimson_planks
execute if score 41414102 timer_an matches 170 run setblock 28 31 -31 minecraft:crimson_planks
execute if score 41414102 timer_an matches 180 run setblock 29 31 -31 minecraft:crimson_planks
execute if score 41414102 timer_an matches 190 run setblock 30 31 -31 minecraft:crimson_planks
execute if score 41414102 timer_an matches 200 run setblock 31 31 -30 minecraft:crimson_planks
execute if score 41414102 timer_an matches 210 run setblock 31 31 -29 minecraft:crimson_planks
execute if score 41414102 timer_an matches 220 run setblock 30 31 -28 minecraft:crimson_planks
execute if score 41414102 timer_an matches 230 run setblock 30 31 -27 minecraft:crimson_planks
execute if score 41414102 timer_an matches 240 run setblock 30 31 -26 minecraft:crimson_planks
execute if score 41414102 timer_an matches 250 run setblock 29 31 -25 minecraft:crimson_planks
execute if score 41414102 timer_an matches 260 run setblock 29 31 -24 minecraft:crimson_planks
execute if score 41414102 timer_an matches 270 run setblock 29 31 -23 minecraft:crimson_planks
execute if score 41414102 timer_an matches 280 run setblock 28 31 -22 minecraft:crimson_planks
execute if score 41414102 timer_an matches 290 run setblock 27 32 -22 minecraft:crimson_planks
execute if score 41414102 timer_an matches 300 run setblock 26 33 -22 minecraft:crimson_planks
execute if score 41414102 timer_an matches 310 run setblock 25 33 -22 minecraft:crimson_planks
execute if score 41414102 timer_an matches 320 run setblock 24 33 -23 minecraft:crimson_planks
execute if score 41414102 timer_an matches 330 run setblock 23 34 -23 minecraft:crimson_planks
execute if score 41414102 timer_an matches 340 run setblock 22 34 -24 minecraft:crimson_planks
execute if score 41414102 timer_an matches 350 run setblock 22 34 -25 minecraft:crimson_planks
execute if score 41414102 timer_an matches 360 run setblock 23 34 -26 minecraft:crimson_planks
execute if score 41414102 timer_an matches 370 run setblock 23 34 -27 minecraft:crimson_planks
execute if score 41414102 timer_an matches 380 run setblock 24 35 -27 minecraft:crimson_planks
execute if score 41414102 timer_an matches 390 run setblock 25 35 -27 minecraft:crimson_planks
execute if score 41414102 timer_an matches 400 run setblock 26 36 -26 minecraft:crimson_planks
execute if score 41414102 timer_an matches 410 run setblock 27 36 -25 minecraft:crimson_planks
execute if score 41414102 timer_an matches 420 run setblock 27 36 -24 minecraft:crimson_planks
execute if score 41414102 timer_an matches 430 run setblock 26 37 -23 minecraft:crimson_planks
execute if score 41414102 timer_an matches 440 run setblock 25 37 -23 minecraft:crimson_planks
execute if score 41414102 timer_an matches 450 run setblock 24 37 -24 minecraft:crimson_planks
execute if score 41414102 timer_an matches 460 run setblock 23 37 -25 minecraft:crimson_planks
execute if score 41414102 timer_an matches 470 run setblock 24 38 -26 minecraft:crimson_planks
execute if score 41414102 timer_an matches 480 run setblock 25 38 -25 minecraft:crimson_planks

execute if score 41414102 timer_an matches 50 run setblock 26 29 -22 minecraft:air
execute if score 41414102 timer_an matches 60 run setblock 26 29 -21 minecraft:air
execute if score 41414102 timer_an matches 70 run setblock 25 29 -20 minecraft:air
execute if score 41414102 timer_an matches 80 run setblock 24 29 -20 minecraft:air
execute if score 41414102 timer_an matches 90 run setblock 23 30 -21 minecraft:air
execute if score 41414102 timer_an matches 100 run setblock 22 30 -21 minecraft:air
execute if score 41414102 timer_an matches 110 run setblock 22 30 -22 minecraft:air
execute if score 41414102 timer_an matches 120 run setblock 21 30 -23 minecraft:air
execute if score 41414102 timer_an matches 130 run setblock 21 30 -24 minecraft:air
execute if score 41414102 timer_an matches 140 run setblock 22 31 -25 minecraft:air
execute if score 41414102 timer_an matches 150 run setblock 23 31 -26 minecraft:air
execute if score 41414102 timer_an matches 160 run setblock 24 31 -27 minecraft:air
execute if score 41414102 timer_an matches 170 run setblock 24 31 -28 minecraft:air
execute if score 41414102 timer_an matches 180 run setblock 25 31 -29 minecraft:air
execute if score 41414102 timer_an matches 190 run setblock 26 31 -30 minecraft:air
execute if score 41414102 timer_an matches 200 run setblock 27 31 -30 minecraft:air
execute if score 41414102 timer_an matches 210 run setblock 28 31 -31 minecraft:air
execute if score 41414102 timer_an matches 220 run setblock 29 31 -31 minecraft:air
execute if score 41414102 timer_an matches 230 run setblock 30 31 -31 minecraft:air
execute if score 41414102 timer_an matches 240 run setblock 31 31 -30 minecraft:air
execute if score 41414102 timer_an matches 250 run setblock 31 31 -29 minecraft:air
execute if score 41414102 timer_an matches 260 run setblock 30 31 -28 minecraft:air
execute if score 41414102 timer_an matches 270 run setblock 30 31 -27 minecraft:air
execute if score 41414102 timer_an matches 280 run setblock 30 31 -26 minecraft:air
execute if score 41414102 timer_an matches 290 run setblock 29 31 -25 minecraft:air
execute if score 41414102 timer_an matches 300 run setblock 29 31 -24 minecraft:air
execute if score 41414102 timer_an matches 310 run setblock 29 31 -23 minecraft:air
execute if score 41414102 timer_an matches 320 run setblock 28 31 -22 minecraft:air
execute if score 41414102 timer_an matches 330 run setblock 27 32 -22 minecraft:air
execute if score 41414102 timer_an matches 340 run setblock 26 33 -22 minecraft:air
execute if score 41414102 timer_an matches 350 run setblock 25 33 -22 minecraft:air
execute if score 41414102 timer_an matches 360 run setblock 24 33 -23 minecraft:air
execute if score 41414102 timer_an matches 370 run setblock 23 34 -23 minecraft:air
execute if score 41414102 timer_an matches 380 run setblock 22 34 -24 minecraft:air
execute if score 41414102 timer_an matches 390 run setblock 22 34 -25 minecraft:air
execute if score 41414102 timer_an matches 400 run setblock 23 34 -26 minecraft:air
execute if score 41414102 timer_an matches 410 run setblock 23 34 -27 minecraft:air
execute if score 41414102 timer_an matches 420 run setblock 24 35 -27 minecraft:air
execute if score 41414102 timer_an matches 430 run setblock 25 35 -27 minecraft:air
execute if score 41414102 timer_an matches 440 run setblock 26 36 -26 minecraft:air
execute if score 41414102 timer_an matches 450 run setblock 27 36 -25 minecraft:air
execute if score 41414102 timer_an matches 460 run setblock 27 36 -24 minecraft:air
execute if score 41414102 timer_an matches 470 run setblock 26 37 -23 minecraft:air
execute if score 41414102 timer_an matches 480 run setblock 25 37 -23 minecraft:air
execute if score 41414102 timer_an matches 490 run setblock 24 37 -24 minecraft:air
execute if score 41414102 timer_an matches 500 run setblock 23 37 -25 minecraft:air
execute if score 41414102 timer_an matches 510 run setblock 24 38 -26 minecraft:air
execute if score 41414102 timer_an matches 520 run setblock 25 38 -25 minecraft:air

execute if score 41414102 timer_an matches 10 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 20 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 30 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 40 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 50 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 60 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 70 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 80 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 90 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 100 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 110 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 120 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 130 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 140 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 150 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 160 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 170 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 180 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 190 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 200 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 210 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 220 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 230 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 240 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 250 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 260 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 270 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 280 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 290 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 300 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 310 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 320 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 330 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 340 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 350 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 360 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 370 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 380 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 390 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 400 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 410 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 420 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 430 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 440 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 450 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 460 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 470 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1
execute if score 41414102 timer_an matches 480 run execute positioned 26 33 -26 run playsound minecraft:block.wood.place block @a[distance=..10] 26 33 -26 1111 1

execute if score 41414102 timer_an matches 520 run scoreboard players reset 41414101 timer_an
execute if score 41414102 timer_an matches 520 run scoreboard players reset 41414102 timer_an