scoreboard players set .number_max dialog 6


# execute if score .number dialog matches 1.. run function main:dialog/text/text_custom {text:'{"color":"red","text":"CAUTION!!!","bold":true}',"duration":20}
# execute if score .number dialog matches 2.. run function main:dialog/text/text_custom {text:'{"color":"white","text":"This game contains suggestive content, such as glistering slime butt, occasional swearing and corny names!"}',"duration":80}
# execute if score .number dialog matches 3.. run function main:dialog/text/text_custom {text:'{"color":"red","text":"You`ve been warned!","bold":true}',"duration":30}
# execute if score .number dialog matches 4.. run function main:dialog/text/text_empty {"duration":15}
execute if score .number dialog matches 1.. run function main:dialog/text/text_custom {text:'{"color":"light_purple","text":"pinkius ","bold":true},{"color":"white","text":"presents","bold":false}',"duration":25}
execute if score .number dialog matches 2 run summon item_display -33.8 13.65 123 {Tags:["logo"],shadow_strength:0f,shadow_radius:0f,brightness:{sky:15,block:0},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[1f,0.5f,0.1f]},Rotation:[90f,0f],item:{id:"minecraft:paper",count:1,components:{"item_model":"minecraft:logo"}}}
execute if score .number dialog matches 3 as @a run tp @a -34 12 123 90 0

execute if score .number dialog matches 4.. run function main:dialog/text/text_empty {"duration":0}

execute if score .number dialog matches 5.. run function main:dialog/text/text_empty {"duration":15}
execute if score .number dialog matches 6 run function main:dialog/start {"folder":"tutorial/","allow_skip":"1",id:2}

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