Code:
on right click on sign:
if block's location is 186, 5, -19, world "shop":
if player's held item contains "axe" or "Shovel" or "Axe":
if {money.%player%} is less than 20000:
send "{@shop} {@notenough}"
stop
else:
enchant player's tool with efficiency 5
remove 20000 from {money.%player%}
send "{@shop} {@sbought} efficiency 5 on your tools"
else:
send "{@shop} &cError! You're holding the wrong tool for this enchant"
Thats the code, it doesnt show errors, i think its the location of the block
nothing really happends when i rightclick on it, if anyone have a solution please help me