scoreboard players add @s time 1
execute if score @s time matches 1 run clear @a minecraft:trident
execute if score @s time matches 10 run tellraw @a [{"text":"\n\n\n[NPC] ","color":"dark_aqua"},{"text":"Kopfüber an der Decke zu kleben wurde langsam unangenehm, aber jetzt seit ihr ja hier.","color":"white"}]
execute if score @s time matches 60 run tellraw @a [{"text":"\n[NPC] ","color":"dark_aqua"},{"text":"Für die nächsten Bereiche habe ich im ","color":"white"},{"text":"PietSmiet Community Discord ","color":"aqua"},{"text":"nach Ideen gefragt! ","color":"white"}]
execute if score @s time matches 90 run data merge entity 9becb911-9c8a-4048-8f6e-ad257a0fdfe0 {start_interpolation:-1,transformation:{left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f],scale:[0.125f,0.8125f,3.4375f],translation:[-0.0625f,-0.40625f,-1.71875f]}}
execute if score @s time matches 90 run playsound minecraft:entity.item_frame.place master @a 51 38 -48 1 1.3
execute if score @s time matches 160 run tellraw @a [{"text":"\n[NPC] ","color":"dark_aqua"},{"text":"Vielen Dank an ","color":"white"},{"text":"Ashleaves ","color":"aqua"},{"text":"für diesen Vorschlag! <3","color":"white"}]
execute if score @s time matches 220 run tellraw @a [{"text":"\n[NPC] ","color":"dark_aqua"},{"text":"Dann viel Erfolg im ","color":"white"},{"text":"Labyrinth ","color":"aqua"},{"text":"und viel Spaß!\n","color":"white"}]
execute if score @s time matches 230 run effect give @a[tag=player] minecraft:blindness 2 255 true
execute if score @s time matches 230 run effect give @a[tag=player] minecraft:slowness 1 10 true
execute if score @s time matches 250 run execute as @e[tag=lvl5_wall] run data merge entity @s {block_state:{Name:"minecraft:light_gray_stained_glass"}}
execute if score @s time matches 250 run data merge entity 605ab8ad-8a6e-4cbb-909c-736d671cdb80 {block_state:{Name:"minecraft:air"}}
execute if score @s time matches 250 run fill 56 38 -45 52 38 -45 air
execute if score @s time matches 250 run playsound minecraft:block.end_portal_frame.fill master @a 54 37 -45 2 1.7
execute if score @s time matches 250 run tag @s add lvl5b
