dicekode

wager-01

May 18th, 2021 (edited)
449
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.35 KB | None | 0 0
  1. Running    = 1
  2. won        = 0
  3. w          = 0
  4. l          = 0
  5. ls         = 0
  6. pr         = 0
  7. tpr        = 0
  8. nextbet    = balance/30000000
  9. toggleJump = true
  10. chance     = math.random(48 * 100.00, 49 * 100.00) / 100.00
  11.  
  12. function dobet()
  13.  
  14.     chance = math.random(48 * 100.00, 49 * 100.00) / 100.00
  15.     pr = pr + currentprofit
  16.     tpr = tpr + currentprofit
  17.     if win then
  18.         nextbet = previousbet * 2
  19.         ls = 0
  20.         won = won + 1
  21.         w = w + 1
  22.         l = 0
  23.     else
  24.         ls = ls + 1
  25.         won = 0
  26.         w = 0
  27.         l = l + 1
  28.     end
  29.     if (toggleJump) then
  30.         nextbet = balance/30000000 * 1.1
  31.     else
  32.         nextbet = previousbet * 1
  33.     end
  34.     if (ls > 4) then
  35.         ls = 0
  36.         toggleJump = false
  37.     end
  38.     if (l == math.random(0, 3)) then
  39.         bethigh = not bethigh
  40.         l = 0
  41.     end
  42.     if (w == math.random(0, 3)) then
  43.         bethigh = not bethigh
  44.         w = 0
  45.     end
  46.     if (pr >= 0.00000001) then
  47.         nextbet = balance/30000000
  48.         pr = 0
  49.         ls = 0
  50.         won = 0
  51.         toggleJump = true
  52.     end
  53.     if (tpr >= 1) then
  54.         tpr = 0
  55.         pr = 0
  56.         Running = Running + 1
  57.         if Running > totalbetset then
  58.             Running = 1
  59.         end
  60.     end
  61.     if (won == 1) then
  62.         nextbet = balance/30000000
  63.         won = 0
  64.     end
  65. end
  66.  
Add Comment
Please, Sign In to add comment