Advertisement
dicekode

wolfbet-04

Sep 18th, 2021
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.70 KB | None | 0 0
  1. function frandom(x,y)
  2.     return math.random(x,y)
  3. end
  4.  
  5. function fpayout(x,y)
  6.     return x / ((99/y)-1)
  7. end
  8.  
  9. function fcoin(x)
  10.     return math.ceil(x*10^8)/10^8
  11. end
  12.  
  13. function fsatoshi(x)
  14.     return x/10^8
  15. end
  16.  
  17.  
  18. betlose = 0
  19. bethigh = false
  20. basebet = 0.01
  21. nextbet = basebet
  22. chance  = 90
  23. profitc = 0
  24.  
  25. resetstats()
  26.  
  27. function dobet()
  28.     betlose += previousbet
  29.     profitc += currentprofit
  30.  
  31.     if profitc > 0 then
  32.         profitc = 0
  33.         betlose = 0
  34.     end
  35.  
  36.     if (currentstreak < -1) then
  37.         chance  = frandom(2,15)
  38.         nextbet = fpayout(betlose,chance)
  39.     else
  40.         chance  = 90
  41.         nextbet = basebet
  42.     end
  43.  
  44.     nextbet = fcoin(nextbet)
  45. end
  46.  
  47.  
  48.  
  49.  
  50.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement