coinwalk

nice free coin

Oct 12th, 2019
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. -- 7 max losses (ludicrous) - 27.364138
  2. -- 8 max losses (stupid) - 7.3446286
  3. -- 9 max losses (risky) - 1.9714477
  4. -- 10 max losses (safe) - 0.5291766
  5. -- 11 max losses (safest) - 0.1420417
  6. betcalc = 0.1420417
  7. bethigh = true
  8. stopnow = false
  9. first = true
  10. done = true
  11. chance = 27.5
  12. if (betcalc < 0.01) then print("Please set betcalc then restart the script") stop() end
  13. base = balance * (betcalc / 100000)
  14. curbet = base * 3.7255
  15. nextbet = base
  16. function dobet()
  17. base = balance * (betcalc / 100000)
  18. if (first) then
  19. if(stopnow) then stop() end
  20. if !win then
  21. chance = 50
  22. nextbet = curbet
  23. first = false
  24. done = true
  25. end
  26. end
  27. if(!first and !done) then
  28. if(stopnow) then stop() end
  29. if win then
  30. chance = 27.5
  31. curbet = base * 3.7255
  32. nextbet = base
  33. first = true
  34. done = true
  35. else
  36. curbet = curbet * 3.7255
  37. nextbet = curbet
  38. chance = 72.5
  39. end
  40. end
  41. done = false
  42. end
Add Comment
Please, Sign In to add comment