Advertisement
dicekode

25-12-2022 -- 03

Dec 24th, 2022
936
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.94 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.  
  9. resetstats()
  10. resetseed()
  11. resetchart()
  12.  
  13. function dobet()
  14.  
  15.     --chance = math.random(500,4500)/100
  16.    
  17.     if profit > session then
  18.         basebet = balance/basediv
  19.         session = profit+(balance*targetsession)
  20.         print("\n\n\n** RESET **\n\n\n")
  21.         sleep(10)
  22.         nextbet = basebet
  23.     else
  24.         if win then
  25.             chance = math.random(3500,4500)/100
  26.             if partialprofit > partialtarget then
  27.                 resetpartialprofit()
  28.                 nextbet = basebet
  29.             else
  30.                 nextbet = previousbet * 1.2
  31.             end
  32.         else
  33.             nextbet = previousbet * 1.5
  34.         end
  35.         if nextbet < basebet then
  36.             nextbet = basebet
  37.         end
  38.     end
  39.    
  40. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement