Advertisement
dicekode

25-12-2022 -- 04

Dec 25th, 2022 (edited)
970
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.22 KB | None | 0 0
  1. basediv       = 1e6
  2. targetsession = 0.05
  3. basebet       = balance/basediv
  4. partialtarget = basebet*100
  5. nextbet       = basebet
  6. chance        = 90
  7. session       = balance*targetsession
  8. resetch       = 0
  9.  
  10. resetstats()
  11. resetseed()
  12. resetchart()
  13.  
  14. function dobet()
  15.  
  16.     chance = math.random(500,4500)/100
  17.     resetch += currentprofit
  18.     if profit > session then
  19.         basebet = balance/basediv
  20.         session = profit+(balance*targetsession)
  21.         print("\n\n\n** RESET **\n\n\n")
  22.         sleep(15)
  23.         nextbet = basebet
  24.     else
  25.         if win then
  26.             if partialprofit > partialtarget then
  27.                 resetpartialprofit()
  28.                 resetseed()
  29.                 nextbet = basebet                
  30.             else
  31.                 if resetch > 0 then
  32.                     resetch = 0
  33.                 else
  34.                     sleep(2)
  35.                     chance  = math.random(1500,2500)/100
  36.                 end
  37.                 nextbet = previousbet * 0.2
  38.             end
  39.         else
  40.             nextbet = previousbet * (1 +(chance*0.02))
  41.         end
  42.         if nextbet < basebet then
  43.             nextbet = basebet
  44.         end
  45.     end
  46.  
  47.     analitik()
  48.    
  49. end
  50.  
  51. stopdrop = 25 --%
  52. stopwin  = false
  53. mostbal  = balance
  54. profithi = 0
  55. mostgain = 0
  56. mostdrop = 0
  57. function analitik()
  58.    
  59.     profithi += currentprofit
  60.  
  61.     if profithi < -mostdrop then
  62.         mostdrop = math.abs(profithi)
  63.     end
  64.  
  65.     if profithi > mostgain then
  66.         mostgain = profithi
  67.     end
  68.  
  69.     ppdrop = mostdrop/mostbal*100
  70.     ppgain = mostgain/mostbal*100
  71.     nwgain = profithi/mostbal*100
  72.  
  73.     -- limitation(ppdrop,nwgain)
  74.  
  75.     if ppdrop > stopdrop then stopwin = true end
  76.  
  77.     print("\n\n")
  78.     print("-=■ Dropped \t[ "..string.format("%.8f",math.abs(mostdrop)).." ( "..string.format("%.2f",ppdrop).."% ) ]")
  79.     print("-=■ Gained  \t[ "..string.format("%.8f",math.abs(mostgain)).." ( "..string.format("%.2f",ppgain).."% ) ]")
  80.     print("-=■ Profit  \t[ "..string.format("%.8f",math.abs(profit)).." ( "..string.format("%.2f",profit/(balance-profit)*100).."% ) ]")
  81.  
  82.     if profithi > 0 then
  83.         profithi = 0
  84.         mostbal  = balance
  85.         if stopwin then stop() end
  86.     end
  87. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement