chance = math.random(8000, 8500) / 100 bigchance = math.random(7000, 8200) / 100 smallchance = 100 - bigchance base = balance / 100000 bethigh = false target = balance * 1000 go = true wincount = 0 losecount = 0 roll = 0 nextbet = base a = base multi = 1.3 resetseed() ath=0;percent=false function trailingStop(val) if (balance>ath) then ath=balance end if (precent) then if ((balance-nextbet)<=(ath-((ath*val)/100))) then return end else if ((balance-nextbet)<=(ath-val)) then return end end end;trailingStop(0.001) function dobet() roll = roll + 1 if wincount == 6 then resetseed() bethigh = not bethigh wincount = 0 end if win and go then wincount = wincount + 1 nextbet = base bigchance = math.random(7500, 8500) / 100 chance = bigchance losecount = 0 a = base multi = 1 go = false end if (not win) then nextbet = previousbet * multi losecount = losecount + 1 end if chance >= 75 and (not win) then bethigh = not bethigh smallchance = 100 - bigchance multi = 1.3 if smallchance < 20 then multi = 1.236 end if smallchance >= 20 then multi = 1.3388 end go = true chance = smallchance nextbet = a * multi end if losecount >= 1 then go = true chance = smallchance end if losecount == 5 then losecount = 0 go = false a = previousbet nextbet = base chance = bigchance end if balance > target then stop() end trailingStop(0.001) print(" ") print(" ") print(" ") print("target: " .. target) print("nextbet: " .. nextbet) print("chance: " .. chance) print("Profit to go: " .. target - balance) print(" ") print(" ") print(" ") end