Advertisement
coinwalk

lua snowybot

Jan 26th, 2023
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.41 KB | None | 0 0
  1. chance = 49.5
  2. basebet = 0.00001
  3. floatingbasebet = basebet
  4. target = 5000
  5. amountup = 6.9
  6. amountdown = 2.9
  7. lumptenbase = (basebet*10)
  8. sevenbasebet = (basebet*6.9)
  9. amountlumps = 1
  10. oldbalancetwo = balance
  11. oldbalancethree = balance
  12. oldbalanceone = balance
  13. balancenow = balance
  14. nextbet = basebet
  15. resetstats()
  16.  
  17.  
  18. function dobet()
  19. if (win) then
  20. balancenow = balancenow+floatingbasebet
  21. else
  22. balancenow = balancenow-floatingbasebet
  23. end
  24. if (balancenow>(oldbalanceone+(floatingbasebet*amountup))) then
  25. nextbet = floatingbasebet*2
  26. floatingbasebet = floatingbasebet*2
  27. amountup = 4.9
  28. amountdown = 4.9
  29. oldbalanceone = balancenow
  30. oldbalancetwo = oldbalancetwo+((math.ceil((balancenow-oldbalancetwo)/lumptenbase))*lumptenbase)
  31. end
  32. if (balancenow<(oldbalanceone-(floatingbasebet*amountdown))) then
  33. amountup = 4.9
  34. amountdown = 4.9
  35. nextbet = floatingbasebet*2
  36. floatingbasebet = floatingbasebet*2
  37. oldbalanceone = balancenow
  38. end
  39. if ((balancenow>(oldbalancetwo+(lumptenbase*amountlumps))) and (balancenow<(oldbalancetwo+(((math.floor((balancenow-oldbalancetwo)/lumptenbase))*lumptenbase)+sevenbasebet)))) then
  40. oldbalanceone = oldbalancetwo+((math.floor((balancenow-oldbalancetwo)/lumptenbase))*lumptenbase)
  41. oldbalancetwo = oldbalancetwo+((math.floor((balancenow-oldbalancetwo)/lumptenbase))*lumptenbase)
  42. amountup = 6.9
  43. amountlumps = 1
  44. amountdown = 2.9
  45. nextbet = basebet
  46. floatingbasebet = basebet
  47. end
  48. if ((balancenow>(oldbalancetwo+(lumptenbase*amountlumps))) and (balancenow>(oldbalancetwo+(((math.floor((balancenow-oldbalancetwo)/lumptenbase))*lumptenbase)+sevenbasebet)))) then
  49. oldbalanceone = oldbalancetwo+((math.floor((balancenow-oldbalancetwo)/lumptenbase))*lumptenbase)
  50. oldbalancetwo = oldbalancetwo+((math.floor((balancenow-oldbalancetwo)/lumptenbase))*lumptenbase)
  51. amountup = 4.9
  52. amountlumps = 1
  53. amountdown = 4.9
  54. nextbet = basebet*2
  55. floatingbasebet = basebet*2
  56. end
  57. if ((balancenow>(oldbalancethree+(lumptenbase))) and (balancenow>(oldbalancethree+(((math.floor((balancenow-oldbalancethree)/lumptenbase))*lumptenbase)+sevenbasebet)))) then
  58. oldbalanceone = oldbalancethree+((math.floor((balancenow-oldbalancethree)/lumptenbase))*lumptenbase)
  59. oldbalancetwo = oldbalancethree+((math.floor((balancenow-oldbalancethree)/lumptenbase))*lumptenbase)
  60. oldbalancethree = oldbalancethree+((math.floor((balancenow-oldbalancethree)/lumptenbase))*lumptenbase)
  61. amountup = 4.9
  62. amountlumps = 1
  63. amountdown = 4.9
  64. nextbet = basebet*2
  65. floatingbasebet = basebet*2
  66. end
  67. if ((balancenow>(oldbalancethree+(lumptenbase))) and (balancenow<(oldbalancethree+(((math.floor((balancenow-oldbalancethree)/lumptenbase))*lumptenbase)+sevenbasebet)))) then
  68. oldbalanceone = oldbalancethree+((math.floor((balancenow-oldbalancethree)/lumptenbase))*lumptenbase)
  69. oldbalancetwo = oldbalancethree+((math.floor((balancenow-oldbalancethree)/lumptenbase))*lumptenbase)
  70. oldbalancethree = oldbalancethree+((math.floor((balancenow-oldbalancethree)/lumptenbase))*lumptenbase)
  71. amountup = 6.9
  72. amountlumps = 1
  73. amountdown = 2.9
  74. nextbet = basebet
  75. floatingbasebet = basebet
  76. end
  77. if (balancenow<=(oldbalancetwo-(basebet*4.9))) then
  78. amountlumps = amountlumps+1
  79. oldbalancetwo = oldbalancetwo-((math.ceil((oldbalancetwo-balancenow)/lumptenbase))*lumptenbase)
  80. end
  81. if (balancenow>target) then
  82. return
  83. end
  84. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement