Hackdicecode

Limbo On Furry Road 0.99

Apr 7th, 2025
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.68 KB | Cryptocurrency | 0 0
  1. chance     = 0.99
  2. maxbalance = balance
  3. wincount = 0
  4.  
  5. function getmulti()
  6.     local payout=(100-1)/chance
  7.     return (payout/(payout-1))
  8. end
  9.  
  10. function getBaseDiv()
  11.     return (math.sqrt( balance ) * 100000)
  12. end
  13.  
  14. base = balance/getBaseDiv()
  15. nextbet = base
  16.  
  17. function dobet()   
  18.     if win then
  19.    
  20.         wincount = wincount + 1
  21.        
  22.         if wincount > 10 then
  23.        
  24.             wincount = 0
  25.                        
  26.            
  27.         end
  28.        
  29.         base = balance/getBaseDiv()
  30.         nextbet = base
  31.         checkMaxBalance()
  32.     else
  33.    
  34.         nextbet = previousbet*getmulti()
  35.     end
  36. end
  37.  
  38. function checkMaxBalance()
  39.     if balance > maxbalance then
  40.         print("new max: "..string.format("%9.8f", balance))
  41.         maxbalance = balance
  42.     end
  43. end
Add Comment
Please, Sign In to add comment