scoreboard players set .number_max dialog 8



execute if score .number dialog matches 1.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Holy...","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":"Damn...","text_color":"white","duration":30}
execute if score .number dialog matches 3.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Quite spacious for a hidden lab.","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":"Looks as abbandoned as your own though.","text_color":"white","duration":30}
execute if score .number dialog matches 5.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Hey, I clean it up... from time to time.","text_color":"white","duration":30}
execute if score .number dialog matches 6.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Sure.","text_color":"white","duration":20}
execute if score .number dialog matches 7.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Anyways, let`s see what he`s got here.","text_color":"white","duration":30}

execute if score .number dialog matches 8.. run function main:dialog/text/text_custom {text:'{"color":"white","text":"Approach any of the","bold":false},{"color":"green","text":" BIG FLOATING TEXTS ","bold":true},{"color":"white","text":"to interact with them!","bold":false}',"duration":200}


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