Advertisement
Ypleitez

Untitled

Oct 11th, 2023
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1.  
  2.  
  3. chance = 95
  4. chancemax = 98 -- max possible chance
  5. basebet = 0.00000001
  6. bethigh = true
  7. losecount = 0
  8. nextbet = basebet
  9.  
  10. function dobet()
  11.  
  12. if (win) then
  13. chance = 95
  14. nextbet = basebet
  15. losecount = 0
  16. end
  17. if (not win) then
  18. losecount = losecount + 1
  19. if (losecount > 1) then
  20. nextbet = previousbet*2
  21. chance = (1/(((nextbet+(nextbet-basebet))/nextbet)))*100
  22. if chance < 49.5 then
  23. chance = 49.5
  24. end
  25. if chance > chancemax then
  26. chance = chancemax
  27. end
  28. bethigh = not bethigh
  29. --print ("LOSE")
  30. --print(nextbet)
  31. --print(chance)
  32. --print(profit)
  33. --print(bets)
  34. else
  35. nextbet = previousbet*2
  36. chance = (1/(((basebet+nextbet))/nextbet))*100
  37. if chance < 49.5 then
  38. chance = 49.5
  39. end
  40. if chance > chancemax then
  41. chance = chancemax
  42. end
  43. bethigh = not bethigh
  44. --print ("LOSE")
  45. --print(nextbet)
  46. --print(chance)
  47. --print(profit)
  48. --print(bets)
  49. end
  50. if nextbet < basebet then nextbet = basebet end
  51. end
  52.  
  53. end
  54.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement