Advertisement
kotakulon

kukcky

Sep 13th, 2019
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.45 KB | None | 0 0
  1. console.clear();
  2. var basebet = 0.0000001, 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 = 94;
  11. direction = 'over';
  12. coin = 'lucky';
  13. }
  14. else {
  15. prediction = 5;
  16. direction = 'under';
  17. coin = 'lucky';
  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(6, 94) % 2 == 0 ? bethigh = true : bethigh = false;
  65. nbet = basebet * 10;
  66. }
  67. }
  68. else {
  69. if (loseStreak == 90) {
  70. nbet = nextbet;
  71. chance = randomChance(2, 2);
  72. nextbet = nextbet;
  73. } else {
  74. if (loseStreak >= 110) {
  75. chance = randomChance(2, 2);
  76. nextbet = nextbet * 1.5;
  77. } else {
  78. if (loseStreak >= 19) {
  79. chance = randomChance(97, 97);
  80. nextbet = nextbet * 1.1;
  81. }
  82. }
  83. }
  84. }
  85. $('#currentProfit').css('color', 'green');
  86. $('#currentProfit').text(profit.toFixed(8));
  87. dobet();
  88. }
  89. else {
  90. dobet();
  91. }
  92. }).fail(function (error) {
  93. dobet();
  94. });
  95. }
  96.  
  97. function start() {
  98. setTimeout(function () {
  99. dobet();
  100. }, 1e3);
  101. }
  102. randomizeSeed(start());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement