Facebook
From james william snow, 2 Years ago, written in Lua.
Embed
Download Paste or View Raw
Hits: 128
  1. divide  = 10000
  2. b       = balance/divide
  3. i       = balance
  4. t       = balance
  5. c       = balance/divide
  6. h       = balance
  7. y       = 0
  8. chance  = 49.5
  9. bethigh = true
  10. nextbet = b
  11. target  = 50000
  12. resetstats()
  13.  
  14. function dobet()
  15. if (balance>h) then
  16.     h = balance
  17. end
  18. if (balance<=(h-(c*4))) then
  19.      nextbet = previousbet*2  
  20.      c       = nextbet
  21.      h       = balance
  22.  end
  23.  if (balance<t) then
  24.      t = balance
  25. end
  26.  if (balance>=(t+(c*7))) then
  27.      nextbet = previousbet*2  
  28.      c       = nextbet
  29.      t       = balance
  30.  end
  31.  if (balance>=i) then
  32.      nextbet = b
  33.      t       = balance
  34.      c       = b
  35.      h       = balance
  36.      y       = math.random(1,2)
  37.      i       = balance
  38.      if (y==2) then
  39.          bethigh = !bethigh
  40.      end
  41. end
  42. if (balance>target) then
  43.    stop()
  44. end
  45. end