scoreboard players set .number_max dialog 7



execute if score .number dialog matches 1.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Phew... Finally...","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":"Last ones, hopefully.","text_color":"white","duration":30}
execute if score .number dialog matches 3.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"The hell is he keeping in there? There were like a dozen of them here!","text_color":"white","duration":50}
execute if score .number dialog matches 4.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"To be fair, the guard here wasn`t that strong...","text_color":"white","duration":30}
execute if score .number dialog matches 5.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Since you were able to beat it.","text_color":"white","duration":30}
execute if score .number dialog matches 6.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Seriously?","text_color":"white","duration":30}

execute if score .number dialog matches 7.. run function main:dialog/text/text_custom {text:'{"color":"white","text":"Approach the","bold":false},{"color":"green","text":" BIG FLOATING TEXT ","bold":true},{"color":"white","text":"to interact with it!","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":"<<<<"}]