Advertisement
coinwalk

snowybot

Oct 9th, 2021
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. divide = 10000
  2. b = balance/divide
  3. chance = 49.5
  4. bethigh = false
  5. nextbet = b
  6. target = 50000
  7. old = balance
  8. older = balance
  9. olda = balance
  10. oldest = balance
  11. dah = balance
  12. rnd = 0
  13. x = balance/divide
  14. resetstats()
  15.  
  16. function dobet()
  17. if (balance<=(olda-(x*4))) then
  18. nextbet = previousbet*2
  19. x = nextbet
  20. olda = balance
  21. end
  22. if balance>olda then
  23. olda = balance
  24. end
  25. if (balance>=(older+(x*7))) then
  26. nextbet = previousbet*2
  27. x = nextbet
  28. older = balance
  29. end
  30. if balance<older then
  31. older = balance
  32. end
  33. if (balance>=oldest) then
  34. nextbet = b
  35. x = b
  36. older = balance
  37. olda = balance
  38. old = balance
  39. oldest = balance
  40. rnd = math.random(2)
  41. if (rnd==2) then
  42. bethigh = !bethigh
  43. end
  44. end
  45. if (balance>target) then
  46. stop()
  47. end
  48. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement