scoreboard players set .number_max dialog 5



execute if score .number dialog matches 1.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Jee, what a smell!","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":"(Be careful, this green liquid is an acid.)","text_color":"white","duration":50}
execute if score .number dialog matches 3.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Yeah, I can tell. I don`t want my clothes to smell anyways.","text_color":"white","duration":40}
execute if score .number dialog matches 4.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"(Can`t be worse than it already is.)","text_color":"white","duration":40}
execute if score .number dialog matches 5.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Bruh.","text_color":"white","duration":40}

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