Advertisement
coinwalk

snowynewbot lua

Jul 11th, 2020
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. more = balance
  2. fraction = 256
  3. basebet = balance/fraction
  4. nextbet = 0
  5. bethigh = false
  6. loss = 0
  7. winn = 0
  8. snow = 0
  9. snowy = 0
  10. target = 1600
  11. chance = 49.95
  12.  
  13. function dobet()
  14. if win then
  15. winn+=1
  16. snow+=1
  17. snowy+=1
  18. else
  19. loss+=1
  20. end
  21. if (snow>2) then
  22. nextbet = previousbet*2
  23. snow = 0
  24. end
  25. if (snowy>3) then
  26. nextbet = previousbet*2
  27. snowy = 0
  28. end
  29. if (winn>1) then
  30. winn = 0
  31. end
  32. if (loss>2) and (winn>0) and win and (balance==more) then
  33. nextbet = basebet
  34. loss = 0
  35. winn = 0
  36. more = balance
  37. end
  38. if (nextbet>(balance/2)) then
  39. nextbet = 0
  40. end
  41. if (balance > more) and win then
  42. nextbet = 0
  43. snow = 0
  44. snowy = 0
  45. loss = 0
  46. winn = 0
  47. more = balance
  48. end
  49. if (balance > target) then
  50. stop()
  51. ching()
  52. end
  53. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement