kotakulon

trx

Sep 21st, 2019
122
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. console.clear();
  2. var basebet = 0.01, nextbet = basebet, nbet = basebet * 10, chance = 50, bethigh = false;
  3. var dps = [], chart, bet = 0, win = 0, winStreak = 0, lose = 0, loseStreak = 0, profit = 0, balance = 0, color;
  4. function randomChance(min, max) {
  5. return Math.floor(Math.random() * (max - min)) + min;
  6. }
  7. function dobet() {
  8. var betAmount = nextbet, prediction, direction, coin;
  9. if (bethigh) {
  10. prediction = 95;
  11. direction = 'over';
  12. coin = 'trx';
  13. }
  14. else {
  15. prediction = 4;
  16. direction = 'under';
  17. coin = 'trx';
  18. }
  19. $.post('https://luckygames.cc/play/', {
  20. game: 'dice',
  21. coin: $('#coin').val(),
  22. coin: coin,
  23. betAmount: betAmount,
  24. prediction: prediction,
  25. direction: direction,
  26. clientSeed: $('#clientSeed').val(),
  27. serverSeedHash: $('#serverSeedHash').text(),
  28. hash: user.hash
  29. }).done(function (response) {
  30. var l = JSON.parse(response);
  31. if (l.result) {
  32. bet += 1;
  33. profit += parseFloat(l.profit);
  34. l.balance > balance ? balance = l.balance : balance = balance;
  35. $('#serverSeedHash').text(l.serverSeedHash);
  36. $('#balance').val(l.balance);
  37. if ($('#myBets').hasClass('active')) {
  38. var e = $('#listContainer .table .tbody .tr:first-child');
  39. if (e.hasClass('full')) e.remove(), $('#listContainer .table .tbody').append(l.betHtml);
  40. else {
  41. e.before(l.betHtml);
  42. var t = $('#listContainer .table .tbody .tr').length;
  43. if (50 < t && (t = 40), 40 < t)
  44. for (var o = 0; o < t - 40; o++) $('#listContainer .table .tbody .tr:last-child').remove()
  45. }
  46. }
  47. if (l.gameResult == 'win') {
  48. win += 1;
  49. winStreak += 1;
  50. loseStreak = 0;
  51. color = 'green';
  52. randomizeSeed()
  53.  
  54. }
  55. else {
  56. lose += 1;
  57. loseStreak += 1;
  58. winStreak = 0;
  59. color = 'red';
  60. }
  61. if (l.gameResult == 'win') {
  62. nextbet = basebet;
  63. if (l.balance >= balance) {
  64. randomChance(4, 95) % 2 == 0 ? bethigh = true : bethigh = false;
  65. nbet = basebet * 10;
  66. }
  67. }
  68. else {
  69. if (loseStreak == 200)
  70. {nbet = nextbet;
  71. chance = randomChance(4, 4);
  72. nextbet = nextbet * 1.035;}
  73. else {
  74. if (loseStreak >=200)
  75. {chance = randomChance(4, 4);
  76. nextbet = nextbet * 1.035;}
  77. else {
  78. if (loseStreak >= 151)
  79. {chance = randomChance(4, 4);
  80. nextbet = nextbet * 1.045;}
  81. else {
  82. if (loseStreak >= 150)
  83. {chance = randomChance(4, 4);
  84. nextbet = nextbet * 1.5;}
  85. else {
  86. if (loseStreak >= 126)
  87. {chance = randomChance(4, 4);
  88. nextbet = nextbet * 1.045;}
  89. else {
  90. if (loseStreak >= 125)
  91. {chance = randomChance(4, 4);
  92. nextbet = nextbet * 2;}
  93. else {
  94. if (loseStreak >= 101)
  95. {chance = randomChance(4, 4);
  96. nextbet = nextbet * 1.045;}
  97. else {
  98. if (loseStreak >= 100)
  99. {chance = randomChance(4, 4);
  100. nextbet = nextbet * 3;}
  101. else {
  102. if (loseStreak >= 76)
  103. {chance = randomChance(4, 4);
  104. nextbet = nextbet * 1.045;}
  105. else {
  106. if (loseStreak >= 75)
  107. {chance = randomChance(4, 4);
  108. nextbet = nextbet * 4;}
  109. else {
  110. if (loseStreak >= 50) {
  111. chance = randomChance(95, 95);
  112. nextbet = nextbet * 1.1;}
  113. }
  114. }
  115. }}}}}}}}}
  116. $('#currentProfit').css('color', 'green');
  117. $('#currentProfit').text(profit.toFixed(8));
  118. dobet();
  119. }
  120. else {
  121. dobet();
  122. }
  123. }).fail(function (error) {
  124. dobet();
  125. });
  126. }
  127.  
  128. function start() {
  129. setTimeout(function () {
  130. dobet();
  131. }, 1e3);
  132. }
  133. randomizeSeed(start());
RAW Paste Data