dicekode

dicekode-basebetflex

Nov 4th, 2020 (edited)
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.99 KB | None | 0 0
  1. -- edited by DICEKODE
  2. -- youtube: https://www.youtube.com/channel/UC-BpueviNmn12aV_pBRY3gQ
  3. -- blog: https://dicekode.blogspot.com
  4. -- whatsapp: https://chat.whatsapp.com/Faes925uLw9HkhZeFHchFf
  5. -- linkdonasi: berikan pada yang "berhak"
  6. -- This is GAMBLING! -- DWYOR (Do With Your Own Risk)
  7.  
  8. base          = (balance / 1000 ) * 0.01
  9. maxloss       = -6
  10. setloss       = 3
  11. setwin        = 3
  12. stopbalance   = 2000
  13. targetbalance = 8000
  14. chance        = 65
  15. ifwin         = 1.512345
  16. ifloss        = 1.621345
  17. c1            = 64.542154
  18. c2            = 65.245143
  19. ip            = 0.00000001
  20. justloss      = 0
  21. justwin       = 0
  22. profit1       = 0
  23. hit           = 0
  24. hits          = 0
  25. stopwin       = false
  26. stopnow       = false
  27. rebet         = true
  28. baseDB        = base
  29. nextbet       = base
  30. resetstats()
  31.  
  32. function dobet()
  33.  
  34.     chance = math.random(c1*100,c2*100)/100
  35.    
  36.     if win then
  37.         hit += 1
  38.         justwin += 1
  39.         justloss = 0
  40.         if stopnow then stop() end
  41.         if (profit > profit1+ ip) then
  42.             hit = 0
  43.             if stopwin then stop() end
  44.             profit1 = profit
  45.             nextbet = base
  46.         else
  47.             nextbet = previousbet * ifwin
  48.         end
  49.     else
  50.         justloss += 1
  51.         justwin = 0
  52.         nextbet = previousbet * ifloss
  53.     end
  54.     if hit > hits then hits = hit end
  55.     nowprofit = profit / (balance - profit) * 100
  56.     print("\n\n")
  57.     print("base "..base)
  58.     print("bet L/W "..justloss.."/"..justwin)
  59.     print("hit "..hit.."/"..hits)
  60.     print("profit : "..string.format("%.2f",nowprofit).."%")
  61.    
  62.    
  63.     if currentstreak <= maxloss then
  64.         if rebet then
  65.             base = baseDB / 1000
  66.         else
  67.             stopwin = true  
  68.         end
  69.     end
  70.     if hit > 5 then stopwin = true end
  71.     if balance < stopbalance then stopnow = true end
  72.     if balance > targetbalance then stop() end
  73.     if (justloss == setloss) then base *= 0.1 end
  74.     if (justwin == setwin) then base = baseDB end
  75. end
Add Comment
Please, Sign In to add comment