Advertisement
Ypleitez

Untitled

Oct 12th, 2023
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.02 KB | None | 0 0
  1. -- Risk, Fast profit
  2.  
  3. chance = 50
  4. base = 0.00000001
  5. base1 = 0.00000002
  6. target = balance * 2.0 -- Set target profit: 1.1 = 10%, 1.2 = 20%, 1.3 = 30%, 2.0 = 100%
  7.  
  8. base2 = base1
  9. nextbet = base
  10. bethigh = false
  11. balance2 = balance
  12. multiplier = 1.15 -- multiplier bet
  13. risk = 1.0 -- multiplier risk
  14. underover = 2 -- 0-under, 1-over, 2-random, 3-on win
  15.  
  16. streak1 = 1
  17. streak2 = 2
  18. streak3 = 3
  19. streak4 = 4
  20.  
  21. chancemin1 = 30
  22. chancemax1 = 50
  23.  
  24. chancemin2 = 10
  25. chancemax2 = 30
  26.  
  27. chancemin3 = 10
  28. chancemax3 = 50
  29.  
  30. winn = true
  31.  
  32. if underover == 0 then
  33. bethigh = false
  34. end
  35. if underover == 1 then
  36. bethigh = true
  37. end
  38. if underover == 2 then
  39. r=math.random(1,2)
  40. if r == 1 then
  41. bethigh=true
  42. else
  43. bethigh=false
  44. end
  45. end
  46. if underover == 3 then
  47. if winn then
  48. r=math.random(1,2)
  49. if r == 1 then
  50. bethigh=true
  51. else
  52. bethigh=false
  53. end
  54. end
  55. end
  56.  
  57.  
  58. function dobet()
  59.  
  60. if balance >= target then
  61. stop()
  62. print("\n\n")
  63. print (">>> Profit reached: " ..profit)
  64. print("\n\n")
  65. end
  66.  
  67. if underover == 0 then
  68. bethigh = false
  69. end
  70. if underover == 1 then
  71. bethigh = true
  72. end
  73. if underover == 2 then
  74. r=math.random(1,2)
  75. if r == 1 then
  76. bethigh=true
  77. else
  78. bethigh=false
  79. end
  80. end
  81. if underover == 3 then
  82. if win then
  83. r=math.random(1,2)
  84. if r == 1 then
  85. bethigh=true
  86. else
  87. bethigh=false
  88. end
  89. end
  90. end
  91.  
  92. if balance > balance2 then
  93. base2 = base * risk
  94. balance2 = balance
  95. else
  96. base2 = balance2 - balance
  97. if base2 < base * risk then
  98. base2 = base * risk
  99. end
  100. end
  101.  
  102. --bethigh = true
  103.  
  104. if base2 < base1 then
  105. base2 = base1
  106. end
  107.  
  108. chance = math.random(chancemin1*100, chancemax1*100)/100
  109.  
  110. if profit > 0 then
  111. base2 = base1
  112. end
  113.  
  114. if win then
  115. chance = math.random(chancemin2*100, chancemax2*100)/100
  116. nextbet = base
  117. else
  118. nextbet = previousbet * multiplier
  119. end
  120.  
  121. if currentstreak == -streak1 then
  122. chance = math.random(chancemin2*100, chancemax2*100)/100
  123. nextbet = base2 * multiplier
  124. end
  125.  
  126. if currentstreak == -streak2 then
  127. chance = math.random(chancemin2*100, chancemax2*100)/100
  128. nextbet = previousbet
  129. end
  130.  
  131. if currentstreak == -streak2 then
  132. base2 = previousbet
  133. end
  134.  
  135. if currentstreak == -streak3 then
  136. chance = math.random(chancemin2*100, chancemax2*100)/100
  137. nextbet = previousbet
  138. end
  139.  
  140. if currentstreak == -streak3 then
  141. base2 = previousbet
  142. end
  143.  
  144. if currentstreak == -streak4 then
  145. nextbet = (balance2 - balance) * multiplier
  146. chance = math.random(chancemin3*100, chancemax3*100)/100
  147. end
  148.  
  149. --print("currentstreak = "..currentstreak)
  150. --print("chance = "..chance)
  151.  
  152. if balance < nextbet then
  153. stop()
  154. print(balance)
  155. print("You lose!")
  156. end
  157.  
  158. end
  159.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement