scoreboard players set .number_max dialog 3



execute if score .number dialog matches 1.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"What now? Died from a basic goon?","text_color":"white","duration":40}
execute if score .number dialog matches 2.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Just got unlucky.","text_color":"white","duration":40}
execute if score .number dialog matches 3.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Oh yeah, definitely.","text_color":"white","duration":40}