Advertisement
Ypleitez

Untitled

Oct 24th, 2023
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.60 KB | None | 0 0
  1. --@ And_Another_Random_4%_5.0.1
  2.  
  3.  
  4. -------------SETTINGS-----------------------
  5.  
  6. minBet = 0.00000001
  7.  
  8. targetBal = 0.001
  9.  
  10. maxBet = minBet * 250
  11.  
  12. baseMulti = 2
  13. ---------------------------------------------
  14. lenthFactor = 1.0
  15. ---------------------------------------------
  16. bethigh = true
  17. hiLoOnWin = false
  18. seedEachRoll = false
  19. seedOnWin = false
  20. seedTracking = true
  21. ---------------------------------------------
  22. badSeedLenth = 70
  23. avgDiv = 0.6
  24. trackChanceMAX = 0.04
  25. trackBetX = 1
  26. lastChanceLenth = 20
  27. ---------------------------------------------
  28. hugeStart = true
  29. hugeStartX = 4
  30. bigStart = true
  31. startAfter = 1
  32. hiLoSwap = true
  33. ---------------------------------------------
  34. winLog = true
  35. wslog = true
  36. sound = true
  37. ---------------------------------------------
  38. pling = 20000
  39. ---------------------------------------------
  40. ---------------------------------------------
  41. ---------------------------------------------
  42. ---------------------------------------------
  43. ---------------------------------------------
  44. ---------------------------------------------
  45. ---------------------------------------------
  46. ---------------------------------------------
  47.  
  48.  
  49. baseBet = minBet * baseMulti
  50.  
  51.  
  52. if hugeStart then
  53. betCalc = baseBet * hugeStartX
  54. else
  55. betCalc = baseBet
  56. end
  57.  
  58.  
  59. nextbet = betCalc
  60. loseCount = 0
  61. curBal = balance
  62.  
  63.  
  64.  
  65. startChance = 0.01
  66. chanceBase = 4
  67. chanceMAX = startChance
  68. chanceCalc = chanceMAX
  69. chance = chanceCalc
  70. spent = 0
  71. runProfit = 0
  72. missed = 0
  73. prioHigh = true
  74.  
  75.  
  76. CC = startChance
  77. targetNumberH = (9999 - (CC * 100))
  78. targetNumberL = (CC * 100)
  79.  
  80.  
  81. if seedTracking then
  82. function newSeed()
  83. print("\n------------")
  84. print("\nCHANGING SEED")
  85. print("\n------------\n")
  86. resetseed()
  87. seedNew = true
  88. seedLow = false
  89. seedHigh = false
  90. seedLenth = 0
  91. gapHigh = 0
  92. gapHigh1 = 0
  93. gapHigh2 = 0
  94. gapLow = 0
  95. gapLow1 = 0
  96. gapLow2 = 0
  97. rollsHigh = 0
  98. rollsLow = 0
  99. avgSeedGapH = 0
  100. avgLast2GapH = 0
  101. avgSeedGapL = 0
  102. avgLast2GapL = 0
  103. newSeedAfter = 9999
  104. changeSoon = false
  105. badSeedAfter = badSeedLenth
  106. tries = 0
  107. chanceCalc = startChance
  108. loseCount = 0
  109. end
  110.  
  111. newSeed()
  112.  
  113. print("\n------------")
  114. print("\nSEED LIMIT = " .. string.format("%4.0f",badSeedLenth))
  115. print("\n------------\n")
  116. end
  117.  
  118. l1 = 15 * lenthFactor
  119. l2 = 14 * lenthFactor
  120. l3 = 13 * lenthFactor
  121. l4 = 12 * lenthFactor
  122.  
  123. l5 = 25 * lenthFactor
  124. l6 = 35 * lenthFactor
  125. l7 = 45 * lenthFactor
  126. l8 = 55 * lenthFactor
  127.  
  128.  
  129. p1 = l1
  130. p2 = p1 + l2
  131. p3 = p2 + l3
  132. p4 = p3 + l4
  133. p5 = p4 + l5
  134. p6 = p5 + l6
  135. p7 = p6 + l7
  136. p8 = p7 + l8
  137.  
  138. function dobet()
  139.  
  140.  
  141.  
  142.  
  143. --------------------------------------------
  144. if seedEachRoll and !seedTracking then
  145. resetseed()
  146. end
  147. --------------------------------------------
  148.  
  149.  
  150. ------------Last-Roll--------------
  151. LBA = lastBet.Amount
  152. LBR = math.floor(lastBet.Roll * 100)
  153. LBID = lastBet.Id
  154. LBP = lastBet.Profit
  155. LBC = lastBet.Chance
  156. LBN = lastBet.Nonce
  157. spent += LBA
  158. curBal = balance
  159.  
  160.  
  161. baseBet = minBet * baseMulti
  162. -----------------------------------
  163.  
  164. if wslog and !win then
  165.  
  166. if (bethigh and LBR * 0.01 <= LBC) or (not bethigh and (LBR * 0.01 >= (100 - LBC))) then
  167.  
  168. POCC = 99 / LBC
  169.  
  170.  
  171. end
  172. end
  173.  
  174.  
  175.  
  176. if win then
  177.  
  178.  
  179. if seedOnWin and !seedTracking then
  180. resetseed()
  181. end
  182.  
  183. if hiLoOnWin and !seedTracking then
  184. bethigh = !bethigh
  185. end
  186.  
  187.  
  188.  
  189. if hugeStart then
  190. betCalc = baseBet * hugeStartX
  191. else
  192. betCalc = baseBet
  193. end
  194.  
  195. chanceMAX = startChance
  196. loseCount = 0
  197. missed = 0
  198. x100missed = 0
  199. plingGG = false
  200.  
  201. chanceCalc = startChance
  202.  
  203. if curBal >= targetBal then
  204. print("\nTARGET REACHED. GRATS")
  205. stop()
  206. end
  207.  
  208. if seedTracking then
  209.  
  210. if bethigh and (!seedHigh or !prioHigh) and !seedNew then
  211. if seedLow then
  212. print("\n------------")
  213. print("\nSWITCHING TO LOW")
  214. print("\n------------\n")
  215. bethigh = false
  216. else
  217. changeSoon = true
  218. newSeedAfter = seedLenth + lastChanceLenth
  219. print("\n------------")
  220. print("\nCHANGING SEED IN " .. lastChanceLenth .. " ROLLS")
  221. print("\n------------\n")
  222. end
  223. end
  224.  
  225. if !bethigh and (!seedLow or prioHigh) and !seedNew then
  226. if seedHigh then
  227. print("\n------------")
  228. print("\nSWITCHING TO HIGH")
  229. print("\n------------\n")
  230. bethigh = true
  231. else
  232. changeSoon = true
  233. newSeedAfter = seedLenth + lastChanceLenth
  234. print("\n------------")
  235. print("\nCHANGING SEED IN " .. lastChanceLenth .. " ROLLS")
  236. print("\n------------\n")
  237. end
  238. end
  239.  
  240. end
  241.  
  242.  
  243.  
  244.  
  245.  
  246. else
  247.  
  248. loseCount += 1
  249.  
  250.  
  251. if hugeStart then
  252. betCalc = baseBet * hugeStartX
  253. else
  254. betCalc = baseBet
  255. end
  256.  
  257. end
  258.  
  259. if loseCount > 1 then
  260. chanceCalc += 0.01
  261. end
  262.  
  263. if (loseCount >= 6) then
  264. betCalc = baseBet * 1
  265. if bigStart then
  266. chanceMAX = 0.5
  267. else
  268. chanceMAX = 1.5
  269. end
  270. end
  271.  
  272. if (loseCount >p1) then
  273. betCalc = baseBet * 1.25
  274. if bigStart then
  275. chanceMAX = 1
  276. else
  277. chanceMAX = 2.5
  278. end
  279. end
  280.  
  281. if (loseCount >p2) then
  282. betCalc = baseBet * 1.5
  283. if bigStart then
  284. chanceMAX = 2
  285. else
  286. chanceMAX = 3
  287. end
  288. end
  289.  
  290. if (loseCount >p3) then
  291. betCalc = baseBet * 2
  292. if bigStart then
  293. chanceMAX = 3
  294. else
  295. chanceMAX = 3.5
  296. end
  297. end
  298.  
  299. if (loseCount >p4) then
  300. incMulti = 1.04
  301.  
  302. chanceMAX = 4
  303.  
  304. end
  305.  
  306. if (loseCount >p5) then
  307. incMulti = 1.035
  308. chanceMAX = 3.66
  309.  
  310. end
  311.  
  312. if (loseCount >p6) then
  313. incMulti = 1.03
  314. chanceMAX = 3.33
  315.  
  316. end
  317.  
  318. if (loseCount >p7) then
  319. incMulti = 1.025
  320. chanceMAX = 4
  321.  
  322. end
  323.  
  324. if (loseCount >p8) then
  325. incMulti = 1.01
  326. chanceMAX = 5
  327. end
  328.  
  329. if (loseCount >p4) then
  330.  
  331. betCalc = previousbet * incMulti
  332.  
  333. end
  334.  
  335.  
  336. if (loseCount >= 6) then
  337. chanceCalc = math.random(1,chanceMAX * 100) / 100
  338. end
  339.  
  340. if chanceCalc < 0.01 then
  341. chanceCalc = 0.01
  342. end
  343.  
  344. if chanceCalc > chanceBase then
  345. chanceCalc = chanceBase
  346. end
  347.  
  348. chance = chanceCalc
  349. nextbet = betCalc
  350.  
  351. ---------------------------------------------
  352. ---------------------------------------------
  353.  
  354. if seedTracking then
  355.  
  356.  
  357.  
  358. seedLenth += 1
  359. gapHigh += 1
  360. gapLow += 1
  361.  
  362.  
  363. if seedLenth > 0 then
  364.  
  365. if LBR >= 9900 then
  366. rollsHigh += 1
  367. gapHigh2 = gapHigh1
  368. gapHigh1 = gapHigh
  369. gapHigh = 0
  370. if seedNew then
  371. tries +=1
  372. if tries == 3 then
  373. badSeedAfter = seedLenth + 1
  374. else
  375. badSeedAfter = seedLenth + badSeedLenth
  376. end
  377. print("\n\nBSA = " .. badSeedAfter .. " (" .. tries .. ")\n\n")
  378. end
  379. end
  380.  
  381. avgSeedGapH = seedLenth / rollsHigh
  382. avgLast2GapH = (gapHigh2 + gapHigh1) / 2
  383.  
  384. if !seedNew and (avgSeedGapH <= badSeedLenth * avgDiv) and (avgLast2GapH <= badSeedLenth) and rollsHigh >= 2 then
  385. seedHigh = true
  386. else
  387. seedHigh = false
  388. end
  389.  
  390. if LBR <= 99 then
  391. rollsLow += 1
  392. gapLow2 = gapLow1
  393. gapLow1 = gapLow
  394. gapLow = 0
  395. if seedNew then
  396. tries +=1
  397. if tries == 3 then
  398. badSeedAfter = seedLenth + 1
  399. else
  400. badSeedAfter = seedLenth + badSeedLenth
  401. end
  402. print("\n\nBSA = " .. badSeedAfter .. " (" .. tries .. ")\n\n")
  403. end
  404. end
  405.  
  406. avgSeedGapL = seedLenth / rollsLow
  407. avgLast2GapL = (gapLow2 + gapLow1) / 2
  408.  
  409. if !seedNew and (avgSeedGapL <= badSeedLenth * avgDiv) and (avgLast2GapL <= badSeedLenth) and rollsLow >= 2 then
  410. seedLow = true
  411. else
  412. seedLow = false
  413. end
  414.  
  415. end
  416.  
  417. if avgSeedGapH > avgSeedGapL then
  418. prioHigh = true
  419. else
  420. prioHigh = false
  421. end
  422.  
  423.  
  424.  
  425. if LBR >= 9900 or LBR <= 99 then
  426. print("\n------------")
  427. print("\nROLLED : " .. LBR)
  428. print("\nNONCE : " .. seedLenth)
  429. if seedHigh then
  430. print("\nPRIO ON HIGH")
  431. end
  432. if seedLow then
  433. print("\nPRIO ON LOW")
  434. end
  435. print("\n------------")
  436. print("\nHIGH ROLLS : " .. rollsHigh)
  437. if rollsHigh > 0 then
  438. print("\nAVERAGE HIGH GAP : " .. string.format("%4.0f",avgSeedGapH) .. " (" .. string.format("%4.0f",(badSeedLenth * avgDiv)) .. ")")
  439. end
  440. if rollsHigh >= 2 then
  441. print("\nAVERAGE HIGH GAP L2R: " .. string.format("%4.0f",avgLast2GapH) .. " (" .. string.format("%4.0f",badSeedLenth) .. ")")
  442. end
  443. print("\n------------")
  444. print("\nLOW ROLLS : " .. rollsLow)
  445. if rollsLow > 0 then
  446. print("\nAVERAGE LOW GAP : " .. string.format("%4.0f",avgSeedGapL) .. " (" .. string.format("%4.0f",(badSeedLenth * avgDiv)) .. ")")
  447. end
  448. if rollsLow >= 2 then
  449. print("\nAVERAGE LOW GAP L2R: " .. string.format("%4.0f",avgLast2GapL) .. " (" .. string.format("%4.0f",badSeedLenth) .. ")")
  450. end
  451. print("\n------------\n")
  452. end
  453.  
  454.  
  455.  
  456. if hiLoSwap then
  457. if bethigh and !seedHigh and seedLow then
  458. print("\n------------")
  459. print("\nSWITCHING TO LOW")
  460. print("SWITCHING TO LOW")
  461. print("SWITCHING TO LOW")
  462. print("\n------------\n")
  463. bethigh = false
  464. end
  465. if !bethigh and seedHigh and !seedLow then
  466. print("\n------------")
  467. print("\nSWITCHING TO HIGH")
  468. print("SWITCHING TO HIGH")
  469. print("SWITCHING TO HIGH")
  470. print("\n------------\n")
  471. bethigh = true
  472. end
  473. end
  474.  
  475.  
  476.  
  477. if seedHigh and changeSoon then
  478. print("\n------------")
  479. print("\nSTAYING ON SEED")
  480. print("\nGOING HIGH")
  481. print("\n------------\n")
  482. bethigh = true
  483. changeSoon = false
  484. end
  485.  
  486. if seedLow and changeSoon then
  487. print("\n------------")
  488. print("\nSTAYING ON SEED")
  489. print("\nGOING LOW")
  490. print("\n------------\n")
  491. bethigh = false
  492. changeSoon = false
  493. end
  494.  
  495.  
  496. if seedLenth > newSeedAfter and changeSoon then
  497. newSeed()
  498. end
  499.  
  500.  
  501.  
  502.  
  503. if seedNew then
  504.  
  505. if hugeStart then
  506. nextbet = baseBet * hugeStartX
  507. else
  508. nextbet = baseBet
  509. end
  510.  
  511. if seedLenth >= 6 then
  512.  
  513. nextbet = minBet * trackBetX
  514. chanceCalc = math.random(100,trackChanceMAX * 10000) / 10000
  515. if chanceCalc < 0.01 then
  516. chanceCalc = 0.01
  517. end
  518. chance = chanceCalc
  519. end
  520.  
  521. if rollsHigh >= startAfter then
  522. bethigh = true
  523. seedHigh = true
  524. seedLow = false
  525. seedNew = false
  526. loseCount = 0
  527. print("\n------------")
  528. print("\n||||||| STARTING HUNT |||||||")
  529. print("\n\n\n\nPRIO ON HIGH")
  530. print("\n\n\n\n------------\n")
  531. end
  532.  
  533. if rollsLow >= startAfter then
  534. bethigh = false
  535. seedHigh = false
  536. seedNew = false
  537. seedLow = true
  538. loseCount = 0
  539. print("\n------------")
  540. print("\n||||||| STARTING HUNT |||||||")
  541. print("\n\n\n\nPRIO ON LOW")
  542. print("\n\n\n\n------------\n")
  543. end
  544.  
  545. if seedLenth >= badSeedAfter then
  546. newSeed()
  547. end
  548.  
  549.  
  550. end
  551.  
  552.  
  553.  
  554. end
  555.  
  556.  
  557.  
  558.  
  559. if nextbet < minBet then
  560. nextbet = minBet
  561. end
  562. if nextbet > curBal then
  563. nextbet = curBal
  564. end
  565. if nextbet >= maxBet then
  566. nextbet = maxBet
  567. end
  568. if nextbet <= 0 then
  569. stop()
  570. end
  571.  
  572.  
  573.  
  574. end
  575.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement