execute as @s at @e[c=1,family=super_kick,type=wesl3y:gojo_damage] run function jujutsu_kaisen/gojo/super_kick
execute as @s at @e[c=1,family=blue4,type=wesl3y:gojo_damage] run function jujutsu_kaisen/gojo/blue
execute as @s at @e[c=1,family=red,type=wesl3y:gojo_damage] run function jujutsu_kaisen/gojo/red

scoreboard players set @s[tag=gojo_black_flash,scores={wg:skill_loop=..1}] wg:cooldown 50
playanimation @s[tag=gojo_black_flash] animation.gojo.attack4 wesl3y
tag @s[tag=gojo_black_flash,scores={wg:skill_loop=..1}] remove gojo_black_flash

execute at @s[tag=gojo_mugen] at @e[type=minecraft:arrow,r=2] run tp @s ~~~
execute at @s[tag=gojo_mugen] run fill ~-1~-1~-1 ~1~2~1 air replace lava
execute at @s[tag=gojo_mugen] run fill ~-1~-1~-1 ~1~2~1 air replace flowing_lava
execute at @s[tag=gojo_mugen] run fill ~-1~-1~-1 ~1~2~1 air replace lava
execute at @s[tag=gojo_mugen] run fill ~-1~-1~-1 ~1~2~1 air replace flowing_water
execute if entity @e[c=1,r=2,family=!attack,family=!inanimate,tag=!gojo,type=!item,type=!xp_orb] at @s run summon wesl3y:gojo_damage ~~~ ~~ wesl3y:mugen
scoreboard players set @s[tag=gojo_mugen,scores={wg:skill_loop2=..1}] wg:cooldown2 50
tag @s[tag=gojo_mugen,scores={wg:skill_loop2=..1}] remove gojo_mugen

execute anchored eyes run tp @e[c=1,family=blue1,type=wesl3y:gojo_damage] ^^-0.5^1
execute anchored eyes run tp @e[c=1,family=blue2,type=wesl3y:gojo_damage] ^^-0.5^3
execute anchored eyes run tp @e[c=1,family=blue3,type=wesl3y:gojo_damage] ^^-0.5^5
execute anchored eyes run tp @e[c=1,family=blue4,type=wesl3y:gojo_damage] ^^-0.5^7