scoreboard players set .number_max dialog 4



execute if score .number dialog matches 1.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Time to wreck this crystal up.","text_color":"white","duration":30}
execute if score .number dialog matches 2.. run function main:dialog/text/text {"name":"???","name_color":"light_purple","text":"F#cking hell...","text_color":"white","duration":50}
execute if score .number dialog matches 2 run playsound atmos:background_1 record @a ~ ~ ~ 10 1 1
execute if score .number dialog matches 4 run function main:game/start/stage/sky/activation_1
execute if score .number dialog matches 4.. run function main:dialog/text/text_custom {text:'{"color":"red","text":"DESTROY THE CRYSTAL!!!","bold":true}',"duration":30}