Advertisement
Keiich

Random_7.44%_YOLO_updated

Aug 20th, 2018
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.86 KB | None | 0 0
  1.  
  2.  
  3. base = 0.00000010
  4.  
  5. targetb = 0.5
  6. ------------------------------------------
  7.  
  8.  
  9. MIN = 0.04
  10. MAX = 7.44
  11. prebet = base
  12. nextbet = prebet
  13. losecount = 0
  14. betcount = 0
  15. startbalance = balance
  16. minchance= MIN
  17. maxchance= MAX
  18. curbal = balance
  19. targetpercent = curbal / targetb * 100
  20.  
  21.  
  22. function dobet()
  23.  
  24.   curbal = balance
  25.   targetpercent = (curbal / targetb * 100)
  26.  
  27.  
  28. chance = math.random(minchance*100.0, maxchance*100.0)/100.0
  29.   print("\n---------\n")
  30.   print("Total Bets = " .. betcount)
  31.   print("\n---------\n")
  32.   print("LoseStreak = " .. losecount)
  33.   print("\n---------\n")
  34.   print("Min Chance = " .. minchance)
  35.   print("Max Chance = " .. maxchance)
  36.   print("\n---------\n")
  37.   print("Target Balance - " .. targetb)
  38.   print("% of Target Reached - " .. targetpercent .. "%")
  39.   print("\n---------\n")
  40.    if win then
  41.    ching()
  42.    resetseed()
  43.    minchance= MIN
  44.    maxchance= MAX
  45.       nextbet = prebet
  46.         losecount = 0
  47.         betcount += 1
  48.   curbal = balance
  49.     if curbal >= targetb then
  50.       print("\nTARGET REACHED. GRATS")
  51.       stop()
  52.     end
  53.    else
  54.          losecount += 1
  55.          betcount += 1
  56.       nextbet = prebet
  57.    end
  58.       if (losecount >13) then
  59.       nextbet = base * 2
  60.    end
  61.    if (losecount >19) then
  62.       nextbet = base * 4
  63.    end
  64.    if (losecount > 26) then
  65.       nextbet = base * 8
  66.    end
  67.       if (losecount > 32) then
  68.       nextbet = base * 16
  69.    end
  70.       if (losecount > 38) then
  71.       nextbet = base * 32
  72.    end
  73.     if (losecount > 43) then  
  74.       nextbet = previousbet*1.0832
  75.    end
  76.    if (losecount > 75) then
  77.   nextbet = previousbet*1.0815
  78.        minchance = MIN * 25 --@ 1%
  79.   end
  80.    if (losecount > 100) then
  81.        minchance = MAX * 0.22
  82.   end
  83.    if (losecount > 140) then
  84.        minchance = MAX * 0.77
  85.   end
  86.    if (losecount > 150) then
  87.        minchance = MAX * 0.9
  88.   end
  89.  end
  90. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement