tag @s add teleport_text
kill @e[type=text_display,tag=teleport_text]
kill @e[type=item_display,tag=teleport_text]

fill 76 -57 8 76 -54 10 light_blue_stained_glass
summon text_display 75 -54 9 {teleport_duration:1,Rotation:[90F,0F],alignment:"center",Tags:["hub","teleport_text"],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,-0.25f,0f],scale:[1f,1f,1f]},text:'{"color":"#0099ff","bold":true,"text":"Teleport"}',background:7566195}

summon text_display 74 -55.5 9 {teleport_duration:1,Rotation:[90F,0F],alignment:"center",Tags:["hub","teleport_text"],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,-0.25f,0f],scale:[1f,1f,1f]},text:'[{"color":"white","bold":false,"text":"Step inside to "},{"color":"green","bold":true,"text":"START"},{"color":"white","bold":false,"text":" the run."}]',background:7566195}

summon text_display 74 -56 9 {teleport_duration:1,Rotation:[90F,0F],alignment:"center",Tags:["hub","teleport_text"],transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,-0.25f,0f],scale:[1f,1f,1f]},text:'[{"color":"white","bold":false,"text":"Use "},{"color":"red","bold":true,"text":"EXIT"},{"color":"white","bold":false,"text":" item in your inventory to abandon the run!"}]',background:7566195}

tp @e[type=block_display,tag=main_menu] 72 -58 9 -90 0
execute as @e[type=block_display,tag=main_menu] at @s run function main:hub/objects/teleport/text_2