scoreboard players set world MobAmount 1
execute store result score world TotalMobAmount run scoreboard players operation world MobAmount *= world MultiplayerScaling
title @a subtitle [{"color":"green","score":{"name":"world","objective":"TotalMobAmount"}}," ",{"text":"Revenants","color":"#00bc71","bold":true}]
execute as @a at @s run summon zombie ~ ~50 ~ {DeathLootTable:"kiwi2:entities/mob_loot_drops/revenant",Health:150f,Tags:["wave_mob","revenant"],ArmorItems:[{id:"minecraft:leather_boots",count:1,components:{"minecraft:dyed_color":2772265}},{id:"minecraft:leather_leggings",count:1,components:{"minecraft:dyed_color":4218423}},{id:"minecraft:leather_chestplate",count:1,components:{"minecraft:dyed_color":4095305}},{id:"minecraft:player_head",count:1,components:{"minecraft:profile":{id:[I;-544240374,1913603054,-1441701437,637128988],properties:[{name:"textures",value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGJhZDk5ZWQzYzgyMGI3OTc4MTkwYWQwOGE5MzRhNjhkZmE5MGQ5OTg2ODI1ZGExYzk3ZjZmMjFmNDlhZDYyNiJ9fX0="}]}}}],attributes:[{id:"minecraft:armor",base:5},{id:"minecraft:attack_damage",base:14},{id:"minecraft:attack_knockback",base:1.5},{id:"minecraft:follow_range",base:128},{id:"minecraft:knockback_resistance",base:0.5},{id:"minecraft:max_health",base:150},{id:"minecraft:movement_speed",base:0.25},{id:"minecraft:step_height",base:3},{id:"minecraft:explosion_knockback_resistance",base:0.5}]}
execute as @e[type=zombie,tag=wave_mob,tag=revenant] store result score @s mob_first_skill_counter run random value 0..50
execute as @e[type=zombie,tag=wave_mob,tag=revenant] store result score @s mob_fifth_skill_counter run random value 0..300
spreadplayers 0 0 1 20 false @e[type=zombie,tag=wave_mob,tag=revenant]