dicekode

wolf-btc

Sep 23rd, 2021 (edited)
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.07 KB | None | 0 0
  1. mainChance   = 95
  2. chance       = mainChance
  3. startbal     = balance
  4. bet1         = balance * 0.00000010
  5. bet2         = bet1 * 2
  6. basebet      = math.random(bet1*10^8,bet2*10^8)/10^8
  7. nextbet      = basebet
  8. bethigh      = true
  9. losecount    = 0
  10. counter      = 0
  11. target       = balance * 2
  12. maxlose      = 60
  13. stopwin      = false
  14.  
  15. resetstats()
  16. resetseed()
  17.  
  18. function dobet()
  19.     if balance > target then stop() end
  20.     counter+=1
  21.     if counter >= 250 then
  22.         counter = 0
  23.         resetseed()
  24.     end
  25.     if win then
  26.         losecount = 0
  27.         chance    = mainChance
  28.         nextbet   = math.random(bet1*10^8,bet2*10^8)/10^8
  29.         if stopwin then stop() end
  30.     else
  31.         losecount += 1
  32.         if (losecount > 1) then
  33.             chance  = (1/(((nextbet+(nextbet-basebet))/previousbet)))*20
  34.         else
  35.             chance  = (1/(((basebet+nextbet))/nextbet))*25
  36.         end
  37.         if chance < 9.0 then chance = 9.0 end
  38.         bethigh = not bethigh
  39.         nextbet = previousbet*1.12
  40.     end
  41.     if losecount > maxlose then stopwin = true end
  42. end
Add Comment
Please, Sign In to add comment