Advertisement
nam-mwg

TEST

Nov 21st, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. chance = 10
  2. multiplier = 2
  3. base = balance/10
  4. bethigh = true
  5. enablezz = false -- Bật chế độ chuyển HI-LO
  6. countstep = 0
  7. LoseMoney = 0
  8. LossBet = 0
  9.  
  10. function dobet()
  11.  
  12. -- RESET
  13. if countstep > 250 then
  14. countstep = 0
  15. resetseed()
  16. else countstep = countstep + 1
  17. end
  18.  
  19. -- Điều kiện khi THẮNG và THUA
  20. if win then
  21. -- Nếu THẮNG thì "tiền thua" trở lại 0
  22. LoseMoney = base
  23. else
  24. -- Cộng dồn tiền thua
  25. LoseMoney = previousbet + LoseMoney
  26.  
  27. -- Nếu đạt đến chuỗi thua cao nhất thì bắt đầu cược
  28. if currentstreak <= -LossBet then
  29. if currentstreak < -10 then
  30. nextbet = LoseMoney
  31. else
  32. if currentstreak < -15 then
  33. nextbet = LoseMoney*2
  34. end
  35. end
  36. else
  37. nextbet = 0
  38. end
  39.  
  40. -- Nếu chuỗi thua > chuỗi thua cao nhất thì gán lại chuỗi thua cao nhất
  41. if -LossBet > currentstreak and currentstreak < 0 then
  42. LossBet = -currentstreak
  43. end
  44. end
  45.  
  46. -- Hiển thị thông tin lên màn hình
  47. print("-----------------------------------------------")
  48. print("MỤC TIÊU = "..string.format("%.8f",balance*10))
  49. print("-----------------------------------------------")
  50. print("Chuỗi thua cao nhất = "..LossBet)
  51. print("Chuỗi thua hiện tại = "..-currentstreak)
  52. print(" ")
  53. print("LỢI NHUẬN = "..string.format("%.9f",profit))
  54. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement