execute if score pullable Stats matches 0 run summon minecraft:armor_stand ~ ~ ~ {ArmorItems:[{},{},{},{id:"gold_block",Count:1}],Small:1,NoGravity:1,Invisible:1,Invulnerable:1,CustomNameVisible:1,CustomName:'{"translate":"game.powerup","color":"gold"}',Tags:["powerup"]}
execute if score pullable Stats matches 1 run summon minecraft:zombie ~ ~-0.5 ~ {ArmorItems:[{},{},{},{id:"black_carpet",Count:1}],IsBaby:1,NoGravity:1,Invulnerable:1,Tags:["powerup"],ActiveEffects:[{Id:14,Duration:999999,ShowParticles:0b}],Silent:1b,Attributes:[{Name:generic.follow_range,Base:0},{Name:generic.movement_speed,Base:0},{Name:generic.attack_damage,Base:0}],Passengers:[{id:"armor_stand",ArmorItems:[{},{},{},{id:"iron_block",Count:1}],Small:1,NoGravity:1,Invisible:1,Invulnerable:1,Tags:["powerupUtil"],Marker:1},{id:"area_effect_cloud",Tags:["powerupUtil"],Radius:0.0f,Duration:2147483647,CustomNameVisible:1,CustomName:'{"translate":"game.powerup","color":"gray"}'}]}
execute if score pullable Stats matches 1 run summon minecraft:area_effect_cloud ~ ~ ~ {Tags:["powerupUtil","powerupSpawn"],Radius:0.0f,Duration:2147483647}

execute if score pullable Stats matches 2 run scoreboard players set r Random 2
execute if score pullable Stats matches 2 run function mctsts:util/random
execute if score pullable Stats matches 2 if score n Random matches 1 run summon minecraft:armor_stand ~ ~ ~ {ArmorItems:[{},{},{},{id:"gold_block",Count:1}],Small:1,NoGravity:1,Invisible:1,Invulnerable:1,CustomNameVisible:1,CustomName:'{"translate":"game.powerup","color":"gold"}',Tags:["powerup"]}
execute if score pullable Stats matches 2 if score n Random matches 2 run summon minecraft:zombie ~ ~-0.5 ~ {ArmorItems:[{},{},{},{id:"black_carpet",Count:1}],IsBaby:1,NoGravity:1,Invulnerable:1,Tags:["powerup"],ActiveEffects:[{Id:14,Duration:999999,ShowParticles:0b}],Silent:1b,Attributes:[{Name:generic.follow_range,Base:0},{Name:generic.movement_speed,Base:0},{Name:generic.attack_damage,Base:0}],Passengers:[{id:"armor_stand",ArmorItems:[{},{},{},{id:"iron_block",Count:1}],Small:1,NoGravity:1,Invisible:1,Invulnerable:1,Tags:["powerupUtil"],Marker:1},{id:"area_effect_cloud",Tags:["powerupUtil"],Radius:0.0f,Duration:2147483647,CustomNameVisible:1,CustomName:'{"translate":"game.powerup","color":"gray"}'}]}
execute if score pullable Stats matches 2 if score n Random matches 2 run summon minecraft:area_effect_cloud ~ ~ ~ {Tags:["powerupUtil","powerupSpawn"],Radius:0.0f,Duration:2147483647}