Advertisement
dicekode

12-05-2022--02

Dec 5th, 2022
616
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.23 KB | None | 0 0
  1. tinybet = balance * 1e-8
  2. hugebet = tinybet * (20/3)
  3. repbet  = 0.00000001  
  4. chancex = 95.03  
  5. chancey = 3.2  
  6. iflose  = 6.8  
  7. maxlose = 0  
  8. r       = 0  
  9. rr      = 0
  10. res     = 0  
  11. mm      = 0
  12. target  = balance * 2
  13.  
  14. basebet  = hugebet  
  15. nextbet  = basebet  
  16. chance   = chancex  
  17. stopwin  = false  
  18. reprolls = false  
  19.    
  20. resetstats()  
  21. resetseed()  
  22. resetchart()
  23.  
  24. function dobet()  
  25.    
  26.     if win then  
  27.         if stopwin then stop() end  
  28.         reprolls = false  
  29.         r        = 0  
  30.         rr       = 0
  31.         res      = 0  
  32.         nextbet  = hugebet
  33.         chance   = chancex  
  34.     else  
  35.         if reprolls then
  36.             r   += 1
  37.             res = rr - r
  38.             if (r == rr) then  
  39.                 reprolls = false
  40.                 res      = 0
  41.                 r        = 0
  42.                 mm       = math.random(1,10)  
  43.                 nextbet  = tinybet * mm
  44.             end  
  45.         else
  46.             r += 1
  47.             if (r >= 20) then
  48.                 if math.random(1,100)%2 == 0 then
  49.                     nextbet = nextbet + (nextbet * (iflose / 100))
  50.                     nextbet = nextbet + (previousbet/15)
  51.                     chance  = math.random(2.2*100,3.3*100)/100
  52.                 else
  53.                     chance += 0.05
  54.                     if chance > 3.3 then chance = 2.2 end
  55.                 end
  56.             else
  57.                 nextbet = nextbet + (nextbet * (iflose / 100))  
  58.             end
  59.         end  
  60.         if (currentstreak == -1 and reprolls == false) then    
  61.             chance = chancey  
  62.         end  
  63.         if (currentstreak == -2 and reprolls == false) then    
  64.             reprolls = true  
  65.             nextbet  = repbet  
  66.             rr       = math.random(30,60)
  67.             res      = rr - r  
  68.         end  
  69.     end  
  70.     if currentstreak < -maxlose and maxlose > 0 then stopwin = true end  
  71.     if balance > target then stop() end  
  72.     print("\n\n♦ Profit:     [ "..string.format("%.2f",profit/(balance-profit)*100).."% ]")
  73.     if not reprolls then print("") end
  74.     if reprolls then
  75.         print("▶ Remaining:  [ "..string.format(res).." / "..string.format(rr).." ]\n")  
  76.     end
  77. end
  78.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement