Advertisement
dicekode

WB-0002

Oct 24th, 2022
1,238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.79 KB | None | 0 0
  1. basebet = 1e-7 * balance
  2. basemt  = 0.02
  3. maxroll = 10  
  4. multi   = 1.3
  5. profitc = 0
  6. betroll = 0
  7. nextbet = basebet
  8. chance  = 50
  9. ctlose  = 0
  10.  
  11. resetstats()
  12. function dobet()
  13.     betroll = betroll + 1
  14.     profitc = profitc + currentprofit
  15.     if profitc > 0 then
  16.         ctlose  = 0
  17.         profitc = 0
  18.         basemt  = 0.02
  19.         if betroll > maxroll and maxroll > 0 then  
  20.             chance  = fn_rand(110,200,10)
  21.             nextbet = basebet-- / (99/chance)
  22.         end
  23.     else
  24.         ctlose = ctlose + 1
  25.         if ctlose%20==0 then
  26.             basemt = basemt * 0.9
  27.         end
  28.         nextbet = previousbet * (1 +(chance*basemt))
  29.     end
  30.     bal_hi,bal_lo = fn_deep()
  31.     print("\n\n░▒▓█ DICEKODE DEVCORE █▓▒░\n")
  32.     print("░▒▓- Profit \t[ "..fn_format(8,profit).."\t"..fn_format(2,profit/(balance-profit)*100).."% ]")  
  33.     print("░▒▓- Basebet \t[ "..fn_format(8,basebet/(99/chance)).." ]")
  34.     print("░▒▓- Chance \t[ "..chance.."  x"..fn_format(2,1 + (chance*basemt)).."\t"..fn_format(3,basemt).." ]")
  35.     print("░▒▓- Highest \t[ "..fn_format(8,bal_hi).." ]")
  36.     print("░▒▓- Lowest \t[ "..fn_format(8,bal_lo).." ]")
  37.     print("░▒▓- Deep \t[ "..fn_format(2,bal_lo/balance*100).."% ]")
  38.     print("\n\n")
  39. end
  40.  
  41. function fn_format(x,y)
  42.     return string.format("%."..x.."f",y)
  43. end
  44.  
  45. function fn_rand(x,y,z)
  46.     return math.random(x,y)/z
  47. end
  48.  
  49. deep_profitc   = 0
  50. deep_balancehi = balance
  51. deep_balancelo = balance
  52. function fn_deep()
  53.     deep_profitc = deep_profitc + currentprofit
  54.     if deep_profitc >= 0 then
  55.         deep_profitc   = 0
  56.         deep_balancehi = balance
  57.     end
  58.     if balance < deep_balancelo then
  59.         deep_balancelo = balance
  60.     end
  61.     return deep_balancehi,deep_balancelo
  62. end
  63.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement