scoreboard players set .number_max dialog 4



execute if score .number dialog matches 1.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"This place is huge!","text_color":"white","duration":30}
execute if score .number dialog matches 2.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"(Looks like colosseum. Be careful, I`ve heard gladiators-)","text_color":"white","duration":50}
execute if score .number dialog matches 3.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"(-are notoriously known for their cruelty.)","text_color":"white","duration":50}
execute if score .number dialog matches 4.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Trust me - this can`t be worse than a pit of sludge and antarctic.","text_color":"white","duration":30}

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