########### the one I replaced ###########    execute at @s[scores={DayQ=6..9}] run replaceitem entity @e[tag=GearKyu,tag=!GKNameTag] armor.feet minecraft:iron_boots{Damage:5000,Enchantments:[{id:"minecraft:projectile_protection",lvl:2}]}
execute as @e[tag=K,tag=!GearKyu,type=zombie] run tag @s add GearKyu
execute as @e[tag=K,tag=!GearKyu,type=husk] run tag @s add GearKyu
execute as @e[tag=K,tag=!GearKyu,type=stray] run tag @s add GearKyu
execute as @e[tag=K,tag=!GearKyu,type=skeleton] run tag @s add GearKyu
execute as @e[tag=K,tag=!GearKyu,type=wither_skeleton] run tag @s add GearKyu
#execute as @e[type=stray,tag=CadeyrnTP] run tag @s add GKNameTag
#contains certain zombie champion stuff
scoreboard players set @e[type=#suhc:zombietype] MobMent 0
execute as @e[type=#suhc:zombietype] run function zzzzdonotuse:7sec/zombiemobment
execute if entity @e[type=#suhc:zombietype,scores={MobMent=5..}] run execute at @e[sort=random,limit=2,type=#suhc:zombietype,scores={MobMent=5..}] run function zzzzdonotuse:7sec/zombiemobment2



#Day 1
execute at @s[scores={DayQ=1}] run item replace entity @e[type=zombie,tag=GearKyu,tag=!GKNameTag] weapon.mainhand with minecraft:stone_sword
execute at @s[scores={DayQ=1..4}] run item replace entity @e[tag=GearKyu,tag=!GKNameTag,tag=!SkeleChange] armor.feet with minecraft:leather_boots
execute at @s[scores={DayQ=1..4}] run item replace entity @e[tag=GearKyu,type=skeleton,tag=!GKNameTag] weapon.mainhand with minecraft:bow{Enchantments:[{id:"minecraft:punch",lvl:1}]}
execute at @s[scores={DayQ=1..4}] run item replace entity @e[tag=GearKyu,type=stray,tag=!GKNameTag] weapon.mainhand with minecraft:bow{Enchantments:[{id:"minecraft:punch",lvl:1}]}
execute at @s[scores={DayQ=1}] run item replace entity @e[type=husk,tag=GearKyu,tag=!GKNameTag] weapon.mainhand with minecraft:stone_sword


#Day 2
execute at @s[scores={DayQ=2..4}] run item replace entity @e[type=zombie,tag=GearKyu,tag=!GKNameTag] weapon.mainhand with minecraft:stone_axe
execute at @s[scores={DayQ=2..4}] run item replace entity @e[type=husk,tag=GearKyu,tag=!GKNameTag] weapon.mainhand with minecraft:stone_axe
execute at @s[scores={DayQ=2..4}] run item replace entity @e[tag=GearKyu,tag=!GKNameTag] armor.legs with minecraft:leather_leggings


#Day 3
execute at @s[scores={DayQ=3..4}] run item replace entity @e[tag=GearKyu,tag=!GKNameTag] armor.chest with minecraft:leather_chestplate


#Day 4
execute at @s[scores={DayQ=4}] run item replace entity @e[tag=GearKyu,tag=!GKNameTag,tag=!SkeleChange] armor.head with minecraft:leather_helmet
#execute at @s[scores={DayQ=4}] run item replace entity @e[tag=GearKyu,tag=!GKNameTag,tag=!SkeleChange] armor.head with minecraft:pumpkin{AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:1,Operation:0,UUID:[I;5241,2761,2341,6661],Slot:"head"}]}


#Day 5
execute at @s[scores={DayQ=5}] run item replace entity @e[tag=GearKyu,type=husk,tag=!GKNameTag] weapon.mainhand with minecraft:stone_axe{Enchantments:[{id:"minecraft:sharpness",lvl:2}]}
execute at @s[scores={DayQ=5}] run item replace entity @e[tag=GearKyu,tag=!GKNameTag,tag=!SkeleChange] armor.feet with minecraft:leather_boots{Damage:5000,Enchantments:[{id:"minecraft:projectile_protection",lvl:2}]}
execute at @s[scores={DayQ=5}] run item replace entity @e[tag=GearKyu,type=zombie,tag=!GKNameTag] weapon.mainhand with minecraft:stone_axe{Enchantments:[{id:"minecraft:sharpness",lvl:2}]}
execute at @s[scores={DayQ=5}] run item replace entity @e[type=skeleton,tag=GearKyu,tag=!GKNameTag] weapon.mainhand with minecraft:bow{Enchantments:[{id:"minecraft:power",lvl:1},{id:"minecraft:punch",lvl:1}]}
execute at @s[scores={DayQ=5}] run item replace entity @e[type=stray,tag=GearKyu,tag=!GKNameTag] weapon.mainhand with minecraft:bow{Enchantments:[{id:"minecraft:power",lvl:1},{id:"minecraft:punch",lvl:1}]}
execute at @s[scores={DayQ=5..8}] run item replace entity @e[tag=GearKyu,tag=!GKNameTag,tag=!SkeleChange] armor.head with minecraft:leather_helmet{Enchantments:[{id:"minecraft:protection",lvl:1}]}
#execute at @s[scores={DayQ=5..8}] run item replace entity @e[tag=GearKyu,tag=!GKNameTag,tag=!SkeleChange] armor.head with minecraft:pumpkin{AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:1,Operation:0,UUID:[I;5241,2761,2341,6661],Slot:"head"}],Enchantments:[{id:"minecraft:protection",lvl:1}]}
execute at @s[scores={DayQ=5..7}] run item replace entity @e[tag=GearKyu,tag=!GKNameTag] armor.chest with minecraft:leather_chestplate{Enchantments:[{id:"minecraft:protection",lvl:1}]}
execute at @s[scores={DayQ=5..6}] run item replace entity @e[tag=GearKyu,tag=!GKNameTag] armor.legs with minecraft:leather_leggings{Enchantments:[{id:"minecraft:protection",lvl:2}]}


#Day 6
execute at @s[scores={DayQ=6..9}] run item replace entity @e[tag=GearKyu,tag=!GKNameTag,tag=!SkeleChange] armor.feet with minecraft:iron_boots{Damage:5000,Enchantments:[{id:"minecraft:projectile_protection",lvl:2}]}
execute at @s[scores={DayQ=6..9}] run item replace entity @e[tag=GearKyu,type=husk,tag=!GKNameTag] weapon.mainhand with minecraft:iron_axe{Enchantments:[{id:"minecraft:sharpness",lvl:3}]}
execute at @s[scores={DayQ=6..9}] run item replace entity @e[type=skeleton,tag=GearKyu,tag=!GKNameTag] weapon.mainhand with minecraft:bow{Enchantments:[{id:"minecraft:power",lvl:2},{id:"minecraft:punch",lvl:1}]}
execute at @s[scores={DayQ=6..9}] run item replace entity @e[type=stray,tag=GearKyu,tag=!GKNameTag] weapon.mainhand with minecraft:bow{Enchantments:[{id:"minecraft:power",lvl:2},{id:"minecraft:punch",lvl:1}]}
execute at @s[scores={DayQ=6..9}] run item replace entity @e[type=zombie,tag=!GKNameTag] weapon.mainhand with minecraft:iron_axe{Enchantments:[{id:"minecraft:sharpness",lvl:3}]}


#Day 7
execute at @s[scores={DayQ=7..9}] run item replace entity @e[tag=GearKyu,tag=!GKNameTag] armor.legs with minecraft:iron_leggings


#Day 8
execute at @s[scores={DayQ=8..9}] run item replace entity @e[tag=GearKyu,tag=!GKNameTag] armor.chest with minecraft:iron_chestplate


#Day 9
execute at @s[scores={DayQ=9}] run item replace entity @e[tag=GearKyu,tag=!GKNameTag,tag=!SkeleChange] armor.head with minecraft:iron_helmet
execute at @s[scores={DayQ=9..},tag=HardMode] run execute as @e[type=wither_skeleton,tag=!GKNameTag] run attribute @s minecraft:generic.movement_speed modifier add 1611-8043-1223111-5-1164 Speed10 .10 multiply
#execute at @s[scores={DayQ=9}] run item replace entity @e[tag=GearKyu,tag=!GKNameTag,tag=!SkeleChange] armor.head with minecraft:carved_pumpkin{AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:2,Operation:0,UUID:[I;5241,2761,2341,6661],Slot:"head"}]}


#Day 10
execute at @s[scores={DayQ=10..13}] run item replace entity @e[tag=GearKyu,tag=!GKNameTag,tag=!SkeleChange] armor.feet with minecraft:iron_boots{Damage:5000,Enchantments:[{id:"minecraft:projectile_protection",lvl:3}]}
execute at @s[scores={DayQ=10..13}] run item replace entity @e[tag=GearKyu,tag=!GKNameTag,tag=!SkeleChange] armor.head with minecraft:iron_helmet{Enchantments:[{id:"minecraft:protection",lvl:1}]}
#execute at @s[scores={DayQ=10..13}] run item replace entity @e[tag=GearKyu,tag=!GKNameTag,tag=!SkeleChange] armor.head with minecraft:carved_pumpkin{AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:2,Operation:0,UUID:[I;5241,2761,2341,6661],Slot:"head"}],Enchantments:[{id:"minecraft:protection",lvl:1}]}
execute at @s[scores={DayQ=10..13}] run item replace entity @e[tag=GearKyu,tag=!GKNameTag] armor.chest with minecraft:iron_chestplate{Enchantments:[{id:"minecraft:protection",lvl:1}]}
execute at @s[scores={DayQ=10..13}] run item replace entity @e[tag=GearKyu,type=zombie,tag=!GKNameTag] weapon.mainhand with minecraft:iron_axe{Enchantments:[{id:"minecraft:sharpness",lvl:5}]}
execute at @s[scores={DayQ=10..13}] run item replace entity @e[type=skeleton,tag=GearKyu,tag=!GKNameTag] weapon.mainhand with minecraft:bow{Enchantments:[{id:"minecraft:power",lvl:3},{id:"minecraft:punch",lvl:1},{id:"minecraft:flame",lvl:0}]}
execute at @s[scores={DayQ=10..13}] run item replace entity @e[type=stray,tag=GearKyu,tag=!GKNameTag] weapon.mainhand with minecraft:bow{Enchantments:[{id:"minecraft:power",lvl:3},{id:"minecraft:punch",lvl:1},{id:"minecraft:flame",lvl:0}]}
execute at @s[scores={DayQ=10..14}] run item replace entity @e[tag=GearKyu,tag=!GKNameTag] armor.legs with minecraft:iron_leggings{Enchantments:[{id:"minecraft:protection",lvl:2}]}

#Day 11


#Day 12


#Day 13


#Day 14
execute at @s[scores={DayQ=14..}] run item replace entity @e[tag=GearKyu,type=husk,tag=!GKNameTag] weapon.mainhand with minecraft:iron_axe{Enchantments:[{id:"minecraft:sharpness",lvl:7}]}
execute at @s[scores={DayQ=14..}] run item replace entity @e[tag=GearKyu,tag=!GKNameTag,tag=!SkeleChange] armor.head with minecraft:iron_helmet{Enchantments:[{id:"minecraft:protection",lvl:2}]}
#execute at @s[scores={DayQ=14..}] run item replace entity @e[tag=GearKyu,tag=!GKNameTag,tag=!SkeleChange] armor.head with minecraft:carved_pumpkin{AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:2,Operation:0,UUID:[I;5241,2761,2341,6661],Slot:"head"}],Enchantments:[{id:"minecraft:protection",lvl:2}]}
execute at @s[scores={DayQ=14..}] run item replace entity @e[tag=GearKyu,tag=!GKNameTag] armor.chest with minecraft:iron_chestplate{Enchantments:[{id:"minecraft:protection",lvl:2}]}
execute at @s[scores={DayQ=14..}] run item replace entity @e[tag=GearKyu,tag=!GKNameTag] armor.legs with minecraft:iron_leggings{Enchantments:[{id:"minecraft:protection",lvl:2}]}
execute at @s[scores={DayQ=14..}] run item replace entity @e[tag=GearKyu,tag=!GKNameTag,tag=!SkeleChange] armor.feet with minecraft:iron_boots{Damage:5000,Enchantments:[{id:"minecraft:projectile_protection",lvl:3}]}
execute at @s[scores={DayQ=14..}] run item replace entity @e[tag=GearKyu,type=zombie,tag=!GKNameTag] weapon.mainhand with minecraft:iron_axe{Enchantments:[{id:"minecraft:sharpness",lvl:7}]}
execute at @s[scores={DayQ=14..}] run item replace entity @e[type=skeleton,tag=GearKyu,tag=!GKNameTag] weapon.mainhand with minecraft:bow{Enchantments:[{id:"minecraft:power",lvl:5},{id:"minecraft:punch",lvl:1},{id:"minecraft:flame",lvl:1}]}
execute at @s[scores={DayQ=14..}] run item replace entity @e[type=stray,tag=GearKyu,tag=!GKNameTag] weapon.mainhand with minecraft:bow{Enchantments:[{id:"minecraft:power",lvl:5},{id:"minecraft:punch",lvl:1},{id:"minecraft:flame",lvl:1}]}

#Day 15


#Day 16
execute at @s[scores={DayQ=16..}] run execute as @e[tag=K,tag=!GKNameTag,type=zombie] run data merge entity @s {Attributes:[{Name:zombie.spawn_reinforcements,Base:0.125F}]}
execute at @s[scores={DayQ=16..},tag=HardMode] run execute as @e[type=wither_skeleton,tag=!GKNameTag] run attribute @s minecraft:generic.movement_speed modifier add 1611-8043-1223111-5-1165 Speed10v2 .10 multiply


#Day 17


#Day 18


#Day 19
execute at @s[scores={DayQ=19..}] run execute as @e[tag=!GKNameTag,type=zombie] run data merge entity @s {Attributes:[{Name:generic.movement_speed,Base:0.253}]}


execute as @e[tag=K,tag=!GKNameTag,type=wither_skeleton] run tag @s add GKNameTag
#execute as @e[tag=K,tag=!GKNameTag,type=skeleton] run tag @s add GKNameTag
#execute as @e[tag=K,tag=!GKNameTag,type=zombie] run tag @s add GKNameTag
#execute as @e[tag=K,tag=!GKNameTag,type=husk] run tag @s add GKNameTag
execute as @e[tag=K,tag=!GKNameTag,type=stray] run tag @s add GKNameTag




execute at @s[tag=HardMode] run scoreboard players add @e[type=#suhc:zombietype,tag=KAIRUUID,tag=SPECSPAWN] StripMineDieTimer 1
execute at @s[tag=HardMode] run execute as @e[type=#suhc:zombietype,tag=KAIRUUID,tag=SPECSPAWN,scores={StripMineDieTimer=64..}] run execute at @s run tp @s ~ ~-500 ~
