scoreboard players set .number_max dialog 7



execute if score .number dialog matches 1.. run function main:dialog/text/text {"name":"Storekeeper","name_color":"green","text":"Welcome back, weirdo!","text_color":"white","duration":30}
execute if score .number dialog matches 2.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Hey there.","text_color":"white","duration":20}
execute if score .number dialog matches 3.. run function main:dialog/text/text {"name":"Storekeeper","name_color":"green","text":"Gonna buy something?","text_color":"white","duration":30}
execute if score .number dialog matches 4.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Yeah. Just, give me moment..","text_color":"white","duration":40}
execute if score .number dialog matches 5.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"I wanted to give you this.","text_color":"white","duration":40}
execute if score .number dialog matches 6.. run function main:dialog/text/text {"name":"Storekeeper","name_color":"green","text":"For free?","text_color":"white","duration":30}
execute if score .number dialog matches 7.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Ugh yeah? That`s a gift. Made myself.","text_color":"white","duration":40}
execute if score .number dialog matches 8.. run function main:dialog/text/text {"name":"Storekeeper","name_color":"green","text":"Huh, that`s.. ugh, what`s that?","text_color":"white","duration":30}
execute if score .number dialog matches 9.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Oh it`s a calculator. You`ve never seen those?","text_color":"white","duration":40}
execute if score .number dialog matches 10.. run function main:dialog/text/text {"name":"Storekeeper","name_color":"green","text":"Me did, but this one`s different. It`s weird.","text_color":"white","duration":40}
execute if score .number dialog matches 11.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Well, that`s because it ","text_color":"white","duration":40}

execute if score .number dialog matches 9.. run function main:dialog/text/text {"name":"Storekeeper","name_color":"green","text":"Are you trying to bribe me or some?","text_color":"white","duration":40}
execute if score .number dialog matches 10.. run function main:dialog/text/text {"name":"Storekeeper","name_color":"green","text":"You know that it`s pointless.","text_color":"white","duration":40}
execute if score .number dialog matches 11.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Ugh yeah? That`s a gift. Made myself.","text_color":"white","duration":40}
