LUA JUSTDICE Clamscript V2 2022


SUBMITTED BY: boogeymanblue

DATE: Feb. 7, 2022, 6:28 a.m.

FORMAT: Lua

SIZE: 8.2 kB

HITS: 486

  1. --Warming up
  2. math.random(); math.random(); math.random()
  3. price = 0.741811
  4. stopLossUSD = 0.00732134075505
  5. stopLoss = stopLossUSD/price
  6. oldbalance = balance
  7. takeProfitPercent = 0.1
  8. takeProfit = oldBalance*takeProfitPercent
  9. maxProfit = oldBalance*3
  10. listChance = {24.75, 19.8, 16.5, 13.75, 12.37, 11, 9.9}
  11. listPayout = {4, 5, 6, 7, 8, 9, 10}
  12. listMultiply = {1.35, 1.26, 1.21, 1.17, 1.15, 1.13, 1.12}
  13. listMultiplyLost = {10.67, 9.75, 9.6, 9, 9, 8.625, 9}
  14. listDivideBalance = {3700, 3800, 4430, 4390, 5170, 5290, 6660}
  15. divebalace = 1000
  16. mainbasebet = stopLoss/divebalace
  17. basebet = mainbasebet
  18. nextbet = basebet
  19. multiply = 1.12
  20. multiplyLoss = 8
  21. payout = 10
  22. chance = 9.90
  23. winStreak = 0
  24. maxWinStreak = 0
  25. lossStreak = 0
  26. maxStreakRS = 0
  27. seedRandomizerX = 0
  28. hiloRandomizerX = 0
  29. highProfit = 0
  30. highBalance = oldBalance
  31. lowProfit = 0
  32. timeStart = os.clock()
  33. timeRun = 0
  34. wager = 0
  35. CHANCE_RANDOMIZER = 0
  36. sleepNext = false
  37. lastTime = 0
  38. time = 1800
  39. timeMin = 600
  40. timeMax = 1800
  41. joker = 0
  42. countJoke = 0
  43. won = false
  44. function gendMaxStreakRS()
  45. maxStreakRS = math.random(1,3)
  46. if(maxStreakRS <= 1)then
  47. maxStreakRS = 0
  48. elseif(maxStreakRS <= 2)then
  49. maxStreakRS = payout
  50. elseif(maxStreakRS <= 3)then
  51. maxStreakRS = payout * 2
  52. end
  53. end
  54. function seedRandomizer()
  55. seedRandomizerX = math.random(1, 3)
  56. if(seedRandomizerX == 2)then
  57. resetseed()
  58. end
  59. end
  60. function hiloRandomizer()
  61. hiloRandomizerX = math.random(1, 3)
  62. if(hiloRandomizerX == 2)then
  63. hiloRandomizerX = math.random(0, 1)
  64. if (hiloRandomizerX == 1) then
  65. bethigh = true
  66. else
  67. bethigh = false
  68. end
  69. end
  70. end
  71. function randomChane()
  72. CHANCE_RANDOMIZER = math.random(1, 4)
  73. if(CHANCE_RANDOMIZER == 1)then
  74. CHANCE_RANDOMIZER = math.random(1, #listChance)
  75. chance = listChance[CHANCE_RANDOMIZER]
  76. chanceBack = chance
  77. payout = listPayout[CHANCE_RANDOMIZER]
  78. multiply = listMultiply[CHANCE_RANDOMIZER]
  79. divebalace = listDivideBalance[CHANCE_RANDOMIZER]
  80. multiply = listMultiply[CHANCE_RANDOMIZER]
  81. multiplyLoss = listMultiplyLost[CHANCE_RANDOMIZER]
  82. end
  83. end
  84. function jokeDealer()
  85. joker = math.random(1, 50)
  86. if(joker == 25)then
  87. nextbet = 0.00014/price
  88. countJoke = countJoke + 1
  89. print("SEND JOKES...")
  90. end
  91. end
  92. function randomSleepTime()
  93. time = math.random(1, 6)
  94. if(time <= 1)then
  95. time = math.random(300, 600)
  96. elseif(time <= 3)then
  97. time = math.random(600, 1200)
  98. elseif(time <= 6)then
  99. time = math.random(1200, 1800)
  100. end
  101. end
  102. function sleepToNextBet()
  103. if(os.clock() - lastTime <= time)then
  104. typeBet = math.random(1, 2)
  105. newtime = time - (os.clock() - lastTime)
  106. print("[Wait]\t\t[" ..string.format("%.2d:%.2d", math.floor(newtime/60), math.floor(newtime%60)).. "] for next session...")
  107. nextbet = 0
  108. jokeDealer()
  109. else
  110. print("Back to bet...")
  111. hiloRandomizer()
  112. seedRandomizer()
  113. randomChane()
  114. gendMaxStreakRS()
  115. highBalance = oldBalance + profit
  116. mainbasebet = highBalance/divebalace
  117. basebet = mainbasebet
  118. nextbet = mainbasebet
  119. lossStreak = 0
  120. winStreak = 0
  121. sleepNext = false
  122. if(maxStreakRS == 0)then
  123. nextbet = basebet
  124. else
  125. nextbet = 0
  126. end
  127. end
  128. end
  129. hiloRandomizer()
  130. seedRandomizer()
  131. function dobet()
  132. wager = wager + nextbet
  133. if won==true with "if balance>oldbalance then won=true oldbalance=balance end if balance<oldbalance then won=false oldbalance=balance end" then
  134. winStreak = winStreak + 1
  135. if(lossStreak >= maxStreakRS and lossStreak < maxStreakRS + payout * 2)then
  136. maxWinStreak = maxWinStreak + 1
  137. hiloRandomizer()
  138. seedRandomizer()
  139. randomChane()
  140. gendMaxStreakRS()
  141. mainbasebet = highBalance/divebalace
  142. basebet = mainbasebet
  143. nextbet = mainbasebet
  144. else
  145. winStreak = 0
  146. if(lossStreak >= maxStreakRS + payout * 2)then
  147. gendMaxStreakRS()
  148. basebet = basebet * multiplyLoss
  149. end
  150. maxWinStreak = 0
  151. end
  152. if(maxStreakRS == 0)then
  153. nextbet = basebet
  154. else
  155. nextbet = 0
  156. end
  157. lossStreak = 0
  158. else
  159. winStreak = 0
  160. lossStreak = lossStreak + 1
  161. if(lossStreak >= maxStreakRS and lossStreak < maxStreakRS + payout* 2)then
  162. if(nextbet == 0) then
  163. nextbet = basebet
  164. end
  165. nextbet = nextbet*multiply
  166. else
  167. nextbet = 0
  168. end
  169. end
  170. if(profit >= highProfit)then
  171. highProfit = profit
  172. highBalance = oldBalance + highProfit
  173. elseif(profit < lowProfit)then
  174. lowProfit = profit
  175. end
  176. timeRun = math.floor(os.clock() - timeStart)
  177. print("\n\n\n\n\n")
  178. print("<==========================================>")
  179. if(sleepNext)then
  180. sleepToNextBet()
  181. print("[Next Bet]:\t["..string.format("%.8f",nextbet*price).."]")
  182. print("[Chance]:\t\t["..string.format("%.2f",chance).."]")
  183. print("[Payout]:\t\t["..tostring(payout).."]")
  184. print("[Streak]:\t\t["..tostring(maxStreakRS).."]")
  185. else
  186. print("[Next Bet]:\t["..string.format("%.8f",nextbet*price).."]")
  187. print("[Chance]:\t\t["..string.format("%.2f",chance).."]")
  188. print("[Payout]:\t\t["..tostring(payout).."]")
  189. print("[Streak]:\t\t["..tostring(maxStreakRS).."]")
  190. print("[Next Bet]:\t["..string.format("%.8f",nextbet*price).."]")
  191. print("[Chance]:\t\t["..string.format("%.2f",chance).."]")
  192. print("[Payout]:\t\t["..tostring(payout).."]")
  193. print("[Streak]:\t\t["..tostring(maxStreakRS).."]")
  194. print("[Profit]:\t\t["..string.format("%.8f",profit*price).."] ["..string.format("%.4f",profit/(oldBalance)*100).."]%")
  195. print("[Base Bet]:\t["..string.format("%.8f",basebet*price).."] ["..string.format("%.4f",basebet/(oldBalance)*100).."]%")
  196. print("[High PF]:\t\t["..string.format("%.8f",highProfit*price).."] ["..string.format("%.4f",highProfit/(oldBalance)*100).."]%")
  197. print("[Low PF]:\t\t["..string.format("%.8f",lowProfit*price).."] ["..string.format("%.4f",lowProfit/(oldBalance)*100).."]%")
  198. print("[Sleep PF]:\t["..string.format("%.8f",takeProfit*price).."] ["..string.format("%.4f",takeProfit/(oldBalance)*100).."]%")
  199. if(timeRun > 0)then
  200. print("<==========================================>")
  201. print("[Wager]:\t\t["..string.format("%.8f",wager*price).."] ["..string.format("%.4f",wager/(oldBalance)*100).."]%")
  202. print("[Per hour]:\t["..string.format("%.8f",wager*price/timeRun*3600).."] ["..string.format("%.4f",wager/timeRun*3600/oldBalance*100).."]%")
  203. print("[Per day]:\t\t["..string.format("%.8f",wager*price/timeRun*86400).."] ["..string.format("%.4f",wager/timeRun*86400/oldBalance*100).."]%")
  204. end
  205. end
  206. print("<==========================================>")
  207. print("[Jokes ]:\t\t["..string.format("%d",countJoke).."]")
  208. print("<==========================================>")
  209. if(profit >= takeProfit) then
  210. takeProfit = profit + (oldBalance + profit)*takeProfitPercent
  211. sleepNext = true
  212. lastTime = os.clock()
  213. randomSleepTime()
  214. nextbet = 0
  215. highBalance = 0
  216. elseif(profit-nextbet <= stopLoss*(-1) or profit >= maxProfit)then
  217. stop()
  218. end
  219. end

comments powered by Disqus