scoreboard players set .number_max dialog 9

execute if score .number dialog matches 1.. run function main:dialog/text/text {"name":"L-30","name_color":"aqua","text":"Okay dude, listen. You gonna die alone if you won`t-","text_color":"white","duration":40}
execute if score .number dialog matches 2.. run function main:dialog/text/text {"name":"L-30","name_color":"aqua","text":"-take that forest witch with you. Who cares if she`s-","text_color":"white","duration":40}
execute if score .number dialog matches 3.. run function main:dialog/text/text {"name":"L-30","name_color":"aqua","text":"-an obsessive freak? You`re an engineer - you can fix her!","text_color":"white","duration":40}
execute if score .number dialog matches 4.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"If that`s a joke then it`s a bad one because no ones laughing.","text_color":"white","duration":40}
execute if score .number dialog matches 5.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Pff-pfpf, I do, pf.","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":"Okay, she has problems, but hey, she`s a baddie.","text_color":"white","duration":40}
execute if score .number dialog matches 7.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"She makes a badie-nfluence onto your servos.","text_color":"white","duration":40}
execute if score .number dialog matches 8.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Maybe it`s time for your anual check up?","text_color":"white","duration":40}
execute if score .number dialog matches 9.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Let`s kill that witch, she`s definitely up to no good!","text_color":"white","duration":40}