Advertisement
cryptomonkey

Leader Tong v. 1.0

Dec 26th, 2019
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.87 KB | None | 0 0
  1. minbalance = 1000
  2. minbet = minbalance/100000
  3. base = (balance/100000 + minbet)/2
  4. chance = 100-math.random(40,60)
  5. bigc = math.random(72,80)+math.random(72,80)/100
  6. smallc = 100 - bigc
  7. mchance = (bigc + smallc)/2
  8. roll = 0
  9. losecount = 0
  10. wincount = 0
  11. nextbet = minbet
  12. target = balance+base*2
  13.  
  14. a = math.random(1,2)
  15.  
  16. --------------------------
  17. bigtarget   = balance*1.05
  18. stoploss    = balance*0.90
  19. --------------------------
  20.  
  21. function dobet()
  22.  
  23. if balance-nextbet >= bigtarget then
  24.     stop();
  25.   print(balance)
  26.   print("TARGET ACHIEVED!!!")
  27.   print("You Won")
  28.   print("Profit: " .. string.format("%9.8f", profit) )
  29.   print("for this Session")
  30.     end
  31.    
  32. if balance-nextbet <= stoploss then
  33.     stop()
  34.     ching()
  35.     resetseed()
  36.   print(balance)
  37.   print("ALARM!!!")
  38.   print("You Lose")
  39.   print("Profit: " .. string.format("%9.8f", profit) )
  40.   print("for this Session")
  41. end
  42.  
  43.  
  44. if profit >= base*3 then
  45. resetseed();
  46. resetstats();
  47. nextbet = base
  48. chance = bigc
  49. end
  50. if profit > 0 then
  51. pro = base
  52. else
  53. pro = -profit + minbet
  54. end
  55. bethigh = bethigh
  56. roll+=1
  57.  
  58. if smallc >= 28 then
  59. multi = 1.082
  60. end
  61. if smallc < 28 and smallc >= 26 then
  62. multi = 1.078
  63. end
  64. if smallc <26 and smallc >= 24 then
  65. multi = 1.073
  66. end
  67. if smallc < 24 and smallc >= 22 then
  68. multi = 1.062
  69. end
  70. if smallc < 22 then
  71. multi = 1.058
  72. end
  73.  
  74. if win and chance < 30 then
  75. nextbet = previousbet/2
  76. chance = smallc
  77. else
  78. nextbet = previousbet*2
  79. chance = bigc
  80. end
  81.  
  82. if !win then
  83. nextbet = previousbet*multi
  84. bethigh = !bethigh
  85. chance = 100-lastBet.chance
  86. end
  87.  
  88. if balance >= target then
  89. nextbet = minbet
  90. resetseed()
  91. resetstats()
  92. chance = 100-lastBet.chance
  93. target = balance+base*2
  94. bigc = math.random(72,80)+math.random(72,80)/100
  95. smallc = math.random(20,28)+math.random(20,28)/100
  96. mchance = ( bigc + smallc)/2
  97. end
  98.  
  99. if currentstreak >= 3 then
  100. bethigh = !bethigh
  101. chance = mchance
  102. nextbet = pro
  103. end
  104. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement