scoreboard players set world MobAmount 6
execute store result score world TotalMobAmount run scoreboard players operation world MobAmount *= world MultiplayerScaling
title @a subtitle [{"color":"green","score":{"name":"world","objective":"MobAmount"}}," ",{"text":"Crystallized Corpses","color":"#c369c3","bold":true}]
execute as @a at @s run summon skeleton ~ ~50 ~ {Silent:1b,DeathLootTable:"kiwi2:entities/custom_mob_items/crystallized_corpses_loot",Health:50f,Tags:["wave_mob","crystallized"],HandItems:[{id:"minecraft:amethyst_block",count:1},{id:"minecraft:amethyst_block",count:1}],ArmorItems:[{id:"minecraft:leather_boots",count:1,components:{"minecraft:dyed_color":11763635}},{id:"minecraft:leather_leggings",count:1,components:{"minecraft:dyed_color":16083455}},{id:"minecraft:leather_chestplate",count:1,components:{"minecraft:dyed_color":12798151}},{id:"minecraft:amethyst_block",count:1}],active_effects:[{id:"minecraft:invisibility",amplifier:1,duration:399999600,show_particles:0b}],attributes:[{id:"minecraft:armor",base:20},{id:"minecraft:attack_damage",base:15},{id:"minecraft:follow_range",base:40},{id:"minecraft:knockback_resistance",base:1},{id:"minecraft:max_health",base:50},{id:"minecraft:movement_speed",base:0.1}]}
execute as @a at @s run summon skeleton ~ ~50 ~ {Silent:1b,DeathLootTable:"kiwi2:entities/custom_mob_items/crystallized_corpses_loot",Health:50f,Tags:["wave_mob","crystallized"],HandItems:[{id:"minecraft:amethyst_block",count:1},{id:"minecraft:amethyst_block",count:1}],ArmorItems:[{id:"minecraft:leather_boots",count:1,components:{"minecraft:dyed_color":11763635}},{id:"minecraft:leather_leggings",count:1,components:{"minecraft:dyed_color":16083455}},{id:"minecraft:leather_chestplate",count:1,components:{"minecraft:dyed_color":12798151}},{id:"minecraft:amethyst_block",count:1}],active_effects:[{id:"minecraft:invisibility",amplifier:1,duration:399999600,show_particles:0b}],attributes:[{id:"minecraft:armor",base:20},{id:"minecraft:attack_damage",base:15},{id:"minecraft:follow_range",base:40},{id:"minecraft:knockback_resistance",base:1},{id:"minecraft:max_health",base:50},{id:"minecraft:movement_speed",base:0.1}]}
execute as @a at @s run summon skeleton ~ ~50 ~ {Silent:1b,DeathLootTable:"kiwi2:entities/custom_mob_items/crystallized_corpses_loot",Health:50f,Tags:["wave_mob","crystallized"],HandItems:[{id:"minecraft:amethyst_block",count:1},{id:"minecraft:amethyst_block",count:1}],ArmorItems:[{id:"minecraft:leather_boots",count:1,components:{"minecraft:dyed_color":11763635}},{id:"minecraft:leather_leggings",count:1,components:{"minecraft:dyed_color":16083455}},{id:"minecraft:leather_chestplate",count:1,components:{"minecraft:dyed_color":12798151}},{id:"minecraft:amethyst_block",count:1}],active_effects:[{id:"minecraft:invisibility",amplifier:1,duration:399999600,show_particles:0b}],attributes:[{id:"minecraft:armor",base:20},{id:"minecraft:attack_damage",base:15},{id:"minecraft:follow_range",base:40},{id:"minecraft:knockback_resistance",base:1},{id:"minecraft:max_health",base:50},{id:"minecraft:movement_speed",base:0.1}]}
execute as @a at @s run summon skeleton ~ ~50 ~ {Silent:1b,DeathLootTable:"kiwi2:entities/custom_mob_items/crystallized_corpses_loot",Health:50f,Tags:["wave_mob","crystallized"],HandItems:[{id:"minecraft:amethyst_block",count:1},{id:"minecraft:amethyst_block",count:1}],ArmorItems:[{id:"minecraft:leather_boots",count:1,components:{"minecraft:dyed_color":11763635}},{id:"minecraft:leather_leggings",count:1,components:{"minecraft:dyed_color":16083455}},{id:"minecraft:leather_chestplate",count:1,components:{"minecraft:dyed_color":12798151}},{id:"minecraft:amethyst_block",count:1}],active_effects:[{id:"minecraft:invisibility",amplifier:1,duration:399999600,show_particles:0b}],attributes:[{id:"minecraft:armor",base:20},{id:"minecraft:attack_damage",base:15},{id:"minecraft:follow_range",base:40},{id:"minecraft:knockback_resistance",base:1},{id:"minecraft:max_health",base:50},{id:"minecraft:movement_speed",base:0.1}]}
execute as @a at @s run summon skeleton ~ ~50 ~ {Silent:1b,DeathLootTable:"kiwi2:entities/custom_mob_items/crystallized_corpses_loot",Health:50f,Tags:["wave_mob","crystallized"],HandItems:[{id:"minecraft:amethyst_block",count:1},{id:"minecraft:amethyst_block",count:1}],ArmorItems:[{id:"minecraft:leather_boots",count:1,components:{"minecraft:dyed_color":11763635}},{id:"minecraft:leather_leggings",count:1,components:{"minecraft:dyed_color":16083455}},{id:"minecraft:leather_chestplate",count:1,components:{"minecraft:dyed_color":12798151}},{id:"minecraft:amethyst_block",count:1}],active_effects:[{id:"minecraft:invisibility",amplifier:1,duration:399999600,show_particles:0b}],attributes:[{id:"minecraft:armor",base:20},{id:"minecraft:attack_damage",base:15},{id:"minecraft:follow_range",base:40},{id:"minecraft:knockback_resistance",base:1},{id:"minecraft:max_health",base:50},{id:"minecraft:movement_speed",base:0.1}]}
execute as @a at @s run summon skeleton ~ ~50 ~ {Silent:1b,DeathLootTable:"kiwi2:entities/custom_mob_items/crystallized_corpses_loot",Health:50f,Tags:["wave_mob","crystallized"],HandItems:[{id:"minecraft:amethyst_block",count:1},{id:"minecraft:amethyst_block",count:1}],ArmorItems:[{id:"minecraft:leather_boots",count:1,components:{"minecraft:dyed_color":11763635}},{id:"minecraft:leather_leggings",count:1,components:{"minecraft:dyed_color":16083455}},{id:"minecraft:leather_chestplate",count:1,components:{"minecraft:dyed_color":12798151}},{id:"minecraft:amethyst_block",count:1}],active_effects:[{id:"minecraft:invisibility",amplifier:1,duration:399999600,show_particles:0b}],attributes:[{id:"minecraft:armor",base:20},{id:"minecraft:attack_damage",base:15},{id:"minecraft:follow_range",base:40},{id:"minecraft:knockback_resistance",base:1},{id:"minecraft:max_health",base:50},{id:"minecraft:movement_speed",base:0.1}]}
spreadplayers 0 0 1 20 false @e[type=skeleton,tag=wave_mob,tag=crystallized]