#summon a marker, and generate a number between 0-349 to determine which mob will be buffed
summon marker ~ ~ ~ {Tags:["HMRandomMobBuff"]}
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute store result score @s KyuDummy run data get entity @s UUID[0] .1
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run scoreboard players set @s KyuDummy2 350
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run scoreboard players operation @s KyuDummy %= @s KyuDummy2
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run scoreboard players operation @e[name=DayQ,type=armor_stand,distance=..5] HardModeRandom %= @s KyuDummy2
#60% chance to spawn 1 mob, 30% chance to spawn 2 mobs, 10% chance to spawn 3 mobs


tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffZombie
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffZombieHealth
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffZombieDamage
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffZombieSpeed
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffZombieBaby
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffSkeleton
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffSkeletonHealth
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffSkeletonSpeed
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffSkeletonWither
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffSkeletonBlindness
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffSkeletonFireball
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffCreeper
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffCreeperHealth
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffCreeperSpeed
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffCreeperExplosionRadius
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffCreeperFuse
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffSpider
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffSpiderHealth
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffSpiderSpeed
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffSpiderDamage
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffSpiderCaveSpider
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffPiglin
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffPiglinHealth
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffPiglinSpeed
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffPiglinDamage
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffPiglinInvis
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffPigman
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffPigmanHealth
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffPigmanSpeed
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffPigmanDamage
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffPigmanFire
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffWitch
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffWitchHealth
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffWitchSpeed
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffWitchMobs
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffEnderman
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffEndermanHealth
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffEndermanSpeed
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffEndermanDamage
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffEndermanBlockDestroy
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffAll
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffAllHealth
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffAllSpeed
tag @e[name=DayQ,type=armor_stand,distance=..5] remove BuffAllDamage







execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=0..39}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffZombie
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=0..9}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffZombieHealth
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=10..19}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffZombieDamage
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=20..29}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffZombieSpeed
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=30..39}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffZombieBaby
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=40..89}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffSkeleton
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=40..49}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffSkeletonHealth
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=50..59}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffSkeletonSpeed
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=60..69}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffSkeletonWither
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=70..79}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffSkeletonBlindness
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=80..89}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffSkeletonFireball
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=90..129}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffCreeper
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=90..99}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffCreeperHealth
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=100..109}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffCreeperSpeed
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=110..119}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffCreeperExplosionRadius
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=120..129}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffCreeperFuse
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=130..169}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffSpider
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=130..139}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffSpiderHealth
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=140..149}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffSpiderSpeed
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=150..159}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffSpiderDamage
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=160..169}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffSpiderCaveSpider
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=170..209}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffPiglin
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=170..179}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffPiglinHealth
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=180..189}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffPiglinSpeed
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=190..199}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffPiglinDamage
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=200..209}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffPiglinInvis
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=210..249}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffPigman
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=210..219}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffPigmanHealth
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=220..229}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffPigmanSpeed
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=230..239}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffPigmanDamage
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=240..249}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffPigmanFire
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=250..279}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffWitch
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=250..259}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffWitchHealth
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=260..269}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffWitchSpeed
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=270..279}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffWitchMobs
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=280..319}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffEnderman
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=280..289}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffEndermanHealth
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=290..299}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffEndermanSpeed
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=300..309}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffEndermanDamage
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=310..319}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffEndermanBlockDestroy
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=320..349}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffAll
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=320..329}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffAllHealth
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=330..339}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffAllSpeed
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=340..349}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffAllDamage












execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=0..39}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffZombie
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=0..9}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffZombieHealth
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=10..19}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffZombieDamage
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=20..29}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffZombieSpeed
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=30..39}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffZombieBaby




execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=40..89}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffSkeleton
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=40..49}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffSkeletonHealth
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=50..59}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffSkeletonSpeed
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=60..69}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffSkeletonWither
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=70..79}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffSkeletonBlindness
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=80..89}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffSkeletonFireball


execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=90..129}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffCreeper
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=90..99}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffCreeperHealth
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=100..109}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffCreeperSpeed
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=110..119}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffCreeperExplosionRadius
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=120..129}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffCreeperFuse

execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=130..169}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffSpider
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=130..139}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffSpiderHealth
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=140..149}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffSpiderSpeed
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=150..159}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffSpiderDamage
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=160..169}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffSpiderCaveSpider

execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=170..209}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffPiglin
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=170..179}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffPiglinHealth
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=180..189}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffPiglinSpeed
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=190..199}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffPiglinDamage
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=200..209}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffPiglinInvis

execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=210..249}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffPigman
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=210..219}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffPigmanHealth
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=220..229}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffPigmanSpeed
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=230..239}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffPigmanDamage
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=240..249}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffPigmanFire

execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=250..279}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffWitch
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=250..259}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffWitchHealth
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=260..269}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffWitchSpeed
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=270..279}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffWitchMobs


execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=280..319}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffEnderman
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=280..289}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffEndermanHealth
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=290..299}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffEndermanSpeed
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=300..309}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffEndermanDamage
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=310..319}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffEndermanBlockDestroy


execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=320..329}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffAll
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=320..329}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffAllHealth
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=330..339}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffAllSpeed
execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=340..349}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffAllDamage





kill @e[type=marker,tag=HMRandomMobBuff]







#execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=8}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffZombie
#execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=9}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffZombie
#execute as @e[type=marker,distance=..1,tag=HMRandomMobBuff,limit=1,sort=nearest] run execute at @s[scores={KyuDummy=10}] run tag @e[name=DayQ,type=armor_stand,distance=..5] add BuffZombie
#
#
#execute at @s run kill @e[type=marker,distance=..1,sort=nearest,tag=BlackCorrSpawnNum]