Advertisement
supersnowzy

snowybot lua code

Jan 30th, 2023
623
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.11 KB | Cryptocurrency | 0 0
  1. chance = 49.5
  2. basebet = 0.00001
  3. --please dont have 8 in balance denomination of basebet and keep the basebet to nearest 1
  4. --basebet needs bet 100k+ divide
  5. floatingbasebet = basebet
  6. target = 5000
  7. amountup = 6.9
  8. amountdown = 2.9
  9. lumptenbase = (basebet*10)
  10. sevenbasebet = (basebet*6.9)
  11. amountlumps = 1
  12. oldbalancetwo = ((math.floor(balance/lumptenbase))*lumptenbase)
  13. oldbalanceone = ((math.floor(balance/lumptenbase))*lumptenbase)
  14. balancenow = balance
  15. nextbet = basebet
  16. resetstats()
  17.  
  18.  
  19. function dobet()
  20. if (win) then
  21.     balancenow = balancenow+floatingbasebet
  22. else
  23.     balancenow = balancenow-floatingbasebet
  24. end
  25. if (balancenow>(oldbalanceone+(floatingbasebet*amountup))) then
  26.     nextbet = floatingbasebet*2
  27.     floatingbasebet = floatingbasebet*2
  28.     amountup = 4.9
  29.     amountdown = 4.9
  30.     oldbalanceone = balancenow
  31. end
  32. if (balancenow<(oldbalanceone-(floatingbasebet*amountdown))) then
  33.     amountlumps = 0
  34.     amountup = 4.9
  35.     amountdown = 4.9
  36.     nextbet = floatingbasebet*2
  37.     floatingbasebet = floatingbasebet*2
  38.     oldbalanceone = balancenow
  39. end
  40. if ((balancenow>(oldbalancetwo+(lumptenbase*amountlumps))) and (balancenow<(oldbalancetwo+(((math.floor((balancenow-oldbalancetwo)/lumptenbase))*lumptenbase)+sevenbasebet)))) then
  41.     oldbalanceone = oldbalancetwo+((math.floor((balancenow-oldbalancetwo)/lumptenbase))*lumptenbase)
  42.     oldbalancetwo = oldbalancetwo+((math.floor((balancenow-oldbalancetwo)/lumptenbase))*lumptenbase)
  43.     amountup = 6.9
  44.     amountlumps = 1
  45.     amountdown = 2.9
  46.     nextbet = basebet
  47.     floatingbasebet = basebet
  48. end
  49. if ((balancenow>(oldbalancetwo+(lumptenbase*amountlumps))) and (balancenow>(oldbalancetwo+(((math.floor((balancenow-oldbalancetwo)/lumptenbase))*lumptenbase)+sevenbasebet)))) then
  50.     oldbalanceone = oldbalancetwo+((math.floor((balancenow-oldbalancetwo)/lumptenbase))*lumptenbase)
  51.     oldbalancetwo = oldbalancetwo+((math.floor((balancenow-oldbalancetwo)/lumptenbase))*lumptenbase)
  52.     amountup = 4.9
  53.     amountlumps = 1
  54.     amountdown = 4.9
  55.     nextbet = basebet*2
  56.     floatingbasebet = basebet*2
  57. end
  58. if (balancenow>target) then
  59. return
  60. end
  61. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement