If you put all those values in an array and just get one at random that would work.
For a more deluxe and compact version you could store the values and weights of each value. The sum of all the weights should be 1.
Then to randomly pick a value based on the weights you’d:
1. Generate a random value 0-1
2. Loop over the array
3. If the current weight<value? Then subtract the weight from the value and look at the next array position.
4. If weight>=value then you’re done and the array position you’re on is the value to use.
Anyways that’s the gist of it at least.
I've understanded it a bit, but I think would be better if you make an .capx for me to see how to do it, the .txt is here if you need ghostbin.com/aEb1P and all of the weighted values are stored in the ♣ symbol.
Like you said, the way that I want it to be is by having the chance to get choosed by the item weight value.
By the way, thanks a lot for helping me sir, I'm really glad!