Advertisement
coinwalk

updated lua

Jul 7th, 2020
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. more = balance
  2. fraction = 160000
  3. basebet = balance/fraction
  4. nextbet = basebet
  5. bethigh = false
  6. loss = 0
  7. winn = 0
  8. lossy = 0
  9. xix = 0
  10. target = balance*1000
  11. chance = 49.95
  12. function dobet()
  13. if win then
  14. winn+=1
  15. xix+=1
  16. end
  17. if (winn==2) then
  18. nextbet = previousbet*2
  19. winn = 0
  20. end
  21. if (xix==3) then
  22. nextbet = previousbet*2
  23. xix = 0
  24. winn = 0
  25. end
  26. if (nextbet == nil) then
  27. nextbet = previousbet
  28. end
  29. if (balance >= more) then
  30. nextbet = balance/fraction
  31. more = balance
  32. end
  33. if (balance > target) then
  34. stop()
  35. end
  36. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement