Advertisement
coinwalk

lua

Jun 30th, 2022
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. bob = balance/1010
  2. four = bob
  3. tom = false
  4. target = 5000
  5. yall = (bob*3)
  6. chance = 49.5
  7. bethigh = false
  8. have = balance
  9. ian = balance
  10. bal = balance
  11. nextbet = bob
  12. resetstats()
  13.  
  14. function dobet()
  15. bal = balance
  16. if (bal>=(have+(four*7))) then
  17. nextbet = four*2
  18. four = four*2
  19. yall = (four*5)
  20. have = bal
  21. end
  22. if (bal<=(have-(yall))) then
  23. nextbet = four*2
  24. four = four*2
  25. tom = true
  26. yall = (four*5)
  27. have = bal
  28. end
  29. if ((bal>=ian) and (tom==true) and (bal<(ian+(bob*10)))) then
  30. nextbet = bob
  31. four = bob
  32. yall = (bob*3)
  33. have = ian
  34. tom = false
  35. end
  36. if (bal>(ian+(bob*10))) then
  37. nextbet = bob
  38. four = bob
  39. yall = (bob*2)
  40. tom = false
  41. ian = ian+((math.floor((bal-ian)/(bob*10)))*(bob*10))
  42. have = ian
  43. end
  44. if (balance<nextbet) then
  45. stop()
  46. end
  47. if (balance>=target) then
  48. stop()
  49. end
  50. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement