local a = 5
local b = 0
local c = 5
local d = 35
local e = 75
local f = 225
if a >= 5 then
  b = b + (2.5 * c)
    a = a + b
end
if b >= 2 then
    c = c + (1*(d+1))
    b = b + (2.5 * c)
    a = a * b
end
if c >= 10 then
    d = d + (2.5*(e+1))
    c = c + (1.5*(d+1))
    b = b + (2.5 * c)
    a = a * b
end
if d >= 15 then
    e = e + (3.5*(f+1))
    d = d + (2.5*(e+1))
    c = c + (1.5*(d+1))
    b = b + (2.5 * c)
    a = a * b
end
print(a)
print(b)
print(c)
print(d)
print(e)
print(math.floor(5 + f * math.sqrt(350)))

Embed on website

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