scoreboard players set min rng 0
scoreboard players set max rng 6
function rng:interval

# r^2 = c^2 + c^2  ->  1 = 2c^2  ->  r = sqrt(0.5) = 0.7071...
# Fixed
execute positioned ~1 ~ ~ run function items:shop/summon/meta_coin
execute positioned ~.85 ~ ~.45 run function items:shop/summon/meta_coin
execute positioned ~.45 ~ ~.85 run function items:shop/summon/meta_coin
execute positioned ~ ~ ~1 run function items:shop/summon/meta_coin
execute positioned ~-.45 ~ ~.85 run function items:shop/summon/meta_coin
execute positioned ~-.85 ~ ~.45 run function items:shop/summon/meta_coin

# Extra
execute if score out rng matches 1.. positioned ~-1 ~ ~ run function items:shop/summon/meta_coin
execute if score out rng matches 2.. positioned ~-.85 ~ ~-.45 run function items:shop/summon/meta_coin
execute if score out rng matches 3.. positioned ~-.45 ~ ~-.85 run function items:shop/summon/meta_coin
execute if score out rng matches 4.. positioned ~ ~ ~-1 run function items:shop/summon/meta_coin
execute if score out rng matches 5.. positioned ~.45 ~ ~-.85 run function items:shop/summon/meta_coin
execute if score out rng matches 6.. positioned ~.85 ~ ~-.45 run function items:shop/summon/meta_coin
