Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- resetstats()
- stb = balance
- chance = math.random(80, 90)
- base = balance / 50000
- nextbet = base
- lose = 0
- golandau = 5
- chancePayout = {
- min = 5,
- max = 9
- }
- chanceGo = {
- min = 20,
- max = 66
- }
- firstTimePlay = 0
- notloseYet = true
- listChancePayout = {}
- listChanceGo = {}
- infobet = {}
- type = {"hi", "low"}
- backprice = 1
- bethigh = math.random(0,100)%2==0
- balancelose = 0
- flagChange = false
- flagGo = false
- flagNormal = true
- targetPT = 100
- -- profitRut = 6001
- targetResetSeeds = 10
- storeBalanceLose = 0
- countWithdraw = 0
- dostoreBalance = false
- round = 500
- defaultRound = round
- countRound = 1
- goRoundStart = false
- winRoundStart = false
- typeWinPlay = 1
- startBigPayout = false
- countNumBetBigPayout = 0
- py = 0
- wg = 0
- hl = 0
- lk = 0
- ct = 0
- wc = 0
- hb = 0
- function getPayout(chag)
- py = 100 / tonumber(chag)
- py = py - (py *(1/100))
- end
- function createChange()
- for i = chancePayout.min, chancePayout.max, 1
- do
- getPayout(i)
- table.insert(listChancePayout, {
- hi = {
- game = string.format("%.2f", (100-i-0.01)),
- risk = py * 10 + 15,
- change = i,
- lose = 0,
- defaultHi = true,
- tilethang = 0,
- onlose = 1 / (1 * py - 1) * 100
- },
- low = {
- game = string.format("%.2f", i),
- risk = py * 10 + 15,
- change = i,
- lose = 0,
- defaultHi = false,
- tilethang = 0,
- onlose = 1 / (1 * py - 1) * 100
- }
- })
- end
- for i = chanceGo.min, chanceGo.max, 1
- do
- getPayout(i)
- table.insert(listChanceGo, {
- hi = {
- game = string.format("%.2f", (100-i-0.01)),
- risk = py * 10 + 15,
- change = i,
- lose = 0,
- defaultHi = true,
- tilethang = 0,
- onlose = 1 / (1 * py - 1) * 100
- },
- low = {
- game = string.format("%.2f", i),
- risk = py * 10 + 15,
- change = i,
- lose = 0,
- defaultHi = false,
- tilethang = 0,
- onlose = 1 / (1 * py - 1) * 100
- }
- })
- end
- end
- function updateTiLeThang()
- for key, value in pairs(listChancePayout) do
- if lastBet.Roll < tonumber(value["hi"].game) then
- value["hi"].lose = value["hi"].lose + 1
- else
- value["hi"].lose = 0
- end
- if lastBet.Roll > tonumber(value["low"].game) then
- value["low"].lose = value["low"].lose + 1
- else
- value["low"].lose = 0
- end
- for i,v in ipairs(type) do
- value[v].tilethang = value[v].lose / value[v].risk * 100
- end
- end
- for key, value in pairs(listChanceGo) do
- if lastBet.Roll < tonumber(value["hi"].game) then
- value["hi"].lose = value["hi"].lose + 1
- else
- value["hi"].lose = 0
- end
- if lastBet.Roll > tonumber(value["low"].game) then
- value["low"].lose = value["low"].lose + 1
- else
- value["low"].lose = 0
- end
- for i,v in ipairs(type) do
- value[v].tilethang = value[v].lose / value[v].risk * 100
- end
- end
- end
- function resetTileThang()
- for key, value in pairs(listChancePayout) do
- for i,v in ipairs(type) do
- value[v].tilethang = 0
- end
- end
- for key, value in pairs(listChanceGo) do
- for i,v in ipairs(type) do
- value[v].tilethang = 0
- end
- end
- end
- function getGoChange()
- phantram = 0
- for key, value in pairs(listChanceGo) do
- for i,v in ipairs(type) do
- -- if value[v].tilethang >= 40 then
- -- phantram = value[v].tilethang
- -- infobet.change = value[v].change
- -- infobet.defaultHi = value[v].defaultHi
- -- infobet.onlose = value[v].onlose
- -- infobet.tilethang = value[v].tilethang
- -- elseif value[v].tilethang >= 65 and value[v].tilethang <= 70 then
- -- phantram = value[v].tilethang
- -- infobet.change = value[v].change
- -- infobet.defaultHi = value[v].defaultHi
- -- infobet.onlose = value[v].onlose
- -- infobet.tilethang = value[v].tilethang
- -- elseif value[v].tilethang >= 45 and value[v].tilethang <= 55 then
- -- phantram = value[v].tilethang
- -- infobet.change = value[v].change
- -- infobet.defaultHi = value[v].defaultHi
- -- infobet.onlose = value[v].onlose
- -- infobet.tilethang = value[v].tilethang
- -- else
- if value[v].tilethang >= 20 and value[v].tilethang <= 30 then
- phantram = value[v].tilethang
- infobet.change = value[v].change
- infobet.defaultHi = value[v].defaultHi
- infobet.onlose = value[v].onlose
- infobet.tilethang = value[v].tilethang
- elseif value[v].tilethang >= 10 and value[v].tilethang <= 20 then
- phantram = value[v].tilethang
- infobet.change = value[v].change
- infobet.defaultHi = value[v].defaultHi
- infobet.onlose = value[v].onlose
- infobet.tilethang = value[v].tilethang
- elseif value[v].tilethang > phantram then
- phantram = value[v].tilethang
- infobet.change = value[v].change
- infobet.defaultHi = value[v].defaultHi
- infobet.onlose = value[v].onlose
- infobet.tilethang = value[v].tilethang
- end
- end
- end
- return infobet
- end
- function getPayoutChange()
- phantram = 0
- for key, value in pairs(listChancePayout) do
- for i,v in ipairs(type) do
- if value[v].tilethang > phantram then
- phantram = value[v].tilethang
- infobet.change = value[v].change
- infobet.defaultHi = value[v].defaultHi
- infobet.onlose = value[v].onlose
- infobet.tilethang = value[v].tilethang
- end
- end
- end
- return infobet
- end
- function workingChange()
- updateTiLeThang()
- smartChange = getPayoutChange()
- gochange = getGoChange()
- -- if smartChange.tilethang >= 40 then
- -- flagChange = true
- -- flagNormal = false
- -- flagGo = false
- -- firstTimePlay = firstTimePlay + 1
- -- chance = tonumber(smartChange.change)
- -- getPayout(chance)
- -- if firstTimePlay == 1 then
- -- nextbet = base / 100
- -- end
- -- if lose >= py / 2 then
- -- nextbet = previousbet + previousbet * smartChange.onlose / 100
- -- end
- -- bethigh = smartChange.defaultHi
- if winRoundStart == true then
- if typeWinPlay == 1 then
- nextbet = profit / 2
- chance = math.random(80, 95)
- flagChange = false
- flagNormal = true
- flagGo = false
- bethigh = math.random(0,100)%2==0
- else
- if startBigPayout == false then
- nextbet = profit / 18
- end
- chance = 5
- flagChange = false
- flagNormal = true
- flagGo = false
- bethigh = true
- startBigPayout = true
- countNumBetBigPayout = countNumBetBigPayout + 1
- end
- elseif gochange.tilethang >= 10 and balancelose < 0 then
- flagChange = false;
- flagNormal = false;
- chance = tonumber(gochange.change)
- getPayout(chance)
- bethigh = gochange.defaultHi
- if math.abs(balancelose) < base then
- nextbet = math.abs(balancelose) / (py - 1)
- -- elseif gochange.tilethang >= 65 and gochange.tilethang <= 70 then
- -- nextbet = (math.abs(balancelose) / 4) / (py - 1)
- -- elseif gochange.tilethang >= 45 and gochange.tilethang <= 50 then
- -- nextbet = (math.abs(balancelose) / 3) / (py - 1)
- elseif gochange.tilethang >= 25 and gochange.tilethang <= 30 then
- nextbet = (math.abs(balancelose) / 2) / (py - 1)
- elseif gochange.tilethang >= 10 and gochange.tilethang <= 20 then
- nextbet = (math.abs(balancelose) / golandau) / (py - 1)
- golandau = golandau - 1
- if golandau == 0 then
- golandau = 1
- end
- else
- chance = math.random(80, 90)
- bethigh = math.random(0,100)%2==0
- nextbet = base
- end
- flagGo = true
- firstTimePlay = 0
- else
- flagChange = false
- flagNormal = true
- flagGo = false
- firstTimePlay = 0
- chance = math.random(80, 90)
- bethigh = math.random(0,100)%2==0
- nextbet = base
- end
- if nextbet > balance then
- nextbet = balance / 2
- end
- if nextbet < 0.00000001 then
- nextbet = base
- end
- end
- createChange()
- function dobet()
- ct += 1
- lk = wc*200/ct
- wg = wg + previousbet
- if nextbet >= hb then
- hb = nextbet
- end
- if lose >= hl then
- hl = lose
- end
- -- if notloseYet == true then
- -- phantramdego = 10
- -- else
- -- phantramdego = 1
- -- end
- if win then
- wc += 1
- nextbet = base
- if balancelose <= 0 and flagChange == false and flagNormal == false then
- balancelose = balancelose + currentprofit
- end
- firstTimePlay = 0
- if balancelose > 0 then
- balancelose = 0
- goRoundStart = false
- -- balancelose = storeBalanceLose
- -- storeBalanceLose = 0
- -- notloseYet = true
- -- dostoreBalance = false
- end
- lose = 0
- if targetResetSeeds == bets then
- resetseed()
- targetResetSeeds += 10;
- end
- if typeWinPlay == 1 and winRoundStart == true then
- winRoundStart = false
- elseif typeWinPlay == 2 and winRoundStart == true then
- winRoundStart = false
- startBigPayout = false
- countNumBetBigPayout = 0
- end
- else
- lose = lose + 1
- if flagChange == false then
- balancelose = balancelose + currentprofit
- end
- -- if notloseYet == true and (math.abs(balancelose) / balance * 100) >= phantramdego then
- -- golandau = 5
- -- notloseYet = false
- -- end
- end
- if typeWinPlay == 1 and winRoundStart == true then
- winRoundStart = false
- elseif typeWinPlay == 2 and winRoundStart == true then
- if countNumBetBigPayout == 18 then
- winRoundStart = false
- startBigPayout = false
- countNumBetBigPayout = 0
- end
- end
- if flagGo == true and (math.abs(balancelose) / balance * 100) >= 5 then
- golandau = 5
- end
- if (math.abs(balancelose) / balance * 100) >= 10 and goRoundStart == false then
- storeBalanceLose = storeBalanceLose + balancelose
- balancelose = 0
- end
- if round == bets then
- countRound = countRound + 1
- if storeBalanceLose < 0 then
- balancelose = balancelose + storeBalanceLose
- storeBalanceLose = 0
- goRoundStart = true
- elseif profit > 0 then
- winRoundStart = true
- end
- round = round + defaultRound
- end
- -- if (math.abs(balancelose) / balance * 100) >= 50 then
- -- balancelose = balancelose / 2
- -- storeBalanceLose = storeBalanceLose + balancelose
- -- end
- if balance >= stb + (targetPT * stb / 100) then
- print(" ")
- print(balance)
- print("TARGET ACHIEVED!!!")
- print(" ")
- seed()
- stop()
- end
- workingChange()
- print("")
- print("")
- print("------------------------------ CODE BY LUÂN -------------------------------")
- print(" BETTING CURRENCY : ".." ~~~ "..string.upper(currency).." ~~~ ")
- print("")
- print("Số lần withdraw "..countWithdraw)
- print("")
- print("Store balance "..string.format("%.8f",storeBalanceLose))
- print("")
- print(" Số tiền cần gỡ "..string.format("%.8f",balancelose))
- print("")
- print(" Profit "..string.format("%.8f",profit))
- print(" TOTAL BET "..(bets).." BETS")
- print(" Wagered ".. string.format("%.8f",wg))
- print("")
- print(" Start Balance "..string.format("%.8f",stb))
- print(" Current Balance "..string.format("%.8f",balance))
- print("")
- print(" Bet Amount "..string.format("%.8f",previousbet))
- print(" Chance "..string.format("%.3f",chance))
- print(" Largest Bet "..string.format("%.8f",hb))
- print("")
- print(" Lose Streak "..hl)
- print(" Current Lose Streak "..lose)
- print(" LUCKY "..string.format("%.3f",lk).."%")
- print("")
- print("-----------------------------------------------------------------------------------------")
- print("")
- print("")
- end
- function s()
- stop()
- end
- function seed()
- resetseed()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement