scoreboard players set .number_max dialog 6



execute if score .number dialog matches 1.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Why is there a pit with purple mass at the bottom?","text_color":"white","duration":30}
execute if score .number dialog matches 2.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"This is purple lava. It`s like normal lava but highly concentrated with magic.","text_color":"white","duration":30}
execute if score .number dialog matches 3.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"What if I fall into it?","text_color":"white","duration":30}
execute if score .number dialog matches 4.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Please do(n`t), I`m curious myself.","text_color":"white","duration":30}
execute if score .number dialog matches 5.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Very useful, thanks.","text_color":"white","duration":30}
execute if score .number dialog matches 6.. run function main:dialog/text/text_custom {text:'{"color":"white","text":"Press","bold":false},{"color":"green","text":" JUMP MIDAIR ","bold":true},{"color":"white","text":"to perform a midair dash.","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":"<<<<"}]