chance = 1.
01
multiplier = 3
minbet = 1e-8
basebet = balance / 40000 -- 400000, 200000, 100000, 50000, 25000, 10000
nextbet = basebet
y = 0
wager = 0
sbal = balance
targ = sbal*1.01
targ2 = sbal*0.999
function dobet()
--range = {20, 30}
wager += nextbet
--print(lastBet.chance)
x = lastBet.roll
print(x)
if (not win) then
chance = (x - y)
if (currentstreak<-1) then
nextbet = minbet
end
-- multiplier = multiplier - 0.1
nextbet = basebet*multiplier*1.2^y*0.05
y = y + 1
else
chance = (x + y)
multiplier = multiplier + 2
if (profit > 0) then
nextbet = basebet
multiplier = 1.23
y = 0
end
end
if chance < 0.01 or chance > 98 then
chance = math.random(1, 98)
end
--if nextbet <= minbet then
-- nextbet = minbet
--end
end