So I know how to make a paper named lets say "1000" and I know how to make it when you click it it opens a gui with a dirt slot so how do I make it so when you click that dirt it removes 10 from the name and it checks if the name is equal to or higher than 10 and then sets to name to the number and removes 10 from it and in this case it will go to "990" and then gives the player a dirt block