execute if entity @a[scores={tutorial_room=2,timer4=1}] run data merge entity @e[tag=tut2,limit=1] {CustomNameVisible:1b,CustomName:'[{"text":"[1/3] ","color":"yellow","bold":true,"italic":false},{"text":"In TOTA, ","color":"white","bold":false,"italic":false},{"text":"spells","color":"blue","bold":false,"italic":false},{"text":" are your main source of ","color":"white","bold":false,"italic":false},{"text":"magic","color":"dark_purple","bold":false,"italic":false},{"text":".","color":"white","bold":false,"italic":false}]'}
execute if entity @a[scores={tutorial_room=2,timer4=1}] run execute at @e[tag=tut2,limit=1] run playsound minecraft:ui.button.click master @a ~ ~ ~ 1 1.5

execute if entity @a[scores={tutorial_room=2,timer4=67}] run data merge entity @e[tag=tut2,limit=1] {CustomNameVisible:1b,CustomName:'[{"text":"[2/3] ","color":"yellow","bold":true,"italic":false},{"text":"Each ","color":"white","bold":false,"italic":false},{"text":"spell","color":"blue","bold":false,"italic":false},{"text":" has their own","color":"white","bold":false,"italic":false},{"text":" mana cost","color":"dark_aqua","bold":false,"italic":false},{"text":" when casted.","color":"white","bold":false,"italic":false}]'}
execute if entity @a[scores={tutorial_room=2,timer4=67}] run execute at @e[tag=tut2,limit=1] run playsound minecraft:ui.button.click master @a ~ ~ ~ 1 1.5

execute if entity @a[scores={tutorial_room=2,timer4=134}] run data merge entity @e[tag=tut2,limit=1] {CustomNameVisible:1b,CustomName:'[{"text":"[3/3] ","color":"yellow","bold":true,"italic":false},{"text":"Different ","color":"white","bold":false,"italic":false},{"text":"spell-types","color":"blue","bold":false,"italic":false},{"text":" are indicated by their colored","color":"white","bold":false,"italic":false},{"text":" border","color":"blue","bold":false,"italic":false},{"text":".","color":"white","bold":false,"italic":false}]'}
execute if entity @a[scores={tutorial_room=2,timer4=134}] run execute at @e[tag=tut2,limit=1] run playsound minecraft:ui.button.click master @a ~ ~ ~ 1 1.5








execute if entity @a[scores={tutorial_room=2,timer5=1}] run summon minecraft:item 44 -10 -114 {Glowing:0b,CustomNameVisible:1b,Age:-32768,PickupDelay:32767,Tags:["tutitem1"],CustomName:'{"text":"Projectile Modifier","color":"#59A1FF","bold":true,"italic":false}',Item:{id:"minecraft:black_dye",Count:1b,tag:{CustomModelData:2}}}
execute if entity @a[scores={tutorial_room=2,timer5=80}] run summon minecraft:item 44 -10 -116 {Glowing:0b,CustomNameVisible:1b,Age:-32768,PickupDelay:32767,Tags:["tutitem2"],CustomName:'{"text":"Utility","color":"#3C733F","bold":true,"italic":false}',Item:{id:"minecraft:black_dye",Count:1b,tag:{CustomModelData:3}}}
execute if entity @a[scores={tutorial_room=2,timer5=160}] run summon minecraft:item 44 -10 -118 {Glowing:0b,CustomNameVisible:1b,Age:-32768,PickupDelay:32767,Tags:["tutitem3"],CustomName:'{"text":"Material","color":"#AB702E","bold":true,"italic":false}',Item:{id:"minecraft:black_dye",Count:1b,tag:{CustomModelData:4}}}
execute if entity @a[scores={tutorial_room=2,timer5=240}] run summon minecraft:item 44 -10 -120 {Glowing:0b,CustomNameVisible:1b,Age:-32768,PickupDelay:32767,Tags:["tutitem4"],CustomName:'{"text":"Wand Modifier","color":"#8263AB","bold":true,"italic":false}',Item:{id:"minecraft:black_dye",Count:1b,tag:{CustomModelData:5}}}
execute if entity @a[scores={tutorial_room=2,timer5=320}] run summon minecraft:item 44 -10 -122 {Glowing:0b,CustomNameVisible:1b,Age:-32768,PickupDelay:32767,Tags:["tutitem5"],CustomName:'{"text":"Greek Letter","color":"#E8BB27","bold":true,"italic":false}',Item:{id:"minecraft:black_dye",Count:1b,tag:{CustomModelData:6}}}

execute if entity @a[scores={tutorial_room=2,timer5=1}] run kill @e[tag=tutitem5]
execute if entity @a[scores={tutorial_room=2,timer5=80}] run kill @e[tag=tutitem1]
execute if entity @a[scores={tutorial_room=2,timer5=160}] run kill @e[tag=tutitem2]
execute if entity @a[scores={tutorial_room=2,timer5=240}] run kill @e[tag=tutitem3]
execute if entity @a[scores={tutorial_room=2,timer5=320}] run kill @e[tag=tutitem4]

execute if entity @a[scores={tutorial_room=2,timer5=1}] run data merge entity @e[tag=tut2a,limit=1] {CustomNameVisible:1b,CustomName:'{"text":"Modifies the player\'s magic bolts.","color":"gray","bold":false,"italic":false}'}
execute if entity @a[scores={tutorial_room=2,timer5=80}] run data merge entity @e[tag=tut2a,limit=1] {CustomNameVisible:1b,CustomName:'{"text":"Passive abilities that can effect the player.","color":"gray","bold":false,"italic":false}'}
execute if entity @a[scores={tutorial_room=2,timer5=160}] run data merge entity @e[tag=tut2a,limit=1] {CustomNameVisible:1b,CustomName:'{"text":"Conjures and creates alchemical curiosities.","color":"gray","bold":false,"italic":false}'}
execute if entity @a[scores={tutorial_room=2,timer5=240}] run data merge entity @e[tag=tut2a,limit=1] {CustomNameVisible:1b,CustomName:'{"text":"Modifies the player\'s wand.","color":"gray","bold":false,"italic":false}'}
execute if entity @a[scores={tutorial_room=2,timer5=320}] run data merge entity @e[tag=tut2a,limit=1] {CustomNameVisible:1b,CustomName:'{"text":"Rare spells that can manipulate mana points.","color":"gray","bold":false,"italic":false}'}











