Guest User

Untitled

a guest
Dec 15th, 2019
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.62 KB | None | 0 0
  1. --100x Wager (controlled-Bust-Edition) Script by kryptowilli
  2. --Donations: BTC: 1Lk23MhbreNB4veLSawu9Wdcu6yhYNsCBR
  3.  
  4. chance          = 80
  5. basebet         = balance/1000
  6. nextbet         = basebet
  7. multi           = 0.5
  8. rstats          = 10
  9. WAG             = 0
  10. maxgreen        = 0
  11. maxgreencounter = 0
  12. maxgreenprofit  = 0
  13. Betcounter      = 0
  14. Xprofit         = 0
  15.  
  16. function dobet()
  17.  
  18.   --counter
  19.   if win then
  20.    WAG        += previousbet
  21.    Betcounter += 1
  22.    maxgreencounter += 1
  23.    Xprofit += (previousbet+currentprofit)-previousbet
  24.    nextbet = previousbet + (currentprofit*multi)
  25.  end
  26.  
  27.  if not win then
  28.    WAG        += previousbet
  29.    Betcounter += 1
  30.    maxgreencounter = 0
  31.    Xprofit         = 0
  32.    nextbet         = basebet
  33. end
  34.  
  35.  
  36.   --maxgreen counter
  37.   if win and maxgreencounter > maxgreen then
  38.       maxgreen = maxgreencounter
  39.   end
  40.  
  41.   --maxgreenprofit
  42.   if win and Xprofit > maxgreenprofit then
  43.     maxgreenprofit = Xprofit
  44.   end
  45.  
  46.  
  47.  
  48. --stats console
  49. if Betcounter%rstats ==0 then  
  50. print("======================================================================")
  51. print("")
  52. print("")
  53. print("Balance:             "..string.format("%.8f", balance))
  54. print("")  
  55. print("Profit:                  "..string.format("%.8f", profit))
  56. print("")
  57. print("Wager:               "..string.format("%.8f", WAG))
  58. print("")
  59. print("Maxgreen:          "..maxgreen)
  60. print("")
  61. print("Maxgreenprofit:  "..string.format("%.8f", maxgreenprofit))
  62. print("")
  63. print("Bet count:          "..Betcounter)
  64. print("")
  65. print("")
  66. print("======================================================================")
  67. end
  68.  
  69. end
Advertisement
Add Comment
Please, Sign In to add comment