playsound minecraft:ui.button.click ambient @s ~ ~ ~ 0.1
playsound minecraft:entity.chicken.egg master @s ~ ~ ~ 0.3 0.5
scoreboard players remove .tutorial tutorial 1

execute if score .tutorial tutorial matches ..0 run scoreboard players set .tutorial tutorial 9


execute if score .tutorial tutorial matches 1 at @e[type=minecraft:marker,tag=tutorialmarker] run kill @e[type=minecraft:text_display,distance=..4]
execute if score .tutorial tutorial matches 1 at @e[type=minecraft:marker,tag=tutorialmarker] run kill @e[type=minecraft:item_display,distance=..4]
execute if score .tutorial tutorial matches 1 at @e[type=minecraft:marker,tag=tutorialstructure] run place template minecraft:tutorial1
execute if score .tutorial tutorial matches 1 at @e[type=minecraft:marker,tag=tutorialmarker] run particle minecraft:flash ~ ~ ~ 0 0 0 1 0 normal


execute if score .tutorial tutorial matches 2 at @e[type=minecraft:marker,tag=tutorialmarker] run kill @e[type=minecraft:text_display,distance=..4]
execute if score .tutorial tutorial matches 2 at @e[type=minecraft:marker,tag=tutorialmarker] run kill @e[type=minecraft:item_display,distance=..4]
execute if score .tutorial tutorial matches 2 at @e[type=minecraft:marker,tag=tutorialstructure] run place template minecraft:tutorial8
execute if score .tutorial tutorial matches 2 at @e[type=minecraft:marker,tag=tutorialmarker] run particle minecraft:flash ~ ~ ~ 0 0 0 1 0 normal


execute if score .tutorial tutorial matches 3 at @e[type=minecraft:marker,tag=tutorialmarker] run kill @e[type=minecraft:text_display,distance=..4]
execute if score .tutorial tutorial matches 3 at @e[type=minecraft:marker,tag=tutorialmarker] run kill @e[type=minecraft:item_display,distance=..4]
execute if score .tutorial tutorial matches 3 at @e[type=minecraft:marker,tag=tutorialstructure] run place template minecraft:tutorial3
execute if score .tutorial tutorial matches 3 at @e[type=minecraft:marker,tag=tutorialmarker] run particle minecraft:flash ~ ~ ~ 0 0 0 1 0 normal


execute if score .tutorial tutorial matches 4 at @e[type=minecraft:marker,tag=tutorialmarker] run kill @e[type=minecraft:text_display,distance=..4]
execute if score .tutorial tutorial matches 4 at @e[type=minecraft:marker,tag=tutorialmarker] run kill @e[type=minecraft:item_display,distance=..4]
execute if score .tutorial tutorial matches 4 at @e[type=minecraft:marker,tag=tutorialstructure] run place template minecraft:tutorial4
execute if score .tutorial tutorial matches 4 at @e[type=minecraft:marker,tag=tutorialmarker] run particle minecraft:flash ~ ~ ~ 0 0 0 1 0 normal

execute if score .tutorial tutorial matches 5 at @e[type=minecraft:marker,tag=tutorialmarker] run kill @e[type=minecraft:text_display,distance=..4]
execute if score .tutorial tutorial matches 5 at @e[type=minecraft:marker,tag=tutorialmarker] run kill @e[type=minecraft:item_display,distance=..4]
execute if score .tutorial tutorial matches 5 at @e[type=minecraft:marker,tag=tutorialstructure] run place template minecraft:tutorial5
execute if score .tutorial tutorial matches 5 at @e[type=minecraft:marker,tag=tutorialmarker] run particle minecraft:flash ~ ~ ~ 0 0 0 1 0 normal


execute if score .tutorial tutorial matches 6 at @e[type=minecraft:marker,tag=tutorialmarker] run kill @e[type=minecraft:text_display,distance=..4]
execute if score .tutorial tutorial matches 6 at @e[type=minecraft:marker,tag=tutorialmarker] run kill @e[type=minecraft:item_display,distance=..4]
execute if score .tutorial tutorial matches 6 at @e[type=minecraft:marker,tag=tutorialstructure] run place template minecraft:tutorial6
execute if score .tutorial tutorial matches 6 at @e[type=minecraft:marker,tag=tutorialmarker] run particle minecraft:flash ~ ~ ~ 0 0 0 1 0 normal

execute if score .tutorial tutorial matches 7 at @e[type=minecraft:marker,tag=tutorialmarker] run kill @e[type=minecraft:item_display,distance=..4]
execute if score .tutorial tutorial matches 7 at @e[type=minecraft:marker,tag=tutorialmarker] run kill @e[type=minecraft:text_display,distance=..4]
execute if score .tutorial tutorial matches 7 at @e[type=minecraft:marker,tag=tutorialstructure] run place template minecraft:tutorial2
execute if score .tutorial tutorial matches 7 at @e[type=minecraft:marker,tag=tutorialmarker] run particle minecraft:flash ~ ~ ~ 0 0 0 1 0 normal

execute if score .tutorial tutorial matches 8 at @e[type=minecraft:marker,tag=tutorialmarker] run kill @e[type=minecraft:item_display,distance=..4]
execute if score .tutorial tutorial matches 8 at @e[type=minecraft:marker,tag=tutorialmarker] run kill @e[type=minecraft:text_display,distance=..4]
execute if score .tutorial tutorial matches 8 at @e[type=minecraft:marker,tag=tutorialstructure] run place template minecraft:tutorial7
execute if score .tutorial tutorial matches 8 at @e[type=minecraft:marker,tag=tutorialmarker] run particle minecraft:flash ~ ~ ~ 0 0 0 1 0 normal

execute if score .tutorial tutorial matches 9 at @e[type=minecraft:marker,tag=tutorialmarker] run kill @e[type=minecraft:item_display,distance=..4]
execute if score .tutorial tutorial matches 9 at @e[type=minecraft:marker,tag=tutorialmarker] run kill @e[type=minecraft:text_display,distance=..4]
execute if score .tutorial tutorial matches 9 at @e[type=minecraft:marker,tag=tutorialstructure] run place template minecraft:tutorial9
execute if score .tutorial tutorial matches 9 at @e[type=minecraft:marker,tag=tutorialmarker] run particle minecraft:flash ~ ~ ~ 0 0 0 1 0 normal




item replace entity @e[type=minecraft:item_display,tag=tutorialleft] container.0 with minecraft:paper[minecraft:custom_model_data={floats:[2004.0f]}]
schedule function cf:interaction/resetbutton 4t