Advertisement
coinwalk

new lua

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