Advertisement
coinwalk

easier to write the bot in lua

Jul 20th, 2020
138
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 1 0
  1. fraction = 200
  2. basebet = balance/fraction
  3. nextbet = basebet
  4. multiplier = 2
  5. more = balance
  6. longer = balance
  7. long = balance
  8. target = balance*100
  9. chance = 49.95
  10. bogus = 0
  11. lol = 0
  12. bethigh = false
  13. function dobet()
  14. if lastBet.Roll < 499500 then
  15. bethigh = false
  16. else
  17. bethigh = true
  18. end
  19. if !win then
  20. bogus+=1
  21. lol+=1
  22. else
  23. bogus = 0
  24. lol = 0
  25. end
  26. if (bogus==2) then
  27. bethigh = !bethigh
  28. bogus = 0
  29. end
  30. if (lol==5) then
  31. bethigh = !bethigh
  32. lol = 0
  33. end
  34. if (balance>=(more+(basebet*4))) then
  35. nextbet = previousbet*2
  36. more = balance
  37. longer = balance
  38. end
  39. if (balance<=(longer-(basebet*16))) then
  40. nextbet = previousbet*2
  41. longer = balance
  42. end
  43. if (balance>=(long+(basebet*8))) then
  44. nextbet = basebet
  45. long = balance
  46. longer = balance
  47. more = balance
  48. end
  49. if (nextbet==nil) then
  50. nextbet = previousbet
  51. end
  52. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement