scoreboard players add @s tutorialFight 1

execute if entity @s[scores={tutorialFight=1}] run tp @e[tag=NPC,name=Giant] -47 14 -1 90 0
execute if entity @s[scores={tutorialFight=1}] run tp @e[tag=NPC,name=Giant2] -55 14 -1 -90 0
execute if entity @s[scores={tutorialFight=5}] run tag @e[tag=NPC,sort=nearest,limit=2] add walking
execute if entity @s[scores={tutorialFight=5}] as @e[tag=NPC] run data merge entity @s {NoAI:0b}
execute if entity @s[scores={tutorialFight=5..29}] as @e[tag=NPC,name=Giant] run data merge entity @s {Motion:[-0.15,0.0,0.0]}
execute if entity @s[scores={tutorialFight=5..29}] as @e[tag=NPC,name=Giant2] run data merge entity @s {Motion:[0.15,0.0,0.0]}
execute if entity @s[scores={tutorialFight=12}] as @e[tag=fight] at @s run tp @s ~ ~.6 ~
execute if entity @s[scores={tutorialFight=17}] as @e[tag=fight] at @s run tp @s ~ ~.4 ~
execute if entity @s[scores={tutorialFight=38}] as @e[tag=NPC] run data merge entity @s {NoAI:1b}
execute if entity @s[scores={tutorialFight=38}] as @e[tag=NPC] run tag @s remove walking
execute if entity @s[scores={tutorialFight=40}] run tag @e[name=Giant,tag=NPC] add swing
execute if entity @s[scores={tutorialFight=41}] run data merge entity @e[name=Giant2,tag=NPC,limit=1] {NoAI:0b}
execute if entity @s[scores={tutorialFight=41}] run data merge entity @e[name=Giant2,tag=NPC,limit=1] {Motion:[-0.9,0.3,0.0]}
execute if entity @s[scores={tutorialFight=41}] run tag @e[name=Giant2,tag=NPC,limit=1] add walking
execute if entity @s[scores={tutorialFight=62}] run data merge entity @e[name=Giant2,tag=NPC,limit=1] {NoAI:1b}
execute if entity @s[scores={tutorialFight=62}] run tag @e[name=Giant2,tag=NPC,limit=1] remove walking

execute if entity @s[scores={tutorialFight=1}] run clone -49 12 1 -53 12 -3 -53 14 -3
execute if entity @s[scores={tutorialFight=20}] as @e[tag=NPC] at @s run clone -49 11 1 -53 11 -3 -53 14 -3
execute if entity @s[scores={tutorialFight=25}] as @e[tag=NPC] at @s run clone -49 10 1 -53 10 -3 -53 14 -3
execute if entity @s[scores={tutorialFight=30}] as @e[tag=NPC] at @s run clone -49 9 1 -53 9 -3 -53 14 -3
execute if entity @s[scores={tutorialFight=35}] as @e[tag=NPC] at @s run clone -49 8 1 -53 8 -3 -53 14 -3
execute if entity @s[scores={tutorialFight=40}] as @e[tag=NPC] at @s run clone -49 7 1 -53 7 -3 -53 14 -3
execute if entity @s[scores={tutorialFight=45}] as @e[tag=NPC] at @s run clone -49 6 1 -53 6 -3 -53 14 -3

execute if entity @s[scores={tutorialFight=100..}] run scoreboard players set @s tutorialFight 0 

scoreboard players add @s tutorialSkill 1
execute if entity @s[scores={tutorialSkill=1}] run tp @e[name=Giant3] -76 14.0 -4 -25 0
execute if entity @s[scores={tutorialSkill=1}] run tp @e[name=Giant4] -74 15.0 0 155 0

execute if entity @s[scores={tutorialSkill=40}] run particle minecraft:flame -75.5 15.5 -3.5 0.21 0.1 0.4 1 0 force @a
execute if entity @s[scores={tutorialSkill=40}] run particle minecraft:flame -75.5 15.5 -3.5 0.2 0.11 0.4 1 0 force @a
execute if entity @s[scores={tutorialSkill=40}] run particle minecraft:flame -75.5 15.5 -3.5 0.2 0.1 0.41 1 0 force @a
execute if entity @s[scores={tutorialSkill=40}] run particle minecraft:flame -75.5 15.5 -3.5 0.2 0.1 0.39 1 0 force @a
execute if entity @s[scores={tutorialSkill=40}] run particle minecraft:flame -75.5 15.5 -3.5 0.2 0.09 0.4 1 0 force @a
execute if entity @s[scores={tutorialSkill=40}] run particle minecraft:flame -75.5 15.5 -3.5 0.19 0.1 0.4 1 0 force @a
execute if entity @s[scores={tutorialSkill=40}] run particle minecraft:flame -75.5 15.5 -3.5 0.21 0.11 0.4 1 0 force @a
execute if entity @s[scores={tutorialSkill=40}] run particle minecraft:flame -75.5 15.5 -3.5 0.2 0.1 0.4 1 0 force @a
execute if entity @s[scores={tutorialSkill=40}] run tag @e[name=Giant3] add swing
execute if entity @s[scores={tutorialSkill=40}] run summon minecraft:armor_stand -74.1 15 -4 {Team:"gold",CustomName:"\"PYROTECHNICS\"",CustomNameVisible:1,Tags:["tutSkill1"],NoGravity:1,Invisible:1,Marker:1}
execute if entity @s[scores={tutorialSkill=40}] run playsound minecraft:entity.blaze.death master @a -75 15 -8 0.3 1.5
execute if entity @s[scores={tutorialSkill=60}] run summon minecraft:tropical_fish -74 15.5 0 {Silent:1b,Tags:["tutVex"]}
execute if entity @s[scores={tutorialSkill=60}] run summon minecraft:tropical_fish -74 15.5 0 {Silent:1b,Tags:["tutVex"]}
execute if entity @s[scores={tutorialSkill=60}] run summon minecraft:tropical_fish -74 15.5 0 {Silent:1b,Tags:["tutVex"]}
execute if entity @s[scores={tutorialSkill=60}] run summon minecraft:tropical_fish -74 15.5 0 {Silent:1b,Tags:["tutVex"]}
execute if entity @s[scores={tutorialSkill=60}] run summon minecraft:armor_stand -72.25 16 0 {Team:"gold",CustomName:"\"FISHERMAN\"",CustomNameVisible:1,Tags:["tutSkill2"],NoGravity:1,Invisible:1,Marker:1}
execute if entity @s[scores={tutorialSkill=80}] run kill @e[tag=tutSkill1] 
execute if entity @s[scores={tutorialSkill=100}] run kill @e[tag=tutSkill2] 
execute if entity @s[scores={tutorialSkill=120}] run execute as @e[tag=tutVex] run data merge entity @s {Health:0.0f,DeathTime:19s}

execute if entity @s[scores={tutorialSkill=171}] run summon minecraft:evoker_fangs -74.58 15.00 0.59
execute if entity @s[scores={tutorialSkill=172}] run summon minecraft:evoker_fangs -72.55 15.00 -0.99
execute if entity @s[scores={tutorialSkill=173}] run summon minecraft:evoker_fangs -74.42 14.00 -2.33
execute if entity @s[scores={tutorialSkill=174}] run summon minecraft:evoker_fangs -75.14 14.00 -3.01
execute if entity @s[scores={tutorialSkill=175}] run summon minecraft:evoker_fangs -76.31 14.00 -1.58
execute if entity @s[scores={tutorialSkill=175}] run summon minecraft:armor_stand -72.1 16 0 {Team:"gold",CustomName:"\"VOID FANGS\"",CustomNameVisible:1,Tags:["tutSkill2"],NoGravity:1,Invisible:1,Marker:1}
execute if entity @s[scores={tutorialSkill=200}] run kill @e[tag=tutSkill2] 

execute if entity @s[scores={tutorialSkill=230}] run summon minecraft:armor_stand -74.5 15 -4 {Team:"gold",CustomName:"\"MEDIC\"",CustomNameVisible:1,Tags:["tutSkill1"],NoGravity:1,Invisible:1,Marker:1}
execute if entity @s[scores={tutorialSkill=230}] run particle minecraft:heart -76 15 -4 0.5 0.7 0.5 1 10
execute if entity @s[scores={tutorialSkill=260}] run kill @e[tag=tutSkill1] 
execute if entity @s[scores={tutorialSkill=260}] run playsound minecraft:entity.witch.drink master @a -75 15 -8 0.8 1

execute if entity @s[scores={tutorialSkill=290}] if entity @a[x=-75,y=15,z=-10,distance=..10] run summon minecraft:lightning_bolt -74 14 -2
execute if entity @s[scores={tutorialSkill=290}] run summon minecraft:armor_stand -72.1 16 0 {Team:"gold",CustomName:"\"VENGEANCE\"",CustomNameVisible:1,Tags:["tutSkill2"],NoGravity:1,Invisible:1,Marker:1}
execute if entity @s[scores={tutorialSkill=320}] run kill @e[tag=tutSkill2] 

execute if entity @s[scores={tutorialSkill=360}] run summon minecraft:arrow -75.28 15.8 -3.04 {Motion:[0.5,0.2,1.0],Tags:["tutArrow"]}
execute if entity @s[scores={tutorialSkill=360}] run summon minecraft:armor_stand -74 15 -4 {Team:"gold",CustomName:"\"EXPLOSIVE ARROWS\"",CustomNameVisible:1,Tags:["tutSkill1"],NoGravity:1,Invisible:1,Marker:1}
execute if entity @s[scores={tutorialSkill=364}] run particle minecraft:explosion -73.96 16.50 0.05 1 1 1 0 5
execute if entity @s[scores={tutorialSkill=364}] run playsound minecraft:entity.generic.explode master @a -75 15 -8 0.4 1
execute if entity @s[scores={tutorialSkill=364}] run kill @e[tag=tutArrow]
execute if entity @s[scores={tutorialSkill=390..}] run kill @e[tag=tutSkill1] 

execute if entity @s[scores={tutorialSkill=400..}] run scoreboard players set @s tutorialSkill 0 














 
 
