Lua Script Dice for DOGE and LTC


SUBMITTED BY: semar313

DATE: April 7, 2022, 1:48 p.m.

FORMAT: Text only

SIZE: 2.1 kB

HITS: 319

  1. --MBAH LTC OR DOGE ---
  2. base = (balance / 1000) * 0.0001
  3. chance = 66
  4. minc = 9.46
  5. maxc = 12.36
  6. nextbet = base
  7. bethigh = false
  8. multi = 1.12
  9. multi2 = 1.14
  10. somu1f1 = 0
  11. somu2f1 = 1
  12. somu1f2 = 1.74
  13. somu2f2 = 1.62
  14. point1 = 16
  15. point2 = 10
  16. f1 = true
  17. profitf1 = 0
  18. nx1 = 1
  19. f1stw = 0
  20. f1stl = 0
  21. f1x = true
  22. f2 = false
  23. profitf2 = 0
  24. nx2 = 1
  25. f2st = 0
  26. function dobet()
  27. bethigh = (math.random(100) >= 50)
  28. chance = math.random(minc*100,maxc*100)/100
  29. if (f1) then
  30. if win then
  31. f1x = false
  32. if (f1stw >= 1) or (f1stl >= 1) then
  33. nextbet = base/10
  34. nx1 = 1
  35. f1stw = 0
  36. f1x = true
  37. else
  38. nx1 += somu1f1
  39. f1stw += 1
  40. nextbet = base * (multi^nx1)
  41. end
  42. f1stl = 0
  43. else
  44. f1stw = 0
  45. if (f1stl >= point1) then
  46. nextbet = base/10
  47. nx2 = nx1
  48. f2 = true
  49. f1stl = 0
  50. f1stw = 0
  51. nx1 = 1
  52. f1 = false
  53. else
  54. if f1x then
  55. nextbet = base/10
  56. else
  57. nx1 += somu2f1
  58. f1stl += 1
  59. nextbet = base * (multi^nx1)
  60. end
  61. resetseed()
  62. end
  63. end
  64. end
  65. if (f2) then
  66. if win then
  67. if (f2st >= 1) then
  68. f1 = true
  69. f2 = false
  70. f1x = true
  71. nextbet = base/10
  72. nx2 = 1
  73. f2st = 0
  74. else
  75. nx2 += somu1f2
  76. nextbet = base * (multi2^nx2)
  77. f2st += 1
  78. end
  79. else
  80. if (f2st >= 1) and (f2st < point2) then
  81. nx2 += somu2f2
  82. nextbet = base * (multi2^nx2)
  83. f2st += 1
  84. else
  85. nextbet = base/10
  86. f2st = 0
  87. end
  88. resetseed()
  89. end
  90. end
  91. nextbet = math.ceil(nextbet*10^8)/10^8
  92. end

comments powered by Disqus