Advertisement
alfarishi

Untitled

Jul 29th, 2020
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.10 KB | None | 0 0
  1. chance1=5.09189              -->11.10X payout
  2. chance2=5.1020              --> 9.8X payout
  3. chance3=5.263               --> 7.6X Payout
  4. chance4=5.3333              --> 5.4X Payout
  5. chance5=5.4375              --> 3.2X Payout
  6.  
  7. m1=1.0519                   --> Multipliers (Increase on Lose 1.119=11.9% Inc on lose) 
  8. m2=1.05237
  9. m3=1.05382
  10. m4=1.05474
  11. m5=1.05546
  12.  
  13. target=0.00100000           --> Set your Target Profit here
  14.  
  15. prebet=0.01
  16. betfactor=0.00002           --> very conservative to absorb max losses with profit on win (Bankroll*0.00002 = basebet)
  17. basebet=0.02    --> 2 sats basebet at .0005 BTC, basebet increases as balance increases; basebet=0.00000002 (fixed basebet)  
  18. nextbet=prebet
  19. chance=chance1
  20. bethigh=false
  21.  
  22. lostchance=1
  23. losecount=0
  24. wincount=0
  25. trigger=0
  26. betcount=0
  27. preroll=49
  28. counter=0
  29. high=0
  30. low=0
  31.  
  32.  
  33.  
  34. resetseed()
  35. --resetstats()              --> To reset your statistics, remove the double dash (--)
  36.  
  37. function dobet()
  38.  
  39. loadgun()
  40. betroll()
  41. rstseed()
  42. viewstats()
  43. betcount+=1
  44.  
  45. if basebet<0.00000002 then  --> Change this for a higher basebet (Both Values)
  46.     basebet=0.00000002
  47. end
  48.  
  49. e=currentstreak+preroll
  50.  
  51. if win then
  52.    
  53.     goal()
  54.     loadgun()
  55.     basebet=balance*betfactor
  56.  
  57.     if basebet<0.00000002 then  --> Change this for a higher basebet (Both Values)
  58.         basebet=0.00000002
  59.     end
  60.  
  61.     nextbet=prebet
  62.     wincount+=1
  63.     losecount=0
  64.  
  65.     hilo()
  66.  
  67.     if trigger==1 then
  68.         chance=chance1
  69.         lostchance=1
  70.         preroll=59
  71.     end
  72.  
  73.     if trigger==2 then
  74.         chance=chance2
  75.         lostchance=2
  76.         preroll=68
  77.     end
  78.  
  79.     if trigger==3 then
  80.         chance=chance3
  81.         lostchance=3
  82.         preroll=75
  83.     end
  84.  
  85.     if trigger==4 then
  86.         chance=chance4
  87.         lostchance=4
  88.         preroll=84
  89.     end
  90.  
  91.     if trigger==5 then
  92.         chance=chance5
  93.         lostchance=5
  94.         preroll=91
  95.     end
  96.  
  97. else
  98.     losecount+=1
  99.     nexbet=prebet
  100.  
  101.     if lostchance==1 then
  102.         if e == 0 then 
  103.             chance=chance1
  104.             nextbet=basebet
  105.         end
  106.  
  107.         if e <0 then
  108.             chance=chance1
  109.             nextbet=previousbet*m1
  110.         end    
  111.     end
  112.  
  113.     if lostchance==2 then
  114.         if e == 0 then 
  115.             chance=chance2
  116.             nextbet=basebet
  117.         end
  118.  
  119.         if e <0 then
  120.             chance=chance2
  121.             nextbet=previousbet*m2
  122.         end
  123.     end
  124.  
  125.     if lostchance==3 then
  126.         if e == 0 then 
  127.             chance=chance3
  128.             nextbet=basebet
  129.         end
  130.  
  131.         if e <0 then
  132.             chance=chance3
  133.             nextbet=previousbet*m3
  134.         end
  135.     end
  136.  
  137.     if lostchance==4 then
  138.         if e == 0 then 
  139.             chance=chance4
  140.             nextbet=basebet
  141.         end
  142.  
  143.         if e <0 then
  144.             chance=chance4
  145.             nextbet=previousbet*m4
  146.         end
  147.  
  148.     end
  149.  
  150.     if lostchance==5 then
  151.         -- randomizer()
  152.         if e == 0 then 
  153.             chance=chance5
  154.             nextbet=basebet
  155.         end
  156.  
  157.         if e <0 then
  158.             chance=chance5
  159.             nextbet=previousbet*m5
  160.         end
  161.  
  162.     end
  163.  
  164. end
  165.  
  166. end
  167.  
  168. function hilo()
  169.  
  170.         if high > low then
  171.     bethigh=true
  172.         else
  173.     bethigh=false
  174.         end
  175.  
  176.        if (high-low) > 5 then
  177.     bethigh=false
  178.         end
  179.  
  180.         if (low-high)> 5 then
  181.     bethigh=true
  182.         end
  183. end
  184.  
  185. function betroll()
  186.  
  187.     if (lastBet.roll < chance) then
  188.         low += 1
  189.     end
  190.  
  191.     if (lastBet.roll > (99.99 - chance)) then
  192.         high += 1
  193.     end
  194.  
  195. end
  196.  
  197. function rstseed()
  198.  
  199. if counter==500 then
  200.  
  201.     resetseed()
  202.     counter=0
  203.     low=0
  204.     high=0
  205. else
  206.  
  207.     counter+=1
  208.  
  209. end
  210. end
  211.  
  212. function viewstats()
  213. print(" ")
  214. print("Total Bet : "..betcount)
  215. print("Current Streak Loss : "..losecount)
  216. print("Wins : "..wincount)
  217. print("Losses : "..(betcount-wincount))
  218. print("Current Profit : "..string.format("%.8f",profit))
  219. print("Target Profit : "..string.format("%.8f",target))
  220. print("Current Balance : "..string.format("%.8f",balance))
  221. print("High :"..high.." / ".."Low :"..low)
  222. print(" ")
  223. end
  224.  
  225. function randomizer()
  226.  
  227. r=math.random(2)
  228.  
  229. if r==2 then
  230.     bethigh=true
  231. else
  232.     bethigh=false
  233. end
  234.  
  235. end
  236.  
  237. function loadgun()
  238.  
  239. t=math.random(5)
  240.  
  241.     trigger=t
  242.  
  243. end
  244.  
  245. function goal()
  246. if profit>target then
  247.     stop()
  248.     print(" ")
  249.     print("TARGET REACHED!!!")
  250.     print(" ")
  251.     print("Total Wins : "..wincount)
  252.     print("Total Losses : "..(betcount-wincount))
  253.     print("Total Bet : "..betcount)
  254.     print("Current Profit : "..string.format("%.8f",profit))
  255.     print("Target Profit : "..string.format("%.8f",target))
  256.     print("Final Balance : "..string.format("%.8f",balance))
  257.     print(" ")
  258. end
  259. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement