Advertisement
coinwalk

best lua

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