Advertisement
Keiich

random%

Aug 17th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.38 KB | None | 0 0
  1. minchance=1 --the minimum chance you want to bet at
  2. -- higher than 0.01 for most sites
  3. maxchance=6 -- the maximum chance you want to bet at
  4. -- lower than 98 for most sites
  5. base = 0.00000001
  6. prebet = base
  7. nextbet = prebet
  8. enablezz = true
  9. enablesrc = true
  10. losecount = 0
  11. betcount = 0
  12. investtarget = .0
  13. startbalance = balance
  14. investprofit = 0
  15.  
  16. function dobet()
  17. chance = math.random(minchance*100.0, maxchance*100.0)/100.0
  18. investprofit += currentprofit
  19.       print("Total Bets/Current Lose Streak/Bet Size/Balance")
  20.       print(betcount)
  21.       print(losecount)
  22.       print(nextbet)
  23.       print(balance)
  24.    if win then
  25.       nextbet = prebet
  26.         losecount = 0
  27.         betcount += 1
  28.     if (investprofit > investtarget) then
  29.       invest(balance - startbalance)
  30.       startbalance = balance
  31.     end
  32.    else
  33.          losecount += 1
  34.          betcount += 1
  35.       nextbet = prebet
  36.    end
  37.    if (losecount >20) then
  38.       nextbet = base * 1.5
  39.    end
  40.    if (losecount > 30) then
  41.       nextbet = base * 2
  42.    end
  43.    if (losecount > 45) then
  44.       nextbet = base * 4.5
  45.    end
  46.    if (losecount > 61) then    
  47.       nextbet = base * 9
  48.    end
  49.    if (losecount >71) then
  50.      nextbet = base * 13.5  
  51.    end
  52.    if (losecount > 92) then
  53.      
  54.       nextbet = base * 26
  55.    end
  56.     if (losecount > 102) then
  57.      
  58.       nextbet = previousbet*1.072
  59.    end
  60.   end
  61.  end
  62. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement