Advertisement
coinwalk

snowybot

Oct 5th, 2021
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. divide = 5000
  2. b = balance/divide
  3. bob = 10000000
  4. chance = 49.5
  5. bethigh = false
  6. nextbet = b
  7. target = 50000
  8. old = balance
  9. v = bob
  10. x = bob
  11. zim = balance
  12. resetstats()
  13.  
  14. function dobet()
  15. if win then
  16. v = v+1
  17. else
  18. v = v-1
  19. end
  20. if (v<=(x-4)) or (v>=(x+7)) then
  21. nextbet = previousbet*2
  22. x = v
  23. end
  24. if (balance>=(old+(b*10))) then
  25. nextbet = b
  26. v = bob
  27. x = bob
  28. old = balance
  29. end
  30. if ((balance-nextbet)<=zim) and previousbet>=b*4 and !win then
  31. nextbet = previousbet/2
  32. end
  33. if (balance>target) then
  34. stop()
  35. end
  36. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement