Advertisement
Baliarta

Sc GENDENG

Jan 30th, 2023 (edited)
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. target = balance * 1.01
  2. stoplose = balance * 0.5
  3.  
  4. ----
  5.  
  6. function r(x,y)
  7. return math.random(x,y)
  8. end
  9.  
  10. a = 0
  11. b = balance * 10 / (10^8)
  12. c = {low={5,10},high={15,30}}
  13. d = {1.16,1.65}
  14. f = false
  15.  
  16. nextbet = b
  17. chance = r(c.low[1],c.low[2])
  18. bethigh = true
  19.  
  20. resetstats()
  21. function dobet()
  22. e = previousbet
  23. if win then
  24. if f then stop() end
  25. a = 0
  26. else
  27. a = a + 1 end
  28. if (a == 0) then
  29. m = r(c.low[1],c.low[2])
  30. n = b
  31. else
  32. m = r(c.low[1],c.low[2])
  33. n = e * d[1]
  34. end
  35. if (a >= 20) then
  36. m = r(c.high[1],c.high[2])
  37. n = e * d[2]
  38. end
  39. if a > 35 then f = true end
  40. if balance > target then stop() end
  41. if balance < stoplose then stop() end
  42. chance = m
  43. nextbet = n
  44. bethigh = r(1,2)==1
  45. if profit < 0 then sleep(1000) end
  46. print("=====================")
  47. print("BELI CABAI")
  48. print("Profit : "..string.format("%.8f", profit))
  49. print("Final Balance : "..string.format("%.8f", balance))
  50. print("=====================")
  51.  
  52. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement