Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.08 KB | None | 0 0
  1. resetstats()
  2. stb = balance
  3. chance = math.random(80, 90)
  4. base = balance / 50000
  5. nextbet = base
  6. lose = 0
  7. golandau = 5
  8. chancePayout = {
  9. min = 5,
  10. max = 9
  11. }
  12. chanceGo = {
  13. min = 20,
  14. max = 66
  15. }
  16. firstTimePlay = 0
  17. notloseYet = true
  18. listChancePayout = {}
  19. listChanceGo = {}
  20. infobet = {}
  21. type = {"hi", "low"}
  22. backprice = 1
  23. bethigh = math.random(0,100)%2==0
  24. balancelose = 0
  25. flagChange = false
  26. flagGo = false
  27. flagNormal = true
  28. targetPT = 100
  29. -- profitRut = 6001
  30. targetResetSeeds = 10
  31. storeBalanceLose = 0
  32. countWithdraw = 0
  33. dostoreBalance = false
  34. round = 500
  35. defaultRound = round
  36. countRound = 1
  37. goRoundStart = false
  38. winRoundStart = false
  39. typeWinPlay = 1
  40. startBigPayout = false
  41. countNumBetBigPayout = 0
  42. py = 0
  43. wg = 0
  44. hl = 0
  45. lk = 0
  46. ct = 0
  47. wc = 0
  48. hb = 0
  49.  
  50. function getPayout(chag)
  51. py = 100 / tonumber(chag)
  52. py = py - (py *(1/100))
  53. end
  54. function createChange()
  55. for i = chancePayout.min, chancePayout.max, 1
  56. do
  57. getPayout(i)
  58. table.insert(listChancePayout, {
  59. hi = {
  60. game = string.format("%.2f", (100-i-0.01)),
  61. risk = py * 10 + 15,
  62. change = i,
  63. lose = 0,
  64. defaultHi = true,
  65. tilethang = 0,
  66. onlose = 1 / (1 * py - 1) * 100
  67. },
  68. low = {
  69. game = string.format("%.2f", i),
  70. risk = py * 10 + 15,
  71. change = i,
  72. lose = 0,
  73. defaultHi = false,
  74. tilethang = 0,
  75. onlose = 1 / (1 * py - 1) * 100
  76. }
  77. })
  78. end
  79. for i = chanceGo.min, chanceGo.max, 1
  80. do
  81. getPayout(i)
  82. table.insert(listChanceGo, {
  83. hi = {
  84. game = string.format("%.2f", (100-i-0.01)),
  85. risk = py * 10 + 15,
  86. change = i,
  87. lose = 0,
  88. defaultHi = true,
  89. tilethang = 0,
  90. onlose = 1 / (1 * py - 1) * 100
  91. },
  92. low = {
  93. game = string.format("%.2f", i),
  94. risk = py * 10 + 15,
  95. change = i,
  96. lose = 0,
  97. defaultHi = false,
  98. tilethang = 0,
  99. onlose = 1 / (1 * py - 1) * 100
  100. }
  101. })
  102. end
  103. end
  104. function updateTiLeThang()
  105. for key, value in pairs(listChancePayout) do
  106. if lastBet.Roll < tonumber(value["hi"].game) then
  107. value["hi"].lose = value["hi"].lose + 1
  108. else
  109. value["hi"].lose = 0
  110. end
  111. if lastBet.Roll > tonumber(value["low"].game) then
  112. value["low"].lose = value["low"].lose + 1
  113. else
  114. value["low"].lose = 0
  115. end
  116. for i,v in ipairs(type) do
  117. value[v].tilethang = value[v].lose / value[v].risk * 100
  118. end
  119. end
  120. for key, value in pairs(listChanceGo) do
  121. if lastBet.Roll < tonumber(value["hi"].game) then
  122. value["hi"].lose = value["hi"].lose + 1
  123. else
  124. value["hi"].lose = 0
  125. end
  126. if lastBet.Roll > tonumber(value["low"].game) then
  127. value["low"].lose = value["low"].lose + 1
  128. else
  129. value["low"].lose = 0
  130. end
  131. for i,v in ipairs(type) do
  132. value[v].tilethang = value[v].lose / value[v].risk * 100
  133. end
  134. end
  135. end
  136. function resetTileThang()
  137. for key, value in pairs(listChancePayout) do
  138. for i,v in ipairs(type) do
  139. value[v].tilethang = 0
  140. end
  141. end
  142. for key, value in pairs(listChanceGo) do
  143. for i,v in ipairs(type) do
  144. value[v].tilethang = 0
  145. end
  146. end
  147. end
  148. function getGoChange()
  149. phantram = 0
  150. for key, value in pairs(listChanceGo) do
  151. for i,v in ipairs(type) do
  152. -- if value[v].tilethang >= 40 then
  153. -- phantram = value[v].tilethang
  154. -- infobet.change = value[v].change
  155. -- infobet.defaultHi = value[v].defaultHi
  156. -- infobet.onlose = value[v].onlose
  157. -- infobet.tilethang = value[v].tilethang
  158. -- elseif value[v].tilethang >= 65 and value[v].tilethang <= 70 then
  159. -- phantram = value[v].tilethang
  160. -- infobet.change = value[v].change
  161. -- infobet.defaultHi = value[v].defaultHi
  162. -- infobet.onlose = value[v].onlose
  163. -- infobet.tilethang = value[v].tilethang
  164. -- elseif value[v].tilethang >= 45 and value[v].tilethang <= 55 then
  165. -- phantram = value[v].tilethang
  166. -- infobet.change = value[v].change
  167. -- infobet.defaultHi = value[v].defaultHi
  168. -- infobet.onlose = value[v].onlose
  169. -- infobet.tilethang = value[v].tilethang
  170. -- else
  171. if value[v].tilethang >= 20 and value[v].tilethang <= 30 then
  172. phantram = value[v].tilethang
  173. infobet.change = value[v].change
  174. infobet.defaultHi = value[v].defaultHi
  175. infobet.onlose = value[v].onlose
  176. infobet.tilethang = value[v].tilethang
  177. elseif value[v].tilethang >= 10 and value[v].tilethang <= 20 then
  178. phantram = value[v].tilethang
  179. infobet.change = value[v].change
  180. infobet.defaultHi = value[v].defaultHi
  181. infobet.onlose = value[v].onlose
  182. infobet.tilethang = value[v].tilethang
  183. elseif value[v].tilethang > phantram then
  184. phantram = value[v].tilethang
  185. infobet.change = value[v].change
  186. infobet.defaultHi = value[v].defaultHi
  187. infobet.onlose = value[v].onlose
  188. infobet.tilethang = value[v].tilethang
  189. end
  190. end
  191. end
  192. return infobet
  193. end
  194. function getPayoutChange()
  195. phantram = 0
  196. for key, value in pairs(listChancePayout) do
  197. for i,v in ipairs(type) do
  198. if value[v].tilethang > phantram then
  199. phantram = value[v].tilethang
  200. infobet.change = value[v].change
  201. infobet.defaultHi = value[v].defaultHi
  202. infobet.onlose = value[v].onlose
  203. infobet.tilethang = value[v].tilethang
  204. end
  205. end
  206. end
  207. return infobet
  208. end
  209.  
  210. function workingChange()
  211. updateTiLeThang()
  212. smartChange = getPayoutChange()
  213. gochange = getGoChange()
  214. -- if smartChange.tilethang >= 40 then
  215. -- flagChange = true
  216. -- flagNormal = false
  217. -- flagGo = false
  218. -- firstTimePlay = firstTimePlay + 1
  219. -- chance = tonumber(smartChange.change)
  220. -- getPayout(chance)
  221. -- if firstTimePlay == 1 then
  222. -- nextbet = base / 100
  223. -- end
  224. -- if lose >= py / 2 then
  225. -- nextbet = previousbet + previousbet * smartChange.onlose / 100
  226. -- end
  227. -- bethigh = smartChange.defaultHi
  228. if winRoundStart == true then
  229. if typeWinPlay == 1 then
  230. nextbet = profit / 2
  231. chance = math.random(80, 95)
  232. flagChange = false
  233. flagNormal = true
  234. flagGo = false
  235. bethigh = math.random(0,100)%2==0
  236. else
  237. if startBigPayout == false then
  238. nextbet = profit / 18
  239. end
  240. chance = 5
  241. flagChange = false
  242. flagNormal = true
  243. flagGo = false
  244. bethigh = true
  245. startBigPayout = true
  246. countNumBetBigPayout = countNumBetBigPayout + 1
  247. end
  248. elseif gochange.tilethang >= 10 and balancelose < 0 then
  249. flagChange = false;
  250. flagNormal = false;
  251. chance = tonumber(gochange.change)
  252. getPayout(chance)
  253. bethigh = gochange.defaultHi
  254. if math.abs(balancelose) < base then
  255. nextbet = math.abs(balancelose) / (py - 1)
  256. -- elseif gochange.tilethang >= 65 and gochange.tilethang <= 70 then
  257. -- nextbet = (math.abs(balancelose) / 4) / (py - 1)
  258. -- elseif gochange.tilethang >= 45 and gochange.tilethang <= 50 then
  259. -- nextbet = (math.abs(balancelose) / 3) / (py - 1)
  260. elseif gochange.tilethang >= 25 and gochange.tilethang <= 30 then
  261. nextbet = (math.abs(balancelose) / 2) / (py - 1)
  262. elseif gochange.tilethang >= 10 and gochange.tilethang <= 20 then
  263. nextbet = (math.abs(balancelose) / golandau) / (py - 1)
  264. golandau = golandau - 1
  265. if golandau == 0 then
  266. golandau = 1
  267. end
  268. else
  269. chance = math.random(80, 90)
  270. bethigh = math.random(0,100)%2==0
  271. nextbet = base
  272. end
  273. flagGo = true
  274. firstTimePlay = 0
  275. else
  276. flagChange = false
  277. flagNormal = true
  278. flagGo = false
  279. firstTimePlay = 0
  280. chance = math.random(80, 90)
  281. bethigh = math.random(0,100)%2==0
  282. nextbet = base
  283. end
  284. if nextbet > balance then
  285. nextbet = balance / 2
  286. end
  287. if nextbet < 0.00000001 then
  288. nextbet = base
  289. end
  290. end
  291. createChange()
  292.  
  293. function dobet()
  294. ct += 1
  295. lk = wc*200/ct
  296. wg = wg + previousbet
  297. if nextbet >= hb then
  298. hb = nextbet
  299. end
  300. if lose >= hl then
  301. hl = lose
  302. end
  303. -- if notloseYet == true then
  304. -- phantramdego = 10
  305. -- else
  306. -- phantramdego = 1
  307. -- end
  308. if win then
  309. wc += 1
  310. nextbet = base
  311. if balancelose <= 0 and flagChange == false and flagNormal == false then
  312. balancelose = balancelose + currentprofit
  313. end
  314. firstTimePlay = 0
  315. if balancelose > 0 then
  316. balancelose = 0
  317. goRoundStart = false
  318. -- balancelose = storeBalanceLose
  319. -- storeBalanceLose = 0
  320. -- notloseYet = true
  321. -- dostoreBalance = false
  322. end
  323. lose = 0
  324. if targetResetSeeds == bets then
  325. resetseed()
  326. targetResetSeeds += 10;
  327. end
  328. if typeWinPlay == 1 and winRoundStart == true then
  329. winRoundStart = false
  330. elseif typeWinPlay == 2 and winRoundStart == true then
  331. winRoundStart = false
  332. startBigPayout = false
  333. countNumBetBigPayout = 0
  334. end
  335. else
  336. lose = lose + 1
  337. if flagChange == false then
  338. balancelose = balancelose + currentprofit
  339. end
  340. -- if notloseYet == true and (math.abs(balancelose) / balance * 100) >= phantramdego then
  341. -- golandau = 5
  342. -- notloseYet = false
  343. -- end
  344. end
  345. if typeWinPlay == 1 and winRoundStart == true then
  346. winRoundStart = false
  347. elseif typeWinPlay == 2 and winRoundStart == true then
  348. if countNumBetBigPayout == 18 then
  349. winRoundStart = false
  350. startBigPayout = false
  351. countNumBetBigPayout = 0
  352. end
  353. end
  354. if flagGo == true and (math.abs(balancelose) / balance * 100) >= 5 then
  355. golandau = 5
  356. end
  357. if (math.abs(balancelose) / balance * 100) >= 10 and goRoundStart == false then
  358. storeBalanceLose = storeBalanceLose + balancelose
  359. balancelose = 0
  360. end
  361. if round == bets then
  362. countRound = countRound + 1
  363. if storeBalanceLose < 0 then
  364. balancelose = balancelose + storeBalanceLose
  365. storeBalanceLose = 0
  366. goRoundStart = true
  367. elseif profit > 0 then
  368. winRoundStart = true
  369. end
  370. round = round + defaultRound
  371. end
  372. -- if (math.abs(balancelose) / balance * 100) >= 50 then
  373. -- balancelose = balancelose / 2
  374. -- storeBalanceLose = storeBalanceLose + balancelose
  375. -- end
  376. if balance >= stb + (targetPT * stb / 100) then
  377. print(" ")
  378. print(balance)
  379. print("TARGET ACHIEVED!!!")
  380. print(" ")
  381. seed()
  382. stop()
  383. end
  384. workingChange()
  385. print("")
  386. print("")
  387. print("------------------------------ CODE BY LUÂN -------------------------------")
  388. print(" BETTING CURRENCY : ".." ~~~ "..string.upper(currency).." ~~~ ")
  389. print("")
  390. print("Số lần withdraw "..countWithdraw)
  391. print("")
  392. print("Store balance "..string.format("%.8f",storeBalanceLose))
  393. print("")
  394. print(" Số tiền cần gỡ "..string.format("%.8f",balancelose))
  395. print("")
  396. print(" Profit "..string.format("%.8f",profit))
  397. print(" TOTAL BET "..(bets).." BETS")
  398. print(" Wagered ".. string.format("%.8f",wg))
  399. print("")
  400. print(" Start Balance "..string.format("%.8f",stb))
  401. print(" Current Balance "..string.format("%.8f",balance))
  402. print("")
  403. print(" Bet Amount "..string.format("%.8f",previousbet))
  404. print(" Chance "..string.format("%.3f",chance))
  405. print(" Largest Bet "..string.format("%.8f",hb))
  406. print("")
  407. print(" Lose Streak "..hl)
  408. print(" Current Lose Streak "..lose)
  409. print(" LUCKY "..string.format("%.3f",lk).."%")
  410. print("")
  411. print("-----------------------------------------------------------------------------------------")
  412. print("")
  413. print("")
  414. end
  415.  
  416. function s()
  417. stop()
  418. end
  419. function seed()
  420. resetseed()
  421. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement