Advertisement
dicekode

WB-0005

Oct 25th, 2022
985
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.87 KB | None | 0 0
  1. basediv = 5000
  2. basebet = balance/basediv
  3. balanft = balance
  4. chance  = 47.14
  5. nextbet = basebet
  6. profitc = 0
  7. wagered = 0
  8. booster = 2
  9.  
  10. function dobet()
  11.  
  12.     profitc += currentprofit
  13.     wagered += previousbet
  14.  
  15.     if profitc > basebet * booster then
  16.         profitc = 0
  17.         basebet = balance/basediv
  18.         chance  = 47.14
  19.         nextbet = basebet
  20.     else
  21.         chance = chance+(chance*0.008)
  22.         if win then
  23.             nextbet = previousbet * 1.95 --1.5
  24.         else
  25.             nextbet = previousbet * 0.80 --1.3
  26.         end
  27.     end
  28.     nextbet = math.floor((nextbet*1e10)+0.5)/1e10
  29.     print("\n\n")
  30.     print("-=■ Profit \t[ "..string.format("%.8f",profit).."\t"..string.format("%.2f",profit/(balance-profit)*100).."% ]")
  31.     print("-=■ Wagered \t[ "..string.format("%.8f",wagered).."\t"..string.format("%.2f",wagered/balanft*100).."% ]")
  32. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement