kill @e[tag=ngbossclone]
item replace entity @s armor.head with netherite_helmet[trim={pattern:shaper,material:iron}]
item replace entity @s armor.chest with netherite_chestplate[trim={pattern:raiser,material:iron}]
item replace entity @s armor.legs with netherite_leggings[trim={pattern:silence,material:iron}]
item replace entity @s armor.feet with netherite_boots[trim={pattern:silence,material:iron}]
item replace entity @s weapon with iron_sword
tag @s add cloned
execute at @s anchored eyes run particle poof ~ ~ ~ .3 .5 .3 .1 30
playsound minecraft:entity.enderman.teleport hostile @a ~ ~1.5 ~
execute at @e[tag=ng+portal] run tp @s ~ ~4 ~ 180 0
execute at @s anchored eyes run particle poof ~ ~ ~ .3 .5 .3 .1 30
execute at @e[tag=ng+portal] run playsound minecraft:entity.evoker.prepare_summon hostile @a ~ ~4 ~ 2
data merge entity @s {NoAI:1b,Invulnerable:1b}
effect clear @s glowing
execute at @e[tag=ng+portal] run summon skeleton ~ ~4 ~ {Team:boss,NoAI:1b,Invulnerable:1b,CanPickUpLoot:0b,Health:4,Tags:[plussed,rare,nopoly,ngbossclone,boss,nobossxp,clone1],CustomName:{"text":"Guardian of The Gate"},equipment:{mainhand:{id:iron_sword},feet:{id:netherite_boots,components:{trim:{pattern:silence,material:iron}}},legs:{id:netherite_leggings,components:{trim:{pattern:silence,material:iron}}},chest:{id:netherite_chestplate,components:{trim:{pattern:raiser,material:iron}}},head:{id:netherite_helmet,components:{trim:{pattern:shaper,material:iron}}}},attributes:[{id:attack_damage,base:1f},{id:attack_knockback,base:1f},{id:movement_speed,base:0.27f},{id:knockback_resistance,base:0.5f},{id:max_health,base:4f}],drop_chances:{mainhand:0f,feet:0f,legs:0f,legs:0f,chest:0f,head:0f},DeathLootTable:""}
execute at @e[tag=ng+portal] run summon skeleton ~ ~4 ~ {Team:boss,NoAI:1b,Invulnerable:1b,CanPickUpLoot:0b,Health:4,Tags:[plussed,rare,nopoly,ngbossclone,boss,nobossxp,clone2],CustomName:{"text":"Guardian of The Gate"},equipment:{mainhand:{id:iron_sword},feet:{id:netherite_boots,components:{trim:{pattern:silence,material:iron}}},legs:{id:netherite_leggings,components:{trim:{pattern:silence,material:iron}}},chest:{id:netherite_chestplate,components:{trim:{pattern:raiser,material:iron}}},head:{id:netherite_helmet,components:{trim:{pattern:shaper,material:iron}}}},attributes:[{id:attack_damage,base:1f},{id:attack_knockback,base:1f},{id:movement_speed,base:0.27f},{id:knockback_resistance,base:0.5f},{id:max_health,base:4f}],drop_chances:{mainhand:0f,feet:0f,legs:0f,legs:0f,chest:0f,head:0f},DeathLootTable:""}
execute at @e[tag=ng+portal] run summon skeleton ~ ~4 ~ {Team:boss,NoAI:1b,Invulnerable:1b,CanPickUpLoot:0b,Health:4,Tags:[plussed,rare,nopoly,ngbossclone,boss,nobossxp,clone3],CustomName:{"text":"Guardian of The Gate"},equipment:{mainhand:{id:iron_sword},feet:{id:netherite_boots,components:{trim:{pattern:silence,material:iron}}},legs:{id:netherite_leggings,components:{trim:{pattern:silence,material:iron}}},chest:{id:netherite_chestplate,components:{trim:{pattern:raiser,material:iron}}},head:{id:netherite_helmet,components:{trim:{pattern:shaper,material:iron}}}},attributes:[{id:attack_damage,base:1f},{id:attack_knockback,base:1f},{id:movement_speed,base:0.27f},{id:knockback_resistance,base:0.5f},{id:max_health,base:4f}],drop_chances:{mainhand:0f,feet:0f,legs:0f,legs:0f,chest:0f,head:0f},DeathLootTable:""}
execute at @e[tag=ng+portal] run summon skeleton ~ ~4 ~ {Team:boss,NoAI:1b,Invulnerable:1b,CanPickUpLoot:0b,Health:4,Tags:[plussed,rare,nopoly,ngbossclone,boss,nobossxp,clone4],CustomName:{"text":"Guardian of The Gate"},equipment:{mainhand:{id:iron_sword},feet:{id:netherite_boots,components:{trim:{pattern:silence,material:iron}}},legs:{id:netherite_leggings,components:{trim:{pattern:silence,material:iron}}},chest:{id:netherite_chestplate,components:{trim:{pattern:raiser,material:iron}}},head:{id:netherite_helmet,components:{trim:{pattern:shaper,material:iron}}}},attributes:[{id:attack_damage,base:1f},{id:attack_knockback,base:1f},{id:movement_speed,base:0.27f},{id:knockback_resistance,base:0.5f},{id:max_health,base:4f}],drop_chances:{mainhand:0f,feet:0f,legs:0f,legs:0f,chest:0f,head:0f},DeathLootTable:""}
execute at @e[tag=ng+portal] run summon skeleton ~ ~4 ~ {Team:boss,NoAI:1b,Invulnerable:1b,CanPickUpLoot:0b,Health:4,Tags:[plussed,rare,nopoly,ngbossclone,boss,nobossxp,clone5],CustomName:{"text":"Guardian of The Gate"},equipment:{mainhand:{id:iron_sword},feet:{id:netherite_boots,components:{trim:{pattern:silence,material:iron}}},legs:{id:netherite_leggings,components:{trim:{pattern:silence,material:iron}}},chest:{id:netherite_chestplate,components:{trim:{pattern:raiser,material:iron}}},head:{id:netherite_helmet,components:{trim:{pattern:shaper,material:iron}}}},attributes:[{id:attack_damage,base:1f},{id:attack_knockback,base:1f},{id:movement_speed,base:0.27f},{id:knockback_resistance,base:0.5f},{id:max_health,base:4f}],drop_chances:{mainhand:0f,feet:0f,legs:0f,legs:0f,chest:0f,head:0f},DeathLootTable:""}
schedule function survivalplus:finale/boss/abilities/shuffle 1s