platinum

try to take over the world!

  1. // ==UserScript==
  2. // @name platinum
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description try to take over the world!
  6. // @author You
  7. // @match https://platinum-dice.com/
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11.  
  12. //$(document).ready(function(){
  13. (function() {
  14. var isStop = false;
  15. var r1= $('<input type="button" id="btnAuto1" value="START TOOL-AUTO 1" style="color:red;position:fixed;top:0;left:0;z-index:99999;"/>');
  16. var r2= $('<input type="button" id="btnAuto2" value="START TOOL-AUTO 2" style="color:red;position:fixed;top:0;left:200px;z-index:99999;"/>');
  17. var r3= $('<input type="button" id="btnAuto3" value="START TOOL-AUTO 3" style="color:red;position:fixed;top:0;left:400px;z-index:99999;"/>');
  18. var exAlertModal= $('<div id="exAlertModal" class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel">'+
  19. '<div class="modal-dialog modal-sm" role="document"><div class="modal-content"><div class="modal-header">'+
  20. '<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>'+
  21. '<h4 class="modal-title" id="gridSystemModalLabel">NOTE</h4>'+
  22. '</div>'+
  23. '<div class="modal-body"><div class="alert alert-info text-center">Cảnh báo nguy hiểm!!!</div><div class="text-center">Auto close in <span id="exTimer" class="text-bold"></span></div></div>'+
  24. '<div class="modal-footer"><button type="button" class="btn btn-default text-bold" data-dismiss="modal" onclick="stop();">Tắt tool</button></div>'+
  25. '</div></div></div>');
  26. $("#wrapper").append(r1);
  27. $("#wrapper").append(r2);
  28. $("#wrapper").append(r3);
  29. $("body").append(exAlertModal);
  30.  
  31. $('#btnAuto1').click(function(){
  32. var betMinAmount1 = 0.001;
  33. $('#mfpayoutmul').val('2x');
  34. $('#mfpayoutper').val('48.02%');
  35. // Chiến thuật x2
  36. start1(betMinAmount1, 1);
  37. });
  38. $('#btnAuto2').click(function(){
  39. var betMinAmount2 = 0.0001;
  40. $('#mfpayoutmul').val('4x');
  41. $('#mfpayoutper').val('24.01%');
  42. // Chiến thuật x4 (30 lần)
  43. start2(betMinAmount2, false, 1);
  44. });
  45. $('#btnAuto3').click(function(){
  46. var betMinAmount3 = 0.0001;
  47. $('#mfpayoutmul').val('4x');
  48. $('#mfpayoutper').val('24.01%');
  49. // Chiến thuật x4 mở rộng (tăng mức an toàn - đánh 1 lần thua 0$ trước khi bet thật)
  50. start3(betMinAmount3, false, 0, 1);
  51. });
  52. //});
  53.  
  54. function start1(betMinAmount1, i) {
  55. var nStatus = checkStatus();
  56. if (checkReadyButton()) {
  57. if (nStatus > 0) { // reset
  58. $('#mfInputAmount').val(betMinAmount1);
  59. $('#mfpayout_over').click();
  60. ++i;
  61. } else if (nStatus < 0) { // multiply
  62. betAmount = Number($('#mfInputAmount').val());
  63. if ((betAmount / betMinAmount1) >= 1024) {
  64. showAlertMessage();
  65. }
  66. $('#mfInputAmount').val(betAmount * 2);
  67. } else { // error bet
  68.  
  69. }
  70. setTimeout(function(){
  71. $('#btnplaymb').click();
  72. }, 500);
  73. }
  74. if (!isStop) {
  75. if (i > 100) {
  76. var betMinAmount2 = 0.0001;
  77. $('#mfpayoutmul').val('4x');
  78. $('#mfpayoutper').val('24.01%');
  79. // Chiến thuật x4 (30 lần)
  80. start2(betMinAmount2, false, 1);
  81. } else {
  82. var min = 1500;
  83. var max = 4000;
  84. var delayMil = Math.floor(Math.random() * (max - min + 1) + min);
  85. setTimeout(function(){
  86. start1(betMinAmount1, i);
  87. }, delayMil);
  88. }
  89. }
  90. }
  91.  
  92. function start2(betMinAmount2, isDouble, i) {
  93. var nStatus = checkStatus();
  94. if (checkReadyButton()) {
  95. if (nStatus > 0) {
  96. $('#mfInputAmount').val(betMinAmount2);
  97. isDouble = false;
  98. ++i;
  99. } else if (nStatus < 0) {
  100. betAmount = Number($('#mfInputAmount').val());
  101. if ((betAmount / betMinAmount2) >= 4096) {
  102. showAlertMessage();
  103. }
  104. if (isDouble) {
  105. $('#mfInputAmount').val(betAmount * 2);
  106. isDouble = false;
  107. } else {
  108. $('#mfInputAmount').val(betAmount);
  109. isDouble = true;
  110. }
  111. } else { // error bet
  112. }
  113. setTimeout(function(){
  114. $('#btnplaymb').click();
  115. }, 500);
  116. }
  117. if (!isStop) {
  118. if (i > 100) {
  119. var betMinAmount3 = 0.0001;
  120. $('#mfpayoutmul').val('4x');
  121. $('#mfpayoutper').val('24.01%');
  122. // Chiến thuật x4 mở rộng (tăng mức an toàn - đánh 1 lần thua 0$ trước khi bet thật)
  123. start3(betMinAmount3, false, 0, 1);
  124. } else {
  125. var min = 1500;
  126. var max = 4000;
  127. var delayMil = Math.floor(Math.random() * (max - min + 1) + min);
  128. setTimeout(function(){
  129. start2(betMinAmount2, isDouble, i);
  130. }, delayMil);
  131. }
  132. }
  133. }
  134.  
  135. function start3(betMinAmount3, isDouble, numStart, i) {
  136. var nStatus = checkStatus();
  137. if (checkReadyButton()) {
  138. if (nStatus > 0) {
  139. $('#mfInputAmount').val(0);
  140. isDouble = false;
  141. numStart = 0; // reset numStart
  142. ++i;
  143. } else if (nStatus < 0) {
  144. if (numStart <= 0) {
  145. betAmount = Number($('#mfInputAmount').val());
  146. if (betAmount <= 0) {
  147. betAmount = betMinAmount3;
  148. }
  149. if ((betAmount / betMinAmount3) >= 4096) {
  150. showAlertMessage();
  151. }
  152. if (isDouble && numStart <= -2) {
  153. $('#mfInputAmount').val(betAmount * 2);
  154. isDouble = false;
  155. } else {
  156. $('#mfInputAmount').val(betAmount);
  157. isDouble = true;
  158. }
  159. } else {
  160. $('#mfInputAmount').val(0);
  161. isDouble = false;
  162. }
  163. numStart--;
  164. } else { // error bet
  165. }
  166. setTimeout(function(){
  167. $('#btnplaymb').click();
  168. }, 300);
  169. }
  170. if (!isStop) {
  171. if (i > 100) {
  172. var betMinAmount1 = 0.01;
  173. $('#mfpayoutmul').val('2x');
  174. $('#mfpayoutper').val('48.02%');
  175. // Chiến thuật x2
  176. start1(betMinAmount1, 1);
  177. } else {
  178. var min = 1500;
  179. var max = 4000;
  180. var delayMil = Math.floor(Math.random() * (max - min + 1) + min);
  181. setTimeout(function(){
  182. start3(betMinAmount3, isDouble, numStart, i);
  183. }, delayMil);
  184. }
  185. }
  186. }
  187.  
  188. function checkStatus() {
  189. var labelStatus = $('#mfplayresultout .label').html();
  190. var res = 0;
  191. if (labelStatus == undefined || labelStatus.indexOf('win') !== -1 || labelStatus.indexOf('thắng') !== -1) {
  192. res = 1;
  193. } else if (labelStatus.indexOf('lose') !== -1 || labelStatus.indexOf('thua') !== -1) {
  194. res = -1;
  195. }
  196. return res;
  197. }
  198.  
  199. function timer(time,update,complete) {
  200. var start = new Date().getTime();
  201. var interval = setInterval(function() {
  202. var now = time-(new Date().getTime()-start);
  203. if( now <= 0) {
  204. clearInterval(interval);
  205. complete();
  206. }
  207. else update(Math.floor(now/1000));
  208. },100); // the smaller this number, the more accurate the timer will be
  209. }
  210.  
  211. function showAlertMessage() {
  212. $('#exAlertModal').modal('show');
  213. timer(
  214. 10000, // milliseconds
  215. function(timeleft) {
  216. $('#exTimer').html(timeleft+" second(s)");
  217. },
  218. function() { // what to do after
  219. $('#exAlertModal').modal('hide');
  220. }
  221. );
  222. }
  223.  
  224. function stop() {
  225. isStop = true;
  226. }
  227.  
  228. function checkReadyButton() {
  229. var btnValue = $('#btnplaymb').html();
  230. if (btnValue.indexOf('DICE') !== -1 || btnValue.indexOf('CƯỢC') !== -1) {
  231. return true;
  232. }
  233. return false;
  234. }
  235. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址