Advertisement
Ypleitez

Untitled

Nov 6th, 2023
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. minbet = 2e-5
  2. div = 1e4
  3. startch = 50
  4. chance = startch
  5. base = balance/div
  6. nextbet = base
  7. bethigh = true
  8. ctwin = 0
  9. ctlose = 0
  10. ctrate = 0
  11. resetseed()
  12. resetpartialprofit()
  13. function dobet()
  14. log("--- win \t"..ctwin.."\t - lose "..ctlose.."\t"..ctrate.."% ")
  15. if win then ctwin = ctwin + 1 else ctlose = ctlose + 1 end
  16. if partialprofit > 0 then
  17. resetpartialprofit()
  18. nextbet = base
  19. ctrate = (ctwin/ctlose)*100
  20. if ctrate < 50 then
  21. bethigh = !bethigh
  22. chance = math.random(startch*100, (startch+1)*100)/100
  23. end
  24. if ctlose >= 10 then resetseed() end
  25. ctwin = 0 ctlose = 0 ctrate = 0
  26. else
  27. if ctwin < ctlose then
  28. if ctlose > 6 then
  29. nextbet = (previousbet*(1+(chance/50)))*0.9
  30. else
  31. nextbet = previousbet*(1+(chance/50))
  32. end
  33. else
  34. nextbet = previousbet
  35. end
  36. end
  37. if nextbet < minbet then nextbet = minbet end
  38. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement