Advertisement
Ypleitez

Untitled

Oct 11th, 2023
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. minbet = 1e-8
  2. target = balance * 1.5
  3. incr = 35 --%
  4. nextbet = balance/1e5
  5. every = 2
  6. setch = {2,8,16}
  7. maxbal = balance
  8. index = 1
  9. chance = setch[index]
  10. maxpf = 0
  11. multi = 1.5
  12. nextbet = math.max(nextbet,minbet)
  13. function dobet()
  14. if (balance >= target and target > 0) then
  15. stop()
  16. end
  17. if (chance >= 50) then
  18. chance = setch[math.random(#setch)]
  19. nextbet = math.max(minbet,nextbet/1.5)
  20. end
  21. if (win) then
  22. if (profit > maxpf) then
  23. maxpf = profit
  24. maxbal = balance
  25. nextbet = maxbal/1e5
  26. multi = 1.5
  27. else
  28. multi = math.max(1.5, multi/2)
  29. if (chance == setch[#setch]) then
  30. nextbet = nextbet/8
  31. else
  32. nextbet = maxbal/1e4
  33. end
  34. end
  35. index = math.random(1,#setch)
  36. else
  37. if (chance == setch[1]) then
  38. index = math.random(2,#setch)
  39. else
  40. if (chance == setch[2]) then
  41. index = math.random(1,#setch)
  42. else
  43. index = math.random(1,2)
  44. end
  45. end
  46. if (bets%every == 0) then
  47. nextbet = previousbet + (previousbet * (incr/100))
  48. end
  49. end
  50. chance = setch[index]
  51. if(bets%5 == 0) then
  52. nextbet = previousbet * multi
  53. chance = math.random(50,60)
  54. multi = multi * 1.3
  55. end
  56. nextbet = math.max(nextbet,minbet)
  57. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement