Advertisement
dicekode

sc_uncheck

Sep 16th, 2021
396
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.54 KB | None | 0 0
  1. chance          = math.random(5,18)
  2. base            = 0.001
  3. nextbet         = base
  4. target          = balance*2
  5. lastChanceIndex = 0
  6. round           = 0
  7. prebet1         = base -- 5-15
  8. prebet2         = base -- 15-20
  9. prebet3         = base -- 25-35
  10. prebet4         = base -- 35-45
  11. prebet5         = base -- 45-55
  12. prebet6         = base -- 55-65
  13. prebet7         = base -- 65-75
  14. prebet8         = base -- 75-85
  15. prebet9         = base -- 85-95
  16. bethigh         = false
  17. profitc         = 0
  18.  
  19. function dobet()
  20.  
  21.   profitc += currentprofit
  22.  
  23.   if (win) then
  24.     if (balance >= target) then stop() end
  25.     print("nextbet: "..nextbet.." chance: "..chance.." Win: "..(nextbet*((99/chance)-1)).." current profit: "..profit)
  26.   else
  27.     print("nextbet: "..nextbet.." chance: "..chance.." Lose: "..(-1)*nextbet.." current profit: "..profit)
  28.   end
  29.  
  30.   if (win) then
  31.  
  32.     if (profitc > 0) then
  33.       profitc = 0
  34.       bethigh = not bethigh
  35.       -- resetstats()
  36.       resetseed()
  37.       resetseed()
  38.       chance = math.random(5,18)
  39.       nextbet = base * math.random(1.01,1.10)
  40.       prebet1 = nextbet
  41.       lastChanceIndex = 0
  42.       round = 0
  43.       print("------------ Reset Seed -----------")
  44.    
  45.     else
  46.    
  47.       if (lastChanceIndex+1 > 8) then
  48.         lastChanceIndex = 0
  49.         round = round + 1
  50.       else
  51.         lastChanceIndex = lastChanceIndex + 1
  52.       end
  53.  
  54.       if (lastChanceIndex == 0) then
  55.         if (round == 0) then
  56.           nextbet = base * math.random(1.01,1.10)
  57.         elseif (round == 4) then
  58.           nextbet = prebet1*1.13
  59.         else
  60.           nextbet = -1*profitc/math.random(9,18)
  61.         end
  62.         chance = math.random(5,18)
  63.         prebet1 = nextbet
  64.       end
  65.      
  66.       if (lastChanceIndex == 1) then
  67.         if (round == 0) then
  68.           nextbet = base * math.random(1.01,1.10)
  69.         elseif (round == 4) then
  70.           nextbet = prebet2*1.18
  71.         else
  72.           nextbet = -1*profitc/math.random(8,19)
  73.         end
  74.         chance = math.random(15,20)
  75.         prebet2 = nextbet
  76.       end
  77.      
  78.       if (lastChanceIndex == 2) then
  79.         if (round == 0) then
  80.           nextbet = base * math.random(1.01,1.10)
  81.         elseif (round == 4) then
  82.           nextbet = prebet3*1.23
  83.         else
  84.           nextbet = -1*profitc/math.random(9,18)
  85.         end
  86.         chance = math.random(25,38)
  87.         prebet3 = nextbet
  88.       end
  89.      
  90.       if (lastChanceIndex == 3) then
  91.         chance = math.random(35,48)
  92.         if (round==0) then
  93.           nextbet = base * math.random(1.01,1.10)
  94.         else
  95.           nextbet = prebet4*1.33
  96.         end
  97.         prebet4 = nextbet
  98.       end
  99.      
  100.       if (lastChanceIndex == 4) then
  101.         chance = math.random(45,58)
  102.         if (round==0) then
  103.           nextbet = base * math.random(1.01,1.10)
  104.         else
  105.           nextbet = prebet5*1.45
  106.         end
  107.         prebet5 = nextbet
  108.       end
  109.      
  110.       if (lastChanceIndex == 5) then
  111.         chance = math.random(55,68)
  112.         if (round==0) then
  113.           nextbet = base * math.random(1.01,1.10)
  114.         else
  115.           nextbet = prebet6*1.51
  116.         end
  117.         prebet6 = nextbet
  118.       end
  119.      
  120.       if (lastChanceIndex == 6) then
  121.         chance = math.random(65,78)
  122.         if (round==0) then
  123.           nextbet = base * math.random(1.01,1.10)
  124.         else
  125.           nextbet = prebet7*1.7
  126.         end
  127.         prebet7 = nextbet
  128.       end
  129.      
  130.       if (lastChanceIndex == 7) then
  131.         chance = math.random(75,88)
  132.         if (round==0) then
  133.           nextbet = base * math.random(1.01,1.10)
  134.         else
  135.           nextbet = prebet8*1.65
  136.         end
  137.         prebet8 = nextbet
  138.       end
  139.      
  140.       if (lastChanceIndex == 8) then
  141.         chance = math.random(85,98)
  142.         if (round==0) then
  143.           nextbet = base * math.random(1.01,1.10)
  144.         else
  145.           nextbet = prebet9*1.58
  146.         end
  147.         prebet9 = nextbet
  148.       end
  149.    
  150.     end
  151.  
  152.   else
  153.  
  154.     if (lastChanceIndex+1 > 8) then
  155.       lastChanceIndex = 0
  156.       round = round + 1
  157.     else
  158.       lastChanceIndex = lastChanceIndex + 1
  159.     end
  160.    
  161.     if (lastChanceIndex == 0) then
  162.       if (round == 0) then
  163.         nextbet = base * math.random(1.01,1.10)
  164.       elseif (round == 4) then
  165.         nextbet = prebet1*1.14
  166.       else
  167.         nextbet = -1*profitc/math.random(8,19)
  168.       end
  169.       chance = math.random(5,18)
  170.       prebet1 = nextbet
  171.     end
  172.  
  173.     if (lastChanceIndex == 1) then
  174.       if (round == 0) then
  175.         nextbet = base * math.random(1.01,1.10)
  176.       elseif (round == 4) then
  177.         nextbet = prebet2*1.18
  178.       else
  179.         nextbet = -1*profitc/math.random(9,18)
  180.       end
  181.       chance = math.random(15,20)
  182.       prebet2 = nextbet
  183.     end
  184.  
  185.     if (lastChanceIndex == 2) then  
  186.       if (round == 0) then
  187.         nextbet = base * math.random(1.01,1.10)
  188.       elseif (round == 4) then
  189.         nextbet = prebet3*1.22
  190.       else
  191.         nextbet = -1*profitc/math.random(9,18)
  192.       end
  193.       chance = math.random(25,38)
  194.       prebet3 = nextbet
  195.     end
  196.  
  197.     if (lastChanceIndex == 3) then
  198.       if (round==0) then
  199.         nextbet = base * math.random(1.01,1.10)
  200.       else
  201.         nextbet = prebet4*1.28
  202.       end
  203.       chance = math.random(35,48)
  204.       prebet4 = nextbet
  205.     end
  206.  
  207.     if (lastChanceIndex == 4) then
  208.       if (round==0) then
  209.         nextbet = base * math.random(1.01,1.10)
  210.       else
  211.         nextbet = prebet5*1.34
  212.       end
  213.       chance = math.random(45,58)
  214.       prebet5 = nextbet
  215.     end
  216.  
  217.     if (lastChanceIndex == 5) then
  218.       if (round==0) then
  219.         nextbet = base * math.random(1.01,1.10)
  220.       else
  221.         nextbet = prebet6*1.52
  222.       end
  223.       chance = math.random(55,68)
  224.       prebet6 = nextbet
  225.     end
  226.  
  227.     if (lastChanceIndex == 6) then
  228.       if (round==0) then
  229.         nextbet = base * math.random(1.01,1.10)
  230.       else
  231.         nextbet = prebet7*1.58
  232.       end
  233.       chance = math.random(65,78)
  234.       prebet7 = nextbet
  235.     end
  236.  
  237.     if (lastChanceIndex == 7) then
  238.       if (round==0) then
  239.         nextbet = base * math.random(1.01,1.10)
  240.       else
  241.         nextbet = prebet8*1.59
  242.       end
  243.       chance = math.random(75,88)
  244.       prebet8 = nextbet
  245.     end
  246.  
  247.     if (lastChanceIndex == 8) then
  248.       if (round==0) then
  249.         nextbet = base * math.random(1.01,1.10)
  250.       else
  251.         nextbet = prebet9*1.58
  252.       end
  253.       chance = math.random(85,98)
  254.       prebet9 = nextbet
  255.     end
  256.  
  257.   end
  258.  
  259.   if (nextbet < base) then
  260.     nextbet = base * math.random(1.08,1.14)
  261.   end
  262.  
  263. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement