#buy items
execute as @a if block 76 -32 65 stone_button[powered=true] positioned 76 -32 65 run function main:game/wave/shop/items/give with storage shop items.1
execute as @a if block 79 -32 65 stone_button[powered=true] positioned 79 -32 65 run function main:game/wave/shop/items/give with storage shop items.2
execute as @a if block 82 -32 65 stone_button[powered=true] positioned 82 -32 65 run function main:game/wave/shop/items/give with storage shop items.3

#leave
# execute as @a[x=-26,y=5,z=11,dx=0] run function main:game/wave/shop/leave
execute if score .shop_wait arena matches 1.. run scoreboard players remove .shop_wait arena 1