I have set up a objective called "money" that shows up in the sidebar. I then gave myself some money.
I added 2 command blocks. One that executes "give @p[money_min=1,r=5] 33" and the other "scoreboard players remove @p[money_min=1,r=5] 1"
As expected, activating this configuration exchanges my money for dispensers.
However, the command continues to decrement and spew dispensers until well below zero.
Comments 3
Command blocks use the score_ prefix to refer to objectives. Your current setup is not filtering based on the amount of your money objective.
money_min -that is wrong....i think you need to write score_money_min or somting...i dont remember....