the title is what i need, what i want to do is something like this, for my game im working on, i got this rock that i want to mine and if you click on it for so how many clicks, you will get the rock. i basicly want a random act something like, you will get the rock out of a 1:10 chance. any help would be nice. thanks.
forgot to mention this, i just dont want to be able to click on it. i want the character like right next to it, and with a pick axe., like if you click on the rock with out the pick axe in your hands, or invintory i dont want it to mine it. and i want it to add the rock once you mine it, like add it to your invintory.