scoreboard players set .number_max dialog 5


execute if score .number dialog matches 1.. run function main:dialog/text/text {"name":"???","name_color":"red","text":"(If only I wasn`t so weak..)","text_color":"white","duration":30}
execute if score .number dialog matches 2.. run function main:dialog/text/text {"name":"???","name_color":"red","text":"(I could`ve saved them...)","text_color":"white","duration":30}
execute if score .number dialog matches 3.. run function main:dialog/text/text {"name":"???","name_color":"red","text":"(I COULD HAVE SAVED THEM!!)","text_color":"red","duration":30}
execute if score .number dialog matches 3 as @a run function main:mechanics/effects/screenshake/start {duration:20,strength:200}
execute if score .number dialog matches 4.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Khh...","text_color":"white","duration":30}
execute if score .number dialog matches 5.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"I`m sorry..","text_color":"white","duration":30}