#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
#
#    This function has been created by Skilendarz Group.
#             https://skilendarz.com
#
#      GIVE MAP MAKERS THE CREDIT THEY DESERVE!
#             COPYING IS PROHIBITED!
#
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

summon marker 38.5 129.0 107.5 {Tags:["spawn_powerup"]}
summon marker 38.5 148.0 102.5 {Tags:["spawn_powerup"]}
summon marker 37.5 156.0 100.5 {Tags:["spawn_powerup"]}
summon marker 11.5 153.0 74.5 {Tags:["spawn_powerup"]}
summon marker 15.5 149.0 51.5 {Tags:["spawn_powerup"]}
summon marker 55.5 149.0 52.5 {Tags:["spawn_powerup"]}
summon marker 51.5 153.0 126.5 {Tags:["spawn_powerup"]}
summon marker -6.5 148.0 100.5 {Tags:["spawn_powerup"]}
summon marker 7.5 156.0 124.5 {Tags:["spawn_powerup"]}
summon marker 10.5 150.0 41.5 {Tags:["spawn_powerup"]}
summon marker -18.5 157.0 83.5 {Tags:["spawn_powerup"]}
summon marker 72.5 148.0 62.5 {Tags:["spawn_powerup"]}
summon marker 66.5 150.0 82.5 {Tags:["spawn_powerup"]}
summon marker 75.5 151.0 97.5 {Tags:["spawn_powerup"]}
summon marker 84.5 150.0 84.5 {Tags:["spawn_powerup"]}
summon marker -3.5 152.0 143.5 {Tags:["spawn_powerup"]}

execute at @e[tag=spawn_powerup,limit=1,sort=random,distance=5..] run summon armor_stand ~ ~-2 ~ {Tags:["powerup"],Invisible:1,DisabledSlots:2039552,NoGravity:1,ArmorItems:[{},{},{},{id:"minecraft:gold_block",Count:1b}]}
kill @e[tag=spawn_powerup]