execute if score world MultiplayerScaling matches ..4 run scoreboard players set world MobAmount 1
execute if score world MultiplayerScaling matches 5.. run scoreboard players set world MobAmount 2

execute if score world MultiplayerScaling matches ..4 run title @a subtitle [{"text":"[MINIBOSS] ","color":"red","bold":true},{"text":"Crypt Giant","color":"#898a8a","bold":true}]
execute if score world MultiplayerScaling matches 5.. run title @a subtitle [{"text":"[MINIBOSS] ","color":"red","bold":true},{"text":"Crypt Giants","color":"#898a8a","bold":true}]

execute if score world MultiplayerScaling matches ..4 run summon husk ~ ~ ~ {Health:75f,ArmorItems:[{id:"minecraft:leather_boots",count:1,components:{"minecraft:dyed_color":6513507}},{id:"minecraft:leather_leggings",count:1,components:{"minecraft:dyed_color":7892590}},{id:"minecraft:leather_chestplate",count:1,components:{"minecraft:dyed_color":9079434}},{id:"minecraft:gravel",count:1}],attributes:[{id:"minecraft:armor",base:20},{id:"minecraft:attack_damage",base:6},{id:"minecraft:attack_knockback",base:3},{id:"minecraft:knockback_resistance",base:1},{id:"minecraft:max_health",base:75},{id:"minecraft:movement_speed",base:0.2},{id:"minecraft:scale",base:2}],Tags:["wave_mob","crypt_giant"],DeathLootTable:"kiwi2:entities/mob_loot_drops/crypt_giant"}

execute if score world MultiplayerScaling matches 5.. run summon husk ~ ~ ~ {Health:75f,ArmorItems:[{id:"minecraft:leather_boots",count:1,components:{"minecraft:dyed_color":6513507}},{id:"minecraft:leather_leggings",count:1,components:{"minecraft:dyed_color":7892590}},{id:"minecraft:leather_chestplate",count:1,components:{"minecraft:dyed_color":9079434}},{id:"minecraft:gravel",count:1}],attributes:[{id:"minecraft:armor",base:20},{id:"minecraft:attack_damage",base:6},{id:"minecraft:attack_knockback",base:3},{id:"minecraft:knockback_resistance",base:1},{id:"minecraft:max_health",base:75},{id:"minecraft:movement_speed",base:0.2},{id:"minecraft:scale",base:2}],Tags:["wave_mob","crypt_giant"],DeathLootTable:"kiwi2:entities/mob_loot_drops/crypt_giant"}
execute if score world MultiplayerScaling matches 5.. run summon husk ~ ~ ~ {Health:75f,ArmorItems:[{id:"minecraft:leather_boots",count:1,components:{"minecraft:dyed_color":6513507}},{id:"minecraft:leather_leggings",count:1,components:{"minecraft:dyed_color":7892590}},{id:"minecraft:leather_chestplate",count:1,components:{"minecraft:dyed_color":9079434}},{id:"minecraft:gravel",count:1}],attributes:[{id:"minecraft:armor",base:20},{id:"minecraft:attack_damage",base:6},{id:"minecraft:attack_knockback",base:3},{id:"minecraft:knockback_resistance",base:1},{id:"minecraft:max_health",base:75},{id:"minecraft:movement_speed",base:0.2},{id:"minecraft:scale",base:2}],Tags:["wave_mob","crypt_giant"],DeathLootTable:"kiwi2:entities/mob_loot_drops/crypt_giant"}

spreadplayers 0 0 1 20 false @e[type=husk,tag=wave_mob,tag=crypt_giant]