Advertisement
Ypleitez

Untitled

Oct 23rd, 2023
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. yourEdge = 99
  2. minimalbet = 0.00000001
  3. chance = math.random(85,91)
  4. basebet = minimalbet --balance/4000000
  5. nextbet = basebet
  6. losecount = 0
  7. bethigh = false
  8. losts = 0
  9. mnz = 1.01
  10. arrchance1 = {48,47,45,37,31,27,27,27,21,21,21,21,17,17,17,17,17,17,13,13,13,13,13,13,11}
  11. arrchance2 = {49,49,48,41,37,31,31,31,27,27,27,27,19,19,19,19,19,19,17,17,17,17,17,17,13}
  12.  
  13. function dobet()
  14. losts = losts + currentprofit
  15. if (losts >= 0) then
  16. losts = 0
  17. end
  18. if (math.abs(losts) > basebet * 10000) then
  19. pause()
  20. end
  21. if (chance > 31) then
  22. bethigh = math.random(2) == math.random(2)
  23. end
  24. if win then
  25. chance = math.random(85,91)
  26. basebet = minimalbet --balance/4000000
  27. nextbet = basebet
  28. mnz = 1.01
  29. losecount = 0
  30. else
  31. mnz = mnz + 0.01
  32. losecount += 1
  33. end
  34. if (losecount > 0) then
  35. chance = math.random(arrchance1[losecount],arrchance2[losecount])
  36. if (losecount > 25) then
  37. chance = math.random(arrchance1[25],arrchance2[25])
  38. end
  39. nextbet = nextbet * ((((yourEdge / (yourEdge - chance)) - 1) * mnz) + 1)
  40. end
  41. end
  42.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement