Advertisement
Keiich

Keiichi_Random%_20.44_Updated

Aug 23rd, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.90 KB | None | 0 0
  1. --@ Keiichi_Random%_20.44
  2.  
  3. ----------------------------------------------
  4. base = 0.00000010 --@ basebet
  5.  
  6. targetb = 0.05 --@ target balance
  7. ----------------------------------------------
  8.  
  9. ----------------------------------------------
  10.  
  11. prebet = base
  12. nextbet = prebet
  13. losecount = 0
  14. betcount = 0
  15. startbalance = balance
  16. MIN = 0.11
  17. MAX = 20.44
  18. minchance= MIN
  19. maxchance= MAX
  20. curbal = balance
  21. targetpercent = curbal / targetb * 100
  22. bb = 0
  23. resetseed()
  24.  
  25. ----------------------------------------------
  26.  
  27.  
  28.  
  29. ----------------------------------------------
  30. function dobet()
  31. ----------------------------------------------
  32.  
  33.  
  34.  
  35. ----------------------------------------------
  36.   curbal = balance
  37.   bb = curbal / base
  38.   targetpercent = (curbal / targetb * 100)
  39. ----------------------------------------------
  40.  
  41.  
  42.  
  43.  
  44. ----------------------------------------------
  45. chance = math.random(minchance*100.0, maxchance*100.0)/100.0
  46. ----------------------------------------------
  47.  
  48.  
  49.  
  50. ----------------------------------------------
  51.   print("\n---------\n")
  52.   print("Total Bets = " .. betcount)
  53.   print("\n---------\n")
  54.   print("LoseStreak = " .. losecount)
  55.   print("\n---------\n")
  56.   print("Min Chance = " .. string.format("%3.2f", minchance) .. "%")
  57.   print("Max Chance = " .. string.format("%3.2f", maxchance) .. "%")
  58.   print("Average Chance = " .. string.format("%3.2f",(minchance+maxchance)/2) .. "%")
  59.   print("\n---------\n")
  60.   print("Amount of bb - " .. string.format("%8.0f", bb))
  61.   print("Target Balance - " .. targetb)
  62.   print("% of Target Reached - " .. string.format("%3.2f",targetpercent) .. "%")
  63.   print("\n---------\n")
  64. ----------------------------------------------
  65.  
  66.  
  67.  
  68. ----------------------------------------------  
  69.   if win then
  70.     ching()
  71.     resetseed()
  72.     minchance= MIN
  73.     maxchance= MAX
  74.     nextbet = prebet
  75.     losecount = 0
  76.     betcount += 1
  77.  
  78. ----------------------------------------------
  79.     curbal = balance
  80.     if curbal >= targetb then
  81.       print("\nTARGET REACHED. GRATS")
  82.       stop()
  83.     end
  84.  ----------------------------------------------
  85.  
  86.  
  87. ----------------------------------------------
  88.   else
  89.     losecount += 1
  90.     betcount += 1
  91.     nextbet = prebet
  92.     minchance = MIN * 0.1          --@ 0.01%
  93.   end
  94. ----------------------------------------------
  95.   if (losecount >2) then
  96.     nextbet = base * 1.5
  97.   end
  98.   if (losecount >5) then
  99.     nextbet = base * 2.5  
  100.   end
  101.   if (losecount > 8) then
  102.     nextbet = base * 3.8    
  103.   end
  104. ----------------------------------------
  105.   if (losecount > 9) then
  106.     nextbet = previousbet* 1.27  
  107.     minchance = MIN               --@ 0.11%  
  108.   end
  109. ----------------------------------------
  110.   if (losecount > 25) then
  111.     minchance = MAX * 0.33       --@ 8.99%
  112.   end
  113. ----------------------------------------
  114.   if (losecount > 33) then
  115.     minchance = MAX * 0.55       --@ 11.24%
  116.   end
  117. end
  118. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement