local chances = {
        {label = 'Rare', value = 0.7992, avp = 700},
        {label = 'Mythical', value = 0.1598, avp = 1500},
        {label = 'Legendary', value = 0.0320, avp = 3000},
        {label = 'Ancient', value = 0.0064, avp = 1000},
        {label = 'Exceedingly Rare', value = 0.0026, avp = 125000}
    }

LUA

AVP is average price per rareity
value is the chance of hitting
between 0-1
required to make at least 40000
and no more than 55000
it takes math.random(30,60) + 7 seconds between every chance attempt
randomize the number after every chance
simulate running for an hour and then print the money made per hour and what was gotten
if the money made wasn't within the requirement play around with the value in the chance table simulate again and repeat until within the rage
the total of the value can't execde 1 so lower chances rase others until you reach the desired output
