scoreboard players add @s tutorialFight 1

execute if entity @s[scores={tutorialFight=1}] run tp @e[tag=NPC,name=Giant] -111 59 95 90 0
execute if entity @s[scores={tutorialFight=1}] run tp @e[tag=NPC,name=Giant2] -119 59 95 -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=NPC] at @s run tp @s ~ ~.6 ~
execute if entity @s[scores={tutorialFight=17}] as @e[tag=NPC] 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.8,0.7,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 tp @e[tag=NPC,name=Giant3] -111 59 95 90 0




















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