Advertisement
alfarishi

prev2

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