Advertisement
coinwalk

elclunky fixed

Oct 17th, 2020
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. fraction = 10000
  2. basebet = balance/fraction
  3. chance = 49.5
  4. nextbet = basebet
  5. bethigh = false
  6. google = balance
  7. com = balance
  8. now = 0
  9. nob = 0
  10. nib = 0
  11. go = 0
  12. bill = 0
  13. bob = balance
  14. target = 15000
  15. resetstats()
  16. function dobet()
  17. none = math.random(2,3)
  18. if !win then
  19. now+=1
  20. bill+=1
  21. go+=1
  22. else
  23. nob+=1
  24. go = 0
  25. now = 0
  26. end
  27. if (math.fmod(bill,none)==0) and !win then
  28. bethigh = !bethigh
  29. end
  30. if (now>1) then
  31. nextbet = previousbet*1.5
  32. end
  33. if (nob==1) then
  34. nextbet = previousbet*3
  35. nob = 0
  36. end
  37. if nextbet<basebet then
  38. nextbet = basebet
  39. end
  40. if (nextbet>=google-balance) then
  41. basebet = balance/fraction
  42. nextbet = basebet
  43. end
  44. if (balance>=google) then
  45. basebet = balance/fraction
  46. nextbet = basebet
  47. bob = balance
  48. nob = 0
  49. nib = 0
  50. now = 0
  51. google = balance
  52. end
  53. if balance>target and win then
  54. stop()
  55. end
  56. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement