command /sshop:
trigger:
open chest with 5 rows named "&6Shop" to player
create a gui slot 10 of player with gold block named "&6&l+1GPC" to run:
remove 100 from {gold::%player%}
add 1 to {gold::%player%}
When i click on the gold block in the shop and i have 99 gold i can still buy it how do i make it so you can't buy it when you have less then 100 gold? And how do i make it so when you click on it and you have 100+ gold you get + 1 every time you right click a gold block?
trigger:
open chest with 5 rows named "&6Shop" to player
create a gui slot 10 of player with gold block named "&6&l+1GPC" to run:
remove 100 from {gold::%player%}
add 1 to {gold::%player%}
When i click on the gold block in the shop and i have 99 gold i can still buy it how do i make it so you can't buy it when you have less then 100 gold? And how do i make it so when you click on it and you have 100+ gold you get + 1 every time you right click a gold block?