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":"Be careful, there are more!","text_color":"white","duration":20}
execute if score .number dialog matches 2.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Shit.'","text_color":"white","duration":20}

execute if score .number dialog matches 3.. run function main:dialog/text/text_custom {text:'{"color":"white","text":"Press","bold":false},{"color":"green","text":" SHIFT ","bold":true},{"color":"white","text":"to use your Shift ability and throw a nade!","bold":false}',"duration":200}


# 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":"<<<<"}]