gamemode adventure @a

tp @a 249.56 -60.0 -70.25 0 0

function lbdm:main/dialogue/display/phrase {name:"Дуполинио","color":"#f87aae","text":"Догнать его!"}
function lbdm:main/dialogue/display/phrase {name:"Lololowka","color":"#0098bd","text":"Вот же чёрт, надо поскорее отсюда убегать!"}
function lbdm:main/quest_ui/init {title:"Последние минуты","task":"Сбеги из этого места"}

execute as @a run attribute @s minecraft:movement_speed base set 0.1
execute as @a run attribute @s jump_strength base set 0.42

execute as @e[tag=quest3_end_door] run function animated_java:quest2_door/animations/open/stop
fill 250 -60 -36 249 -58 -36 minecraft:barrier
kill @e[tag=quest3_end_door.hitbox]
summon minecraft:interaction 250.0 -60 -35.05 {Tags:["quest3_end_door.hitbox"],width:2,height:3,response:true}

data merge storage lbdm:main {quest:3}

function lbdm:quest3/shelf/reset_all
clear @a
kill @e[type=item]

execute as @n[tag=quest3_start_door] run function animated_java:quest2_door/animations/open2/stop