Advertisement
dicekode

auto chance + multiplier

Jul 1st, 2022
2,487
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.80 KB | None | 0 0
  1. basebet = balance * 1e-5
  2. maxroll = 10  
  3. multi   = 1.3
  4. profitc = 0
  5. betroll = 0
  6. nextbet = basebet
  7. chance  = 50
  8.  
  9. resetstats()
  10. function dobet()
  11.     betroll += 1
  12.     profitc += currentprofit
  13.     if profitc > 0 then
  14.         profitc = 0
  15.         if betroll > maxroll and maxroll > 0 then  
  16.             chance  = math.random(110,200)/10
  17.             nextbet = basebet / (99/chance)
  18.         end
  19.     else
  20.         nextbet = previousbet * (1 +(chance*0.02))
  21.     end
  22.     print("\n\n")
  23.     print("░▒▓- Profit \t[ "..string.format("%.8f",profit).."\t"..string.format("%.2f",profit/(balance-profit)*100).."% ]")  
  24.     print("░▒▓- Basebet \t[ "..string.format("%.8f",basebet / (99/chance)).." ]")
  25.     print("░▒▓- Chance \t[ "..chance.."  x"..(1 +(chance*0.02)).." ]")
  26. end
  27.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement