We randomly select a number from 1 - 100
And set the range.
if (rand <= 10) then -- if we randomly 1-10 (10% chance)
If the number is less than or equal to.
For example, If you will draw the number 1,2,3,4,5,6,7,8,9,10 - We give the object from the array at index 1
elseif (rand > 30) and...