I am trying to add a feature to my server where people can click a button to pay a certain amount of money in order to reset a certain EV. I made it work, but not exactly as intended since everytime we click the button the EV resets even if we don't have the necessary amount to pay for the service.
The idea is to add a certain condition that if the user doesn't have enough money to pay, the command will not proceed. The problem is that I don't know exactly what argument to use since I couldn't find it anywhere. Can anyone help me with this?