tag @s add KyuDoStripMine
tellraw @s ["",{"text":"You feel an evil presence near you - almost as if you're being watched.","color":"dark_gray","italic":true}]
execute at @s run playsound entity.zombie.ambient hostile @s ~ ~ ~ 1 0.9 1
scoreboard players set @s KyuStripMine 0
scoreboard players set @s KAIR 100
scoreboard players add @e[name=DayQ,type=armor_stand] KyuStripCheck 1
execute store result score @s KyuUUID run data get entity @s UUID[0] 1
execute store result score @s KyuUUID2 run data get entity @s UUID[0] 1
execute at @s run summon villager ~ ~-3 ~ {Tags:["KAIR2","KAIRUUID","SPECSPAWN"],NoGravity:1b,Profession:0,Age:-30000,Attributes:[{Name:generic.max_health,Base:1250}],Health:1250.0f,PersistenceRequired:1,Silent:1,ActiveEffects:[{Id:12,Amplifier:0,Duration:100000,ShowParticles:0b},{Id:14,Amplifier:0,Duration:80,ShowParticles:0b},{Id:20,Amplifier:3,Duration:100000,ShowParticles:0b}]}
execute at @s run summon zombie ~ ~-2 ~ {ActiveEffects:[{Id:12b,Amplifier:0b,Duration:6000}],PersistenceRequired:1,Tags:["KAIRUUID","SPECSPAWN","NOFOLLOW","DoubleMobMent"],Attributes:[{Name:generic.follow_range,Base:210}]}
execute at @s run summon zombie ~ ~-2 ~ {ActiveEffects:[{Id:12b,Amplifier:0b,Duration:6000}],PersistenceRequired:1,Tags:["KAIRUUID","SPECSPAWN","NOFOLLOW","DoubleMobMent"],Attributes:[{Name:generic.follow_range,Base:210}]}
execute at @s run summon zombie ~ ~-2 ~ {ActiveEffects:[{Id:12b,Amplifier:0b,Duration:6000}],PersistenceRequired:1,Tags:["KAIRUUID","SPECSPAWN","NOFOLLOW","DoubleMobMent"],Attributes:[{Name:generic.follow_range,Base:210}]}
execute at @s run summon zombie ~ ~-2 ~ {ActiveEffects:[{Id:12b,Amplifier:0b,Duration:6000}],PersistenceRequired:1,Tags:["KAIRUUID","SPECSPAWN","NOFOLLOW","DoubleMobMent"],Attributes:[{Name:generic.follow_range,Base:210}]}
execute at @s run summon zombie ~ ~-2 ~ {ActiveEffects:[{Id:12b,Amplifier:0b,Duration:6000}],PersistenceRequired:1,Tags:["KAIRUUID","SPECSPAWN","NOFOLLOW","DoubleMobMent"],Attributes:[{Name:generic.follow_range,Base:210}]}
execute as @e[type=#suhc:zombietype,tag=KAIRUUID,tag=!GotChamped] run function zzzzdonotuse:champions/zombietypes/choosezombietype
execute at @e[type=#suhc:zombietype,tag=KAIRUUID] run execute as @e[type=#suhc:zombietype,distance=..5] run data merge entity @s {ActiveEffects:[{Id:12b,Amplifier:0b,Duration:6000}],PersistenceRequired:1,Attributes:[{Name:generic.follow_range,Base:210}]}
execute at @e[type=#suhc:zombietype,tag=KAIRUUID] run execute as @e[type=#suhc:zombietype,distance=..5] run tag @s add KAIRUUID
execute at @e[type=#suhc:zombietype,tag=KAIRUUID] run execute as @e[type=#suhc:zombietype,distance=..5] run tag @s add SPECSPAWN
execute at @e[type=#suhc:zombietype,tag=KAIRUUID] run execute as @e[type=#suhc:zombietype,distance=..5] run tag @s add NOFOLLOW
execute at @e[type=#suhc:zombietype,tag=KAIRUUID] run execute as @e[type=#suhc:zombietype,distance=..5] run tag @s add DoubleMobMent
execute at @e[type=#suhc:zombietype,tag=KAIRUUID] run execute as @e[type=#suhc:zombietype,distance=..5] run tag @s add GotChamped
execute at @s run tp @e[type=#suhc:zombietype,distance=..5,tag=GotChamped] ~ ~-2 ~

execute as @s run execute at @s run execute store result score @e[tag=KAIRUUID,tag=!GOTUUID,distance=..8] KyuUUID run data get entity @s UUID[0] 1
execute as @s run execute at @s run execute store result score @e[tag=KAIRUUID,tag=!GOTUUID,distance=..8] KyuUUID2 run data get entity @s UUID[0] 1
execute as @s run execute at @s run tag @e[tag=!GOTUUID,distance=..8,tag=KAIRUUID] add GOTUUID
execute at @s run tag @e[distance=5..70,type=#suhc:hostiles,tag=!Gotspawned,sort=random,limit=1,tag=!SPECSPAWN] add PossibleSpawn
execute at @s run tp @e[tag=GOTUUID,distance=..8,tag=KAIRUUID,tag=!NOTPTAG] @e[tag=PossibleSpawn,tag=!Gotspawned,limit=1]
execute at @s run tp @e[tag=GOTUUID,distance=..8,tag=KAIRUUID,tag=!NOTPTAG] ~ ~-500 ~
tag @e[tag=GOTUUID,distance=..48,tag=KAIRUUID,tag=!NOTPTAG] add NOTPTAG
tag @e[tag=PossibleSpawn,tag=!Gotspawned] add Gotspawned
data merge block 999979 179 999975 {auto:1b}

