Advertisement
Guest User

Untitled

a guest
Jun 18th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.50 KB | None | 0 0
  1. resetstats()
  2. startbalance = balance
  3. highbalance = 0
  4. chance = 89.00
  5. base = 10
  6. nextbet = base
  7. onlose = 1.3
  8. onwin = 0.968
  9. losebalance = 0
  10. losetarget = 0
  11. target = 1000 * balance / 100
  12. stopbot = 0
  13. go = 0
  14. py = 0
  15. basego = 0
  16. wg = 0
  17. hibet = 0
  18. ct = 0
  19. wc = 0
  20.  
  21.  
  22. function dobet()
  23. ct = ct + 1
  24. wg = wg + previousbet
  25. py = 100 / chance
  26. py = py - (py * (1/100))
  27.  
  28. if previousbet > hibet then
  29. hibet = previousbet
  30. end
  31. if balance > highbalance then
  32. highbalance = balance
  33. end
  34. losetarget = highbalance * (1/100)
  35. losebalance = losebalance + currentprofit
  36. if losebalance > 0 then
  37. losebalance = 0
  38. end
  39. if losebalance >= 0 then
  40. go = 0
  41. end
  42.  
  43. chance = 89.00
  44. nextbet = base
  45. bethigh = math.random(0,100)%2==0
  46.  
  47. if win and lastBet.Chance == 89.00 then
  48. wc = wc + 1
  49. if wc > 0 then
  50. if chance == 89.00 then
  51. nextbet = previousbet * onwin
  52. bethigh = math.random(0,100)%2==0
  53. end
  54. end
  55. end
  56. if !win then
  57. if chance == 89.00 then
  58. nextbet = previousbet * onlose
  59. bethigh = math.random(0,100)%2==0
  60. end
  61. end
  62.  
  63. if math.abs(losebalance) > losetarget then
  64. go = go + 1
  65. end
  66.  
  67. if go > 0 then
  68. wc = 0
  69. chance = math.random(30,70)
  70. py = 100 / chance
  71. py = py - (py * (1/100))
  72. basego = (math.abs(losebalance)/ 1) / (py - 1)
  73. nextbet = basego
  74. bethigh = !bethigh
  75. end
  76.  
  77. if ct == 5000 then
  78. ct = 0
  79. sleep(2000)
  80. resetseed()
  81. end
  82. if currency == "doge" then
  83. if nextbet < 0.05000000 then
  84. nextbet = math.random(1,100) * 0.05000000
  85. end
  86. end
  87. if profit >= target then
  88. stop()
  89. print("")
  90. print("")
  91. print("")
  92. print(" --- DONE!!! ---")
  93. print("")
  94. print(" --- YOU WIN ---")
  95. print("")
  96. print("")
  97. print("")
  98. end
  99.  
  100. print("")
  101. print("")
  102. print("")
  103. print(" - - - - - - - - - - - - - - - - - -")
  104. print(" --- Total Bets "..bets.." BETS")
  105. print(" - - - - - - - - - - - - - - - - - -")
  106. print(" --- Star Balance "..string.format("%.8f",startbalance))
  107. print(" - - - - - - - - - - - - - - - - - -")
  108. print(" --- Current Balance "..string.format("%.8f",balance))
  109. print(" - - - - - - - - - - - - - - - - - -")
  110. print(" --- Highest Balance "..string.format("%.8f",highbalance))
  111. print(" - - - - - - - - - - - - - - - - - -")
  112. print(" --- Largest Bet "..string.format("%.8f",hibet))
  113. print(" - - - - - - - - - - - - - - - - - -")
  114. print(" --- WAGERED "..string.format("%.8f",wg))
  115. print(" - - - - - - - - - - - - - - - - - -")
  116. print(" --- Profit "..string.format("%.8f",profit))
  117. print(" - - - - - - - - - - - - - - - - - -")
  118. print(" --- Loss Balance "..string.format("%.8f",math.abs(losebalance)))
  119. print(" - - - - - - - - - - - - - - - - - -")
  120. print(" --- Loss Limit "..string.format("%.8f",losetarget))
  121. print(" - - - - - - - - - - - - - - - - - -")
  122. print("")
  123. print("")
  124. print("")
  125. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement