Advertisement
dicekode

04-09-2024--001

Apr 9th, 2024 (edited)
525
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.80 KB | Cryptocurrency | 0 0
  1. base      = balance / 1000000
  2. nextbet   = base
  3. chance    = 10
  4. wincount  = 0
  5. losecount = 0
  6. target    = balance * 1.3
  7. bethigh   = false
  8. roll      = 0
  9. function dobet()
  10.  
  11.     if (balance > target) then
  12.         stop()
  13.     end
  14.  
  15.     if (roll == 16) then
  16.         resetseed()
  17.         bethigh = not bethigh
  18.         roll    = 0
  19.     end
  20.  
  21.     if win then
  22.         roll      = roll + 1
  23.         wincount  = wincount + 1
  24.         nextbet   = base
  25.         chance    = 10
  26.         losecount = 0
  27.     else
  28.         wincount  = 0
  29.         losecount = losecount + 1
  30.         nextbet   = previousbet * 1.3
  31.     end
  32.  
  33.     if (wincount == 2) then  
  34.         wincount = 0  
  35.         nextbet  = previousbet * 1.2
  36.         chance   = 5
  37.     end
  38.  
  39.     if (losecount >= 10) then
  40.         chance = 15.9
  41.     end
  42. end
  43.  
Tags: Dicebot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement