#how to remove from balance
1 messages · Page 1 of 1 (latest)
:technologist: Code Blocks
To make it easier for others to read your code, it is asked that you send it in a code block. On Discord, you can simply send this:
```
Code here
```
what plugins are you using for currency?
also, if you're making a shop, you might want to verify the player has enough money first
this might work
command /gui: trigger: set {_gui} to chest with 3 rows named "&2GUI" set slot 1 of {_gui} to diamond open {_gui} to player on inventory click: if name of event-inventory is "&2GUI": if event-item is diamond: cancel event if player's money greater than or equal to 50: give player 1 diamond remove 50 from player’s money
any errors?
can i see screenshot
^
You will need vault, or store the balance in a variable
^^^
uhhhhhhhhh
sorry man im new to skripting myself i dont think i can help u
i tried
💀