scoreboard players set .number_max dialog 1



execute if score .number dialog matches 1.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"I don`t even want to think what made the water here toxic.","text_color":"white","duration":40}