local eb = 2
local appluck = 1
local cash = 0
local ce = 5
repeat
    print("----------")
local cost = math.pow(appluck, 0.65)
local rarnum = ((1/(math.random(1, 1)/5000)/appluck)/eb)
local ae = ((1/(math.random(1, 1)/75000)/appluck)/eb)
local r = ((1/(math.random(1, 1)/825000)/appluck)/eb)
print("rarnum 1 "..rarnum)
if math.floor(rarnum) <= 0 then
    rarnum = 1
end
if math.floor(ae) <= 0 then
    ae = 1
end
if math.floor(r) <= 0 then
    r = 1
end
print("rarnum 2 "..rarnum)
local num = math.random(1, math.floor(rarnum * 1.1))
local mum = math.random(1, math.floor(ae * 1.1))
local gum = math.random(1, math.floor(r * 1.1))
print("num "..num)
if num >= rarnum then
    cash = cash + 50 * ce
end
if mum >= ae then
    cash = cash + 250 * ce
end
if gum >= r then
    cash = cash + 1500 * ce
end
if cash >= cost then
    appluck = appluck + math.pow(appluck, 0.58)
    cash = cash - cost
end
print("Appraiser Luck: "..appluck)
print("Cash: "..cash)
print("Cost: "..cost)
print("----------")
until false

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: