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":"Should work. Let`s go.","text_color":"white","duration":30}



# execute if score .number dialog matches 1.. run tellraw @a [{"bold":false,"color":"white","text":">>>>"},{"bold":true,"clickEvent":{"action":"run_command","value":"/function main:dialog/stop"},"color":"red","text":"DON`T SKIP"},{"bold":false,"color":"white","text":"<<<<"}]