Sign:


/give @p sign 1 0 {    BlockEntityTag: {        Text1: "{\"text\":\"You Pay   You Get\",\"italic\":true,\"clickEvent\":{\"action\":\"run_command\",\"value\":\"scoreboard players set @p SHOP 2\"}}",        Text2: "{\"text\":\"2x       30x\",\"bold\":true,\"color\":\"white\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/playsound ui.button.click master @a[r=10] ~ ~ ~ .4 1.7\"}}"    },    display: {        Name: "Custom Sign"    }}


Armor stand BLOCK LEFT:

/summon armor_stand ~.58 ~.5 ~.31 {CustomName:"ASITM",NoGravity:1b,Small:1,Invisible:1,HandItems:[{id:mossy_cobblestone,Count:1b},{}],Pose:{RightArm:[-15f,45f,0f]},DisabledSlots:2039583,Marker:1}


Armor stand BLOCK RIGHT:

/summon armor_stand ~.08 ~.5 ~.31 {CustomName:"ASITM",NoGravity:1b,Small:1,Invisible:1,HandItems:[{id:stone,Count:1b},{}],Pose:{RightArm:[-15f,45f,0f]},DisabledSlots:2039583,Marker:1}


Armor stand ITEM LEFT:

/summon armor_stand ~.45 ~.08 ~.1 {CustomName:"ASITM",NoGravity:1b,Small:1,Invisible:1,HandItems:[{id:diamond,Count:1b},{}],Pose:{RightArm:[-90f,0f,0f]},DisabledSlots:2039583,Marker:1}


Armor stand ITEM RIGHT:

/summon armor_stand ~-.06 ~.08 ~.1 {CustomName:"ASITM",NoGravity:1b,Small:1,Invisible:1,HandItems:[{id:diamond,Count:1b},{}],Pose:{RightArm:[-90f,0f,0f]},DisabledSlots:2039583,Marker:1}


Command Block Line:

/scoreboard objectives add SHOP dummy

​/clear @a[score_SHOP_min=1,score_SHOP=1] emerald 0 3

​/give @a[score_SHOP_min=1,score_SHOP=1] brick_block 32

​/scoreboard players reset @a[score_SHOP_min=1] SHOP


SHOP

Tutorial viewed            times

Command blocks