scoreboard players set .number_max dialog 4


execute if score .number dialog matches 1.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"You got no artifact essence on you.","text_color":"white","duration":30}
execute if score .number dialog matches 2.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Yeah, couldn`t find any.","text_color":"white","duration":30}
execute if score .number dialog matches 3.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"I`ll still upgrade my stuff.","text_color":"white","duration":20}
execute if score .number dialog matches 4.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Yeah, go ahead.","text_color":"white","duration":30}