Advertisement
coinwalk

snowybot luabot with handbreak

Feb 3rd, 2023
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.79 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. tag = balance
  11. older = balance
  12. oldbalanceone = ((math.floor(tag/lumptenbase))*lumptenbase)
  13. oldbalancetwo = ((math.floor(tag/lumptenbase))*lumptenbase)
  14. balancenow = balance
  15. nextbet = basebet
  16. bethigh = false
  17. resetstats()
  18.  
  19.  
  20. function dobet()
  21. if (win) then
  22. balancenow = balancenow+floatingbasebet
  23. else
  24. balancenow = balancenow-floatingbasebet
  25. end
  26. if (balancenow>(oldbalanceone+(floatingbasebet*amountup))) then
  27. nextbet = floatingbasebet*2
  28. floatingbasebet = floatingbasebet*2
  29. amountup = 4.9
  30. amountdown = 4.9
  31. oldbalanceone = balancenow
  32. end
  33. if (balancenow<(oldbalanceone-(floatingbasebet*amountdown))) then
  34. amountup = 4.9
  35. amountdown = 4.9
  36. nextbet = floatingbasebet*2
  37. floatingbasebet = floatingbasebet*2
  38. oldbalanceone = balancenow
  39. end
  40. if ((nextbet>sevenbasebet) and (balancenow>(oldbalancetwo+(((math.floor((balancenow-oldbalancetwo)/lumptenbase))*lumptenbase)+sevenbasebet)))) then
  41. amountup = 4.9
  42. amountdown = 4.9
  43. nextbet = basebet*2
  44. floatingbasebet = basebet*2
  45. oldbalanceone = ((math.floor(balancenow/lumptenbase))*lumptenbase)
  46. oldbalancetwo = ((math.floor(balancenow/lumptenbase))*lumptenbase)
  47. end
  48. if ((nextbet>sevenbasebet) and (balancenow<(oldbalancetwo+(((math.floor((balancenow-oldbalancetwo)/lumptenbase))*lumptenbase)+sevenbasebet)))) then
  49. amountup = 6.9
  50. amountdown = 2.9
  51. nextbet = basebet
  52. floatingbasebet = basebet
  53. oldbalanceone = ((math.floor(balancenow/lumptenbase))*lumptenbase)
  54. oldbalancetwo = ((math.floor(balancenow/lumptenbase))*lumptenbase)
  55. end
  56. if ((nextbet>sevenbasebet) and (balancenow>(oldbalancetwo-(((math.ceil((oldbalancetwo-balancenow)/lumptenbase))*lumptenbase))+sevenbasebet))) then
  57. amountup = 4.9
  58. amountdown = 4.9
  59. nextbet = basebet*2
  60. floatingbasebet = basebet*2
  61. oldbalanceone = ((math.floor(balancenow/lumptenbase))*lumptenbase)
  62. oldbalancetwo = ((math.floor(balancenow/lumptenbase))*lumptenbase)
  63. end
  64. if ((nextbet>sevenbasebet) and (balancenow<(oldbalancetwo-(((math.ceil((oldbalancetwo-balancenow)/lumptenbase))*lumptenbase))+sevenbasebet))) then
  65. amountup = 6.9
  66. amountdown = 2.9
  67. nextbet = basebet
  68. floatingbasebet = basebet
  69. oldbalanceone = ((math.floor(balancenow/lumptenbase))*lumptenbase)
  70. oldbalancetwo = ((math.floor(balancenow/lumptenbase))*lumptenbase)
  71. end
  72. if (balancenow>target) then
  73. return
  74. end
  75. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement