execute as @s at @e[type=armor_stand,tag=cs] run clear @s paper 80
execute if score slave settings matches 1 run scoreboard players remove CreeperCorp Stock_Values 50
scoreboard players add #Creeper slaves 1
execute if score #Creeper slaves matches 1 run summon enderman 107 63 198 {Team:col,Tags:["End", "e1"],Invulnerable:1b,PersistenceRequired:true,CustomName:'{"text":"Enderman Slave","color":"dark_purple","bold":true}'}
execute if score #Creeper slaves matches 1 run summon zombie 107 63 198 {Team:col,Tags:["End", "z1", "z"],Silent:1b,Invulnerable:1b,PersistenceRequired:true,CustomName:'{"text":"Enderman Slave","color":"dark_purple","bold":true}'}

execute if score #Creeper slaves matches 2 run summon enderman 106 63 198 {Team:col,Tags:["End", "e2"],Invulnerable:1b,PersistenceRequired:true,CustomName:'{"text":"Enderman Slave","color":"dark_purple","bold":true}'}
execute if score #Creeper slaves matches 2 run summon zombie 106 63 198 {Team:col,Tags:["End", "z2", "z"],Silent:1b,Invulnerable:1b,PersistenceRequired:true,CustomName:'{"text":"Enderman Slave","color":"dark_purple","bold":true}'}

execute if score #Creeper slaves matches 3 run summon enderman 105 63 198 {Team:col,Tags:["End", "e3"],Invulnerable:1b,PersistenceRequired:true,CustomName:'{"text":"Enderman Slave","color":"dark_purple","bold":true}'}
execute if score #Creeper slaves matches 3 run summon zombie 105 63 198 {Team:col,Tags:["End", "z3", "z"],Silent:1b,Invulnerable:1b,PersistenceRequired:true,CustomName:'{"text":"Enderman Slave","color":"dark_purple","bold":true}'}

execute if score #Creeper slaves matches 4 run summon enderman 104 63 198 {Team:col,Tags:["End", "e4"],Invulnerable:1b,PersistenceRequired:true,CustomName:'{"text":"Enderman Slave","color":"dark_purple","bold":true}'}
execute if score #Creeper slaves matches 4 run summon zombie 104 63 198 {Team:col,Tags:["End", "z4", "z"],Silent:1b,Invulnerable:1b,PersistenceRequired:true,CustomName:'{"text":"Enderman Slave","color":"dark_purple","bold":true}'}

execute if score #Creeper slaves matches 5 run summon enderman 103 63 198 {Team:col,Tags:["End", "e5"],Invulnerable:1b,PersistenceRequired:true,CustomName:'{"text":"Enderman Slave","color":"dark_purple","bold":true}'}
execute if score #Creeper slaves matches 5 run summon zombie 103 63 198 {Team:col,Tags:["End", "z5", "z"],Silent:1b,Invulnerable:1b,PersistenceRequired:true,CustomName:'{"text":"Enderman Slave","color":"dark_purple","bold":true}'}

fill 102 65 192 102 65 192 minecraft:oak_button[facing=east]
execute if score #Creeper slaves matches 5.. run fill 102 65 192 102 65 192 air

effect give @e[tag=z] slowness 1000000 255 true
effect give @e[type=zombie,tag=z] invisibility 1000000 100 true
