Advertisement
alfarishi

pre

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