Advertisement
alfarishi

ngib

May 3rd, 2020
480
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cannon1 = 95
  2. cannon21 = 28.82
  3. cannon22 = 33.33
  4. cannon3 = 90.00
  5. chance = cannon3
  6. multiplier = 1.56
  7.  
  8. target1 = balance *1.2
  9.  
  10. base        = balance*0.00001
  11. maincannons = base
  12. basebet     = base/10
  13. basebet2    = base/15
  14. limit       = base*25
  15. minr        = base
  16. maxr        = base*1.5
  17. buffer      = math.random(minr * 100000000,maxr * 100000000)/100000000.0
  18.  
  19.  
  20. newtarget = balance + maincannons + 0.00000500
  21. newtarget1 = balance
  22. betcount = 0
  23. counter = 31
  24. counter2 = 0
  25. view = 10
  26.  
  27. bethigh = false
  28. trigger = 0
  29. highhit = 1
  30. hit = 1
  31. power = 0
  32. low = 0
  33. high = 0
  34. winrun = 1
  35.  
  36. nextbet = basebet
  37. --resetstats()
  38.  
  39. print("TARGET PROFIT AT : "..target1.." LTC")
  40.  
  41. function dobet()
  42.  
  43. counter += 1
  44. counter2 += 1
  45.  
  46. if (lastBet.roll < cannon2) then
  47.     low += 1
  48. end
  49.  
  50. if (lastBet.roll > (99.99 - cannon2)) then
  51.     high += 1
  52. end
  53.  
  54. if counter2 == view then
  55.         print(" ")
  56.         power=(balance-newtarget)*-1
  57.         print("Profit So Far "..string.format("%.8f", profit))
  58.         print("Needed Power : "..string.format("%.8f", power).." LTC...")
  59.         print("High/Low : "..high.." / "..low)
  60.         print(" ")
  61.         view+=30
  62. end
  63.  
  64. if balance > target1 then
  65.     print(" ")
  66.     stop()
  67.     ching()
  68.     print("TARGET REACHED!")
  69.     print(" ")
  70.     print("Profit So Far "..string.format("%.8f", profit))
  71.     print("Balance is "..balance)
  72.     print(counter2.." Bets Played!")
  73.     ching()
  74.     print(" ")
  75. end
  76.  
  77. if win then
  78.  
  79.     if winrun == 1 then
  80.         trigger = 1
  81.     end
  82.     if winrun == 2 then
  83.         winrun = 1
  84.         trigger = 3
  85.     end
  86.  
  87.     if counter > 500 then
  88.         resetseed()
  89.         counter = 0
  90.         low = 0
  91.         high = 0
  92.         print(" ")
  93.         print("Profit : "..string.format("%.8f", profit))
  94.         print("In "..counter2.." Rolls")    
  95.         print(" ")
  96.         print("Highest Hits : "..(highhit-1))
  97.         print(" ")
  98.         print("Cannons Building Up Power...")
  99.         print(" ")
  100.         power=balance-newtarget
  101.         print("Needed Power : "..string.format("%.8f", power).." LTC...")
  102.         print("Ammo : "..string.format("%.8f", buffer))
  103.         print(" ")
  104.     end
  105.  
  106.     if balance  > newtarget then
  107.  
  108.         randomizer()
  109.  
  110.         buffer = math.random(minr * 100000000,maxr * 100000000)/100000000.0
  111.  
  112.         if hit > 30 then
  113.             print("BONUS")
  114.         end
  115.  
  116.         print("HIT # "..hit)
  117.         print(" ")
  118.         nextbet=maincannons
  119.         chance=cannon1
  120.         newtarget1=balance
  121.         hit+=1
  122.         trigger=0
  123.  
  124.         if hit > 15 then
  125.             chance  = 95
  126.             nextbet = maincannons*100
  127.         else
  128.             nextbet = maincannons
  129.         end
  130.  
  131.         if cannon1 < 90.09 then
  132.             cannon1 = 95
  133.         else
  134.             cannon1 -= 0.41
  135.         end
  136.  
  137.         if hit > highhit then
  138.             highhit = hit
  139.         end
  140.     else
  141.         cannon1 = 95
  142.         cannons()
  143.     end
  144.  
  145. else
  146.         trigger = 2
  147.         cannons()
  148.  
  149.         if hit > 1 then
  150.             print("Needed Power : "..string.format("%.8f", power))
  151.             hit = 1
  152.         end
  153. end
  154. end -- end of dobet
  155.  
  156.  
  157. function cannons()
  158.  
  159. print("Current Streak : "..currentstreak)
  160. print("")
  161. newtarget=newtarget1+buffer
  162.  
  163. if trigger == 1 then
  164.     randomizer()
  165.     chance  = cannon1
  166.     nextbet = basebet
  167. end
  168.    
  169. if trigger == 2 then
  170.  
  171.     hilo()
  172.     print("High : "..high.." / ".."Low : "..low)
  173.  
  174.     if chance < cannon22 and chance > cannon21 then
  175.         chance = math.random(cannon21*1000,cannon22*1000)/1000
  176.         nextbet = previousbet * multiplier
  177.     else
  178.         chance  = math.random(cannon21*1000,cannon22*1000)/1000
  179.         nextbet = previousbet*0.5
  180.         winrun  = 2                                                
  181.     end
  182. end
  183.  
  184. if trigger == 3 then
  185.     chance = math.random(cannon21*1000,cannon22*1000)/1000
  186.     nextbet = basebet2
  187.     winrun = 1
  188. end                                                
  189.  
  190. end -- end of function cannons  
  191.  
  192. function randomizer()
  193.  
  194. bethigh = math.random(0,100)%3 == 0
  195. bethigh = !bethigh
  196.  
  197. end
  198.  
  199. function hilo()
  200.  
  201.     if high > low then
  202.         bethigh = true
  203.     else
  204.         bethigh = false
  205.     end
  206.  
  207.     if (high-low) > 5 then
  208.         low = 0
  209.         high = 0
  210.     end
  211.  
  212.     if (low-high) > 5 then
  213.         low = 0
  214.         high = 0
  215.     end
  216.  
  217. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement