coinwalk

seuntjie bot

Aug 14th, 2021
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.47 KB | None | 0 0
  1. cat = 2500
  2. y = balance/cat
  3. cool = balance
  4. boots = 0
  5. x = balance/cat
  6. chance = 49.95
  7. bethigh = false
  8. target = 2000
  9. nextbet = y
  10. old = balance
  11. g = false
  12. jib = false
  13. box = false
  14. olf = balance
  15. elf = balance
  16. older = balance
  17. bety = 0
  18. resetstats()
  19.  
  20.  
  21. function one()
  22. bety = bety+1
  23. if (balance>=(elf+(x*7))) then
  24. nextbet = previousbet*2
  25. x = nextbet
  26. bety = 0
  27. elf = balance
  28. end
  29. if (balance<=(olf-(x*4))) and bety>=7 then
  30. nextbet = previousbet*2
  31. x = nextbet
  32. bety = 0
  33. olf = balance
  34. end
  35. if (balance>=(old+(y*10))) then
  36. bethigh = !bethigh
  37. y = balance/cat
  38. bety = 0
  39. nextbet = y
  40. x = y
  41. olf = balance
  42. elf = balance
  43. old = balance
  44. end
  45. if nextbet<y then
  46. nextbet = y
  47. end
  48. end
  49. function two()
  50. if win then
  51. g = false
  52. end
  53. if (balance>=(elf+(x*2))) and g==false then
  54. nextbet = previousbet*2
  55. x = nextbet
  56. sick = true
  57. box = false
  58. g = true
  59. elf = balance
  60. end
  61. if (balance>=(elf+(x*2))) and g==true then
  62. nextbet = previousbet/2
  63. x = nextbet
  64. g = false
  65. sick = false
  66. elf = balance
  67. end
  68. if (balance<=(olf-(x*2))) and jib==false then
  69. nextbet = previousbet*2
  70. x = nextbet
  71. jib = true
  72. olf = balance
  73. end
  74. if (balance<=(olf-(x*2))) and jib==true then
  75. nextbet = previousbet/2
  76. x = nextbet
  77. box = true
  78. jib = false
  79. olf = balance
  80. end
  81. if !win and sick==true then
  82. nextbet = previousbet/2
  83. x = nextbet
  84. olf = balance
  85. elf = balance
  86. sick = false
  87. end
  88. if (balance<=(olf-(x*2))) and box==true then
  89. jib = false
  90. end
  91. if balance>olf then
  92. olf = balance
  93. end
  94. if balance<elf then
  95. elf = balance
  96. end
  97. if (balance>=(old+(y*3))) then
  98. y = balance/cat
  99. nextbet = y
  100. x = y
  101. sick = false
  102. jib = false
  103. box = false
  104. olf = balance
  105. elf = balance
  106. g = false
  107. old = balance
  108. end
  109. if nextbet<y then
  110. nextbet = y
  111. end
  112. end
  113. function three()
  114. bety = bety+1
  115. if (balance>=(elf+(x*7))) then
  116. nextbet = previousbet*2
  117. x = nextbet
  118. elf = balance
  119. end
  120. if (balance<=(olf-(x*4))) and bety>=7 then
  121. nextbet = previousbet*2
  122. x = nextbet
  123. olf = balance
  124. end
  125. if (balance>=(old+(y*10))) then
  126. bethigh = !bethigh
  127. y = balance/cat
  128. nextbet = y
  129. x = y
  130. olf = balance
  131. elf = balance
  132. old = balance
  133. end
  134. if nextbet<y then
  135. nextbet = y
  136. end
  137. end
  138. function dobet()
  139. mofo = math.random(1,3)
  140. if (balance>=(cool+(y*10))) then
  141. if (mofo==1) then
  142. three()
  143. end
  144. if (mofo==2) then
  145. two()
  146. end
  147. if (mofo==3) then
  148. one()
  149. end
  150. cool = balance
  151. else
  152. one()
  153. cool = balance
  154. end
  155. if balance>target then
  156. stop()
  157. end
  158. end
Add Comment
Please, Sign In to add comment