

#82 81 100 101
execute positioned -20 103 24 if entity @a[distance=..2] run scoreboard players set 100 timer 1
execute if score 100 timer matches 1.. run scoreboard players add 101 timer 1
execute if score 101 timer matches 5.. run execute as @e[tag=nether_portal_sculk] at @s run data merge entity @s {item:{id:"minecraft:item_frame",count:1,components:{"minecraft:custom_model_data":{floats: [10]}}}}
execute if score 101 timer matches 15 run execute as @a[x=-20,y=103,z=23,distance=..4] at @s run tp @s -22 89 21 170 0
execute if score 101 timer matches 1 run playsound minecraft:block.end_portal.spawn master @a -19.50 103.00 23.42
execute if score 101 timer matches 60.. run execute as @e[tag=nether_portal_sculk] at @s run data merge entity @s {item:{id:"minecraft:air",count:1,components:{"minecraft:custom_model_data":{floats: [10]}}}}
execute if score 101 timer matches 60.. run scoreboard players reset 100 timer
execute if score 101 timer matches 60.. run scoreboard players reset 101 timer

execute as @a[scores={checkpoint=21}] at @s positioned -8 99 34 if entity @s[distance=..2] run scoreboard players set @s 21Levl_progress 0
execute as @a[scores={checkpoint=21}] at @s positioned -15 101 35 if entity @s[distance=..2] run scoreboard players set @s 21Levl_progress 1
execute as @a[scores={checkpoint=21}] at @s positioned -8 102 26 if entity @s[distance=..2] run scoreboard players set @s 21Levl_progress 2
execute as @a[scores={checkpoint=21}] at @s if block ~ ~-0.1 ~ minecraft:sculk run function koncept:level/21.1

effect give @a[scores={checkpoint=21}] minecraft:darkness infinite 5 true