Advertisement
Baliarta

RECOVERY

May 18th, 2023
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.87 KB | None | 0 0
  1. targetprofit = balance * 1.1
  2. chance = math.random(5,90)
  3. base = balance * 0.00000500
  4. nextbet = base
  5. losecount = 0
  6. a = 0
  7. c = 0
  8.  
  9. function dobet()
  10. print("losecount: " .. losecount)
  11.  
  12. if balance >= targetprofit then
  13. stop()
  14. end
  15.  
  16. if a > c then
  17. bethigh = not bethigh
  18. a = 0
  19. end
  20.  
  21. if c > 3 then
  22. bethigh = not bethigh
  23. c = 0
  24. end
  25.  
  26. if win then
  27. a += 1
  28. nextbet = base
  29. chance = math.random(5, 90)
  30. losecount = 0
  31. else
  32. c += 1
  33. if lastBet.chance < 10 then
  34. if lastBet.chance == 2 then
  35. nextbet = previousbet * 1.0233
  36. chance = 2
  37. end
  38. if lastBet.chance == 3 then
  39. nextbet = previousbet * 1.0333
  40. chance = 3
  41. end
  42. if lastBet.chance == 4 then
  43. nextbet = previousbet * 1.0444
  44. chance = 4
  45. end
  46. if lastBet.chance == 5 then
  47. nextbet = previousbet * 1.0555
  48. chance = 5
  49. end
  50. if lastBet.chance == 6 then
  51. nextbet = previousbet * 1.0644
  52. chance = 6
  53. end
  54. if lastBet.chance == 7 then
  55. nextbet = previousbet * 1.0744
  56. chance = 7
  57. end
  58. if lastBet.chance == 8 then
  59. nextbet = previousbet * 1.0844
  60. chance = 8
  61. end
  62. if lastBet.chance == 9 then
  63. nextbet = previousbet * 1.0944
  64. chance = 9
  65. end
  66. end
  67. if lastBet.chance >= 10 then
  68. chance = 25.9999999
  69. losecount += 1
  70. nextbet = previousbet * 1.33
  71. if (losecount >= 6) then
  72. nextbet = previousbet * 1.33
  73. chance = 10
  74. end
  75. if (losecount >= 10) then
  76. nextbet = previousbet * 1.33
  77. chance = 20
  78. end
  79. if (losecount >= 12) then
  80. nextbet = previousbet * 1.33
  81. chance = 10
  82. end
  83. if (losecount >= 16) then
  84. nextbet = previousbet * 1.55
  85. chance = 28
  86. end
  87. if ( losecount >= 18) then
  88. nextbet = previousbet * 1.5
  89. chance = 13
  90. end
  91. if ( losecount >= 19) then
  92. nextbet = previousbet * 1.51
  93. chance = 14.3
  94. end
  95. if (losecount >= 20) then
  96. nextbet = previousbet * 1.53
  97. chance = 15.5
  98. end
  99. if (losecount >= 21) then
  100. nextbet = previousbet * 1.56
  101. chance = 16.2
  102. end
  103. if (losecount >= 22) then
  104. nextbet = previousbet * 1.56
  105. chance = 16.68
  106. end
  107. if (losecount >= 23) then
  108. nextbet = previousbet * 1.56
  109. chance = 17.18
  110. end
  111. if (losecount >= 25) then
  112. nextbet = previousbet * 1.3
  113. chance = 33
  114. end
  115. if (losecount >= 31) then
  116. nextbet = previousbet * 1.3
  117. chance = 40
  118. end
  119. end
  120. end
  121. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement