scoreboard players set .number_max dialog 15



execute if score .number dialog matches 1.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Hey this is the teleportation device.","text_color":"white","duration":40}
execute if score .number dialog matches 2.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Check the logs.","text_color":"white","duration":30}
execute if score .number dialog matches 3.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Yeah yeah, I know, give me a moment...","text_color":"white","duration":60}
execute if score .number dialog matches 4.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Okay, there are coordinates and a timestamp.","text_color":"white","duration":60}
execute if score .number dialog matches 5.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"And?","text_color":"white","duration":20}
execute if score .number dialog matches 6.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"``Last Used - 15 years ago``.","text_color":"white","duration":50}
execute if score .number dialog matches 7.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Guess you`ve got your lead.","text_color":"white","duration":40}
execute if score .number dialog matches 8.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Hopefully. I`m still not sure about it.","text_color":"white","duration":40}
execute if score .number dialog matches 9.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Do you have a choice?","text_color":"white","duration":30}
execute if score .number dialog matches 10.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Well, yes, but you already know what I`ll choose.","text_color":"white","duration":40}
execute if score .number dialog matches 11.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Then wait for me to bring the parts of your Memory Loader there.","text_color":"white","duration":40}

execute if score .number dialog matches 12.. run function main:dialog/text/text_custom {text:'{"color":"aqua","text":"TELEPORTER ","bold":true},{"color":"white","text":"is used to start your run.","bold":false}',"duration":50}
execute if score .number dialog matches 14.. run function main:dialog/text/text_custom {text:'{"color":"white","text":"Simply","bold":false},{"color":"red","text":" step inside ","bold":true},{"color":"white","text":"to start, but don`t forget to take preparations beforehand.","bold":false}',"duration":50}
execute if score .number dialog matches 15.. run function main:tutorial/part/1/20



# execute if score .number dialog matches 1.. run tellraw @a [{"bold":false,"color":"white","text":">>>>"},{"bold":true,"clickEvent":{"action":"run_command","value":"/function main:dialog/stop"},"color":"red","text":"DON`T SKIP"},{"bold":false,"color":"white","text":"<<<<"}]