Advertisement
dicekode

copy-03

Dec 19th, 2022
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. target = 5000
  2. chancex = {33,34,100}
  3. betmtp = 1e-6
  4. ifwin = 0.2
  5. iflose = 1.6
  6. betup = 50
  7. chance = math.random(chancex[1]*chancex[3],chancex[2]*chancex[3])/chancex[3]
  8. basebet = balance*betmtp
  9. resetpf = basebet*1000
  10. betpf = balance+(balance*(betup/100))
  11. nextbet = basebet
  12. in_base = basebet
  13. nowdrop = 0
  14.  
  15. resetseed()
  16. resetstats()
  17.  
  18. function dobet()
  19. chance = math.random(chancex[1]*chancex[3],chancex[2]*chancex[3])/chancex[3]
  20. if partialprofit > resetpf then
  21. resetpartialprofit()
  22. if balance > betpf then
  23. resetseed()
  24. betpf = balance+(balance*(betup/100))
  25. basebet = balance*betmtp
  26. end
  27. nextbet = basebet
  28. else
  29. if win then
  30. nextbet = previousbet * ifwin
  31. else
  32. nextbet = previousbet * iflose
  33. end
  34. end
  35. if nextbet < basebet then
  36. nextbet = basebet
  37. end
  38. if partialprofit < nowdrop then
  39. nowdrop = partialprofit
  40. end
  41. if balance > target then stop() end
  42. print("")
  43. print("░▒▓- Startbet \t[ "..string.format("%.8f",in_base).." ]")
  44. print("░▒▓- Basebet \t[ "..string.format("%.8f",basebet).." ]")
  45. print("░▒▓- Up Base \t[ "..string.format("%.8f",betpf).." ]")
  46. print("░▒▓- Dropped \t[ "..string.format("%.8f",math.abs(nowdrop)).." ( "..string.format("%.2f",math.abs(nowdrop)/balance*100).."% ) ]")
  47. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement