Advertisement
dicekode

WB-0003

Oct 24th, 2022
1,344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.81 KB | None | 0 0
  1. basebet = balance * 1e-6
  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(basebet)
  32.     print("\n\n░▒▓█ DICEKODE DEVCORE █▓▒░\n")
  33.     print("░▒▓- Profit \t[ "..fn_format(8,profit).."\t"..fn_format(2,profit/(balance-profit)*100).."% ]")  
  34.     print("░▒▓- Basebet \t[ "..fn_format(8,basebet/(99/chance)).." ]")
  35.     print("░▒▓- Chance \t[ "..chance.."  x"..fn_format(2,1 + (chance*basemt)).."\t"..fn_format(3,basemt).." ]")
  36.     print("░▒▓- Highest \t[ "..fn_format(8,bal_hi).." ]")
  37.     print("░▒▓- Lowest \t[ "..fn_format(8,bal_lo).." ]")
  38.     print("░▒▓- Deep \t[ "..fn_format(2,bal_lo/balance*100).."% ]")
  39.     print("\n\n")
  40. end
  41.  
  42. function fn_format(x,y)
  43.     return string.format("%."..x.."f",y)
  44. end
  45.  
  46. function fn_rand(x,y,z)
  47.     return math.random(x,y)/z
  48. end
  49.  
  50. deep_profitc   = 0
  51. deep_balancehi = balance
  52. deep_balancelo = balance
  53. function fn_deep()
  54.     deep_profitc = deep_profitc + currentprofit
  55.     if deep_profitc >= 0 then
  56.         deep_profitc   = 0
  57.         deep_balancehi = balance
  58.     end
  59.     if balance < deep_balancelo then
  60.         deep_balancelo = balance
  61.     end
  62.     return deep_balancehi,deep_balancelo
  63. end
  64.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement