----falling upward (moonshot)
chance = 88.88
base = 0.00000001
moon = 0.00000001
nextbet = base
losecount = 0
target = balance*1.3
moonshot = false
maxbet = balance/5
function dobet()
if nextbet >= maxbet then stop() end
if balance > target then stop() end
A = math.random(100)
if A <= 35 then
bethigh = false
print "bet low"
end
if A >= 65 then
bethigh = true
print "bet high"
end
print " "
print " losecount "
print (losecount)
print " "
print "-----------------"
print "max bet"
print (maxbet)
print "-----------------"
if win then
resetseed()
nextbet = base
chance = math.random(8900, 9000) / 100
losecount = 0
else
nextbet = previousbet*1.36
losecount+=1
end
if (math.random(1,14)==7) then
nextbet = moon
chance = 0.7
print "@@@@@@@@@@@@@@@@@@@@"
print "moon shot"
print "@@@@@@@@@@@@@@@@@@@@"
moonshot = true
else
moonshot = false
end
if (losecount >= 1) then
nextbet = previousbet*1.31
chance = (math.random(1555,1888)/100)
end
if (losecount >= 4) then
nextbet = previousbet*1.45
chance = (math.random(2011,2444)/100)
end
if (losecount >= 7) then
nextbet = previousbet*1.57
chance = (math.random(2550,2950)/100)
end
if (losecount >= 11) then
nextbet = previousbet*1.69
chance = (math.random(3150,3450)/100)
end
if (losecount >= 16) then
nextbet = previousbet*1.81
chance = (math.random(3500,4000)/100)
end
if (losecount >= 18) then
nextbet = previousbet*2
chance = (math.random(4000,4500)/100)
end
if (losecount >= 19) then
nextbet = previousbet*2.11
chance = (math.random(4500,5000)/100)
end
if (losecount >= 20) then
nextbet = previousbet*2.77
chance = 55.5
end
end
end