initbal = balance he = 1 --houseEdge bb = 0.001 --minimal bet basebet = .001 nextbet = basebet startch = math.random(1,5) --start chance maxch = math.random(50,55) chance = startch ct = 0 cprofit = 0 mod = 0 if nextbet < bb then nextbet = bb end function dobet() cprofit = cprofit + currentprofit if !win then ct = ct + 1 chance = math.random(startch*100,(startch+5)*100)/100 if math.floor((lastBet.roll/100)+0.5)%2==0 then bethigh = true else bethigh = false end if chance < 11 then mod = 10 else mod = 200 end nextbet = (math.abs(cprofit)/(((100-he)/chance)-1))*(1+((chance*(chance/mod))/ct)) else ct = 0 if cprofit > 0 then cprofit = 0 end if lastBet.nonce > math.random(100,1000) then math.randomseed(os.clock()) resetseed() end startch = startch+math.random(2,5) --if chance >= 40 and chance < 50 then startch = 50 chance = 50 end if (currentstreak >= 1) then chance = chance+1 end nextbet = basebet if previousbet > (initbal * 0.01) then pause() end if chance > maxch then --start() --if not use rdp for more speed bet startch = math.random(1,5) chance = startch end end if nextbet < bb then nextbet = bb end end