Advertisement
alfarishi

TCIV3

Jul 6th, 2020 (edited)
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.99 KB | None | 0 0
  1. chance       = 85
  2. bethigh      = false
  3. basebet      = balance*0.000001
  4. losecount    = 0
  5. betcount     = 0
  6. varX         = 1
  7. betcount2    = 0
  8. netprofit    = 0
  9. startbalance = balance
  10. target       = 3500    --target profit
  11. nextbet      = basebet
  12.  
  13. function dobet()
  14. if balance>target then
  15.      netprofit=balance-startbalance
  16.      print("Current Balance: "..string.format("%.8f",balance))
  17.      print("Total Profit:   "..string.format("%.8f",balance-startbalance))
  18.      print("% Profit:       "..string.format("%.6f",netprofit*100/startbalance))
  19.  stop()
  20. end
  21.  
  22.     if win then
  23.             bethigh=true
  24.             nextbet   = basebet
  25.             losecount = 0
  26.             betcount  = 1
  27.             betcount2 = 0
  28.             total1    = 0
  29.             chance    = 85
  30.             varX      = 1
  31.     else  
  32.             if betcount2 == 0 then
  33.                 chance = 8
  34.                bethigh = false
  35.                betcount2+=1
  36.                betcount = 0
  37.                varX     = 1
  38.             end  
  39.             if betcount2 == 12 then
  40.                bethigh=false
  41.                chance=18
  42.                betcount2+=1
  43.                betcount = 0
  44.                varX     = 3
  45.             end  
  46.             if betcount2 == 15 then
  47.                bethigh=false
  48.                betcount2+=1
  49.                betcount = 0
  50.                varX     = 1.8
  51.             end      
  52.             if betcount2 == 18 then
  53.                bethigh=false
  54.                betcount2+=1
  55.                betcount = 0
  56.                varX     = 1.86
  57.             end  
  58.             if betcount2 == 22 then
  59.                bethigh=false
  60.                betcount2+=1
  61.                betcount = 0
  62.                varX     = 2.28
  63.             end  
  64.             losecount += 1
  65.             betcount += 1
  66.             betcount2+=1
  67.             nextbet = nextbet*varX
  68.             chance+=1.92
  69.            
  70.     end
  71.        
  72.     if betcount == 25 then
  73.         resetseed()
  74.         betcount2+=1
  75.         betcount = 0
  76.     end
  77. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement