Advertisement
dicekode

25-12-2022 -- 01

Dec 24th, 2022 (edited)
1,288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.21 KB | None | 0 0
  1. basebet = balance * 1e-7
  2. chance  = 49.5
  3. nextbet = basebet
  4. ctlose  = 0
  5. ctwin   = 0
  6. sumlose = 0
  7. target  = 5000
  8.  
  9.  
  10. resetstats()
  11. resetseed()
  12. resetchart()
  13.  
  14. function dobet()
  15.  
  16.     if (bets%100 == 0) then bethigh = not bethigh end
  17.  
  18.     if win then
  19.         ctwin += 1
  20.         ctlose  = 0
  21.         nextbet = nextbet-(nextbet*(20/100))
  22.         chance  = 38
  23.         if (ctwin == 2) then
  24.             ctwin   = 0
  25.             nextbet = basebet
  26.         end  
  27.     else
  28.         sumlose += 1
  29.         ctlose += 1
  30.         ctwin   = 0
  31.         nextbet = nextbet+(nextbet*(35/100))
  32.         if (ctlose == 6) then  
  33.             nextbet += basebet
  34.         end
  35.     end
  36.  
  37.     if (sumlose%10 == 0) then chance = 22 end
  38.     if (balance > target) then stop() end
  39.    
  40.     analitik()
  41. end
  42.  
  43. resetbet = false
  44. stopwin  = false
  45. mostgain = 0
  46. mostdrop = 0
  47. mostbal  = balance
  48. function analitik()
  49.    
  50.     if partialprofit < -mostdrop then
  51.         mostdrop = math.abs(partialprofit)
  52.     end
  53.  
  54.     if partialprofit > mostgain then
  55.         mostgain = partialprofit
  56.     end
  57.  
  58.     ppdrop = mostdrop/mostbal*100
  59.     ppgain = mostgain/mostbal*100
  60.     nwgain = partialprofit/mostbal*100
  61.  
  62.     limitation(ppdrop,nwgain)
  63.  
  64.     print("\n\n")
  65.     print("-=■ Dropped \t[ "..string.format("%.8f",math.abs(mostdrop)).." ( "..string.format("%.2f",ppdrop).."% ) ]")
  66.     print("-=■ Gained  \t[ "..string.format("%.8f",math.abs(mostgain)).." ( "..string.format("%.2f",ppgain).."% ) ]")
  67.     print("-=■ Profit  \t[ "..string.format("%.8f",math.abs(profit)).." ( "..string.format("%.2f",profit/(balance-profit)*100).."% ) ]")
  68.  
  69.     if partialprofit > 0 then
  70.         resetpartialprofit()
  71.         mostbal = balance
  72.         if stopwin then stop() end
  73.         if resetbet then
  74.             resetbet = false
  75.             nextbet  = basebet
  76.             print("RESET BET")
  77.             sleep(3)
  78.         end
  79.     end
  80. end
  81.  
  82. stop_drop = 25 --%
  83. stop_gain = 5 --%
  84. function limitation(_drop,_gain)
  85.  
  86.     if _drop > stop_drop then
  87.         stopwin = true
  88.         print("STOP DROP")
  89.     end
  90.     if _gain > stop_gain then
  91.         -- stopwin = true
  92.         -- print("STOP GAIN")
  93.         resetbet = true
  94.     end
  95.  
  96. end
  97.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement