Advertisement
coinwalk

snowybot lua code glitchfixed

Feb 5th, 2023
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.49 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. glitchfix = false
  8. lumptenbase = (basebet*10)
  9. sevenbasebet = (basebet*6.9)
  10. amountlumps = 1
  11. tag = 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. amountlumps = 1
  32. glitchfix = true
  33. oldbalanceone = balancenow
  34. end
  35. if ((balancenow<(oldbalanceone-(floatingbasebet*amountdown))) and (glitchfix==true)) then
  36. amountup = 4.9
  37. amountdown = 4.9
  38. nextbet = floatingbasebet*2
  39. floatingbasebet = floatingbasebet*2
  40. oldbalanceone = balancenow
  41. end
  42. if ((balancenow<(oldbalanceone-(floatingbasebet*amountdown))) and (glitchfix==false)) then
  43. amountlumps = 0
  44. amountup = 4.9
  45. amountdown = 4.9
  46. nextbet = floatingbasebet*2
  47. floatingbasebet = floatingbasebet*2
  48. oldbalanceone = balancenow
  49. end
  50. if ((balancenow>(oldbalancetwo+(basebet*amountlumps))) and (balancenow>(oldbalancetwo+(((math.floor((balancenow-oldbalancetwo)/lumptenbase))*lumptenbase)+sevenbasebet)))) then
  51. amountup = 4.9
  52. amountdown = 4.9
  53. nextbet = basebet*2
  54. floatingbasebet = basebet*2
  55. glitchfix = false
  56. amountlumps = 1
  57. oldbalanceone = ((math.floor(balancenow/lumptenbase))*lumptenbase)
  58. oldbalancetwo = ((math.floor(balancenow/lumptenbase))*lumptenbase)
  59. end
  60. if ((balancenow>(oldbalancetwo+(basebet*amountlumps))) and (balancenow<(oldbalancetwo+(((math.floor((balancenow-oldbalancetwo)/lumptenbase))*lumptenbase)+sevenbasebet)))) then
  61. amountup = 6.9
  62. amountdown = 2.9
  63. nextbet = basebet
  64. floatingbasebet = basebet
  65. glitchfix = false
  66. amountlumps = 1
  67. oldbalanceone = ((math.floor(balancenow/lumptenbase))*lumptenbase)
  68. oldbalancetwo = ((math.floor(balancenow/lumptenbase))*lumptenbase)
  69. end
  70. if (balancenow>target) then
  71. return
  72. end
  73. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement