Since I'm building a miniature las vegas in minecraft, a casino should not be missing. I want a profit to be spent after 10 times. Of 5 gold nuggets. All gold before that should be subtracted 3 gold. Do you know a command for this?
https://gaming.stackexchange.com/questions/18133/in-minecraft-how-do-i-randomise-the-output-in-a-redstone-circuit