scoreboard players set .number_max dialog 6



execute if score .number dialog matches 1.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Well... hope the key works.","text_color":"white","duration":20}
execute if score .number dialog matches 2.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Make sure it`s the right orientation.","text_color":"white","duration":30}
execute if score .number dialog matches 3.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"This is not a flash drive, you know.","text_color":"white","duration":30}
execute if score .number dialog matches 4.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Who knows, everything in your hands turns into one.","text_color":"white","duration":30}
execute if score .number dialog matches 5 run function main:mechanics/camera/start {"folder":"tutorial","id":1}
execute if score .number dialog matches 5.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"What kind of insult was that supposed to be?.","text_color":"white","duration":60}
# execute if score .number dialog matches 4.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Everything you touch gets the wrong orientation.","text_color":"white","duration":30}
# execute if score .number dialog matches 5.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Dude...","text_color":"white","duration":50}
# execute if score .number dialog matches 6.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Ah, sorry, I`m trying to make the atmosphere more relaxed.","text_color":"white","duration":30}
# execute if score .number dialog matches 7.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"By insulting me?","text_color":"white","duration":50}
# execute if score .number dialog matches 8.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"","text_color":"white","duration":30}

execute if score .number dialog matches 6.. run function main:tutorial/part/1/15


# 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":"<<<<"}]