RebeLM00D

made with rebelhands

  1. // ==UserScript==
  2. // @name RebeLM00D
  3. // @namespace RebeLM00D
  4. // @version 2
  5. // @description made with rebelhands
  6. // @author @gekihoss
  7. // @license MIT
  8. // @match *://moomoo.io/*
  9. // @match *://sandbox.moomoo.io/*
  10. // @match *://dev.moomoo.io/*
  11. // @require https://greasyfork.org/scripts/423602-msgpack/code/msgpack.js?version=912797
  12. // @require http://code.jquery.com/jquery-3.3.1.min.js
  13. // @require https://code.jquery.com/ui/1.12.0/jquery-ui.min.js
  14. // @require https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.0/jquery-confirm.min.js
  15. // @require https://greasyfork.org/scripts/456235-moomoo-js/code/MooMoojs.js?version=1144167
  16. // @require https://greasyfork.org/scripts/478839-moomoo-io-packet-code/code/MooMooio%20Packet%20Code.js?version=1274028
  17. // @grant none
  18. // @icon https://cdn.discordapp.com/avatars/1131925981460975676/36b51f984147c8b907af0a3dcb834853.png?size=4096
  19. // @run-at document-start
  20. // ==/UserScript==
  21. var onWeapon;
  22. document.getElementById("enterGame").addEventListener('click', autohide);
  23. function autohide(){
  24. $("#ot-sdk-btn-floating").hide();
  25. }
  26. $("#moomooio_728x90_home").parent().css({display: "none"});
  27. document.getElementById('linksContainer2').innerHTML = ' none ' ;
  28. document.getElementById('gameName').innerHTML = 'RebeLM00D';
  29. document.getElementById('loadingText').innerHTML = 'Wait or im gonna fuck ur mother'
  30. document.getElementById('diedText').innerHTML = "U DIED, REMIND REBEL HE NEVER LOSE!";
  31. document.getElementById('diedText').style.color = "#ffffff";
  32. document.title = 'All those people sucks';
  33. document.getElementById("leaderboard").append ('All those people sucks');
  34. $("#mapDisplay").css({background: `url('https://i.pinimg.com/originals/97/57/67/975767e67adc18ad53d5a1a687cb6421.gif')`});
  35. document.getElementById("storeHolder").style = "height: 1200px; width: 450px;";
  36. document.getElementById("promoImgHolder").remove();
  37. document.querySelector("#pre-content-container").remove(); //ANTI AD
  38. $('#itemInfoHolder').css({'top':'1050px',
  39. 'left':'15px'
  40. });
  41. $("#youtuberOf").remove();
  42. $("#adCard").remove();
  43. $("#mobileInstructions").remove();
  44. $("#downloadButtonContainer").remove();
  45. $("#mobileDownloadButtonContainer").remove();
  46. $(".downloadBadge").remove();
  47. let lastDamageTick = 0;
  48. let HP = 100;
  49. let gameTick = 0;
  50. var shame = 0;
  51. let shameTime,
  52. damageTimes = 0;
  53. let friendlyMillLocs = [];
  54. let EnemyTrapLocs = [];
  55. let nearestFriendlyMill;
  56. let nearestFriendlyMillX;
  57. let nearestFriendlyMillY;
  58. let NearEnemyTrapLocs;
  59. let EnemyTrapLocsX;
  60. let EnemyTrapLocsY;
  61. let nearestFriendlyMillScale;
  62. let isNextToFriendlyMill = false;
  63. function removeArraysWithValue(arr, valueToRemove) {
  64. for (let i = arr.length - 1; i >= 0; i--) {
  65. const innerArray = arr[i];
  66. if (innerArray.includes(valueToRemove)) {
  67. arr.splice(i, 1);
  68. }
  69. }
  70. }
  71. let movementDirection
  72. let millCount = 0;
  73. let nearestRandomObjectX;
  74. let nearestRandomObjectY;
  75. let mouseX;
  76. let mouseY;
  77. let width;
  78. let height;
  79. setInterval(() => {
  80. if(hatToggle == 1) {
  81. if(oldHat != normalHat) {
  82. hat(normalHat);
  83. console.log("Tried. - Hat")
  84. }
  85. if(oldAcc != normalAcc) {
  86. acc(normalAcc);
  87. console.log("Tried. - Acc")
  88. }
  89. oldHat = normalHat;
  90. oldAcc = normalAcc
  91. }
  92. }, 25);
  93. function normal() {
  94. hat(normalHat);
  95. acc(normalAcc);
  96. }
  97. function aim(x, y){
  98. var cvs = document.getElementById("gameCanvas");
  99. cvs.dispatchEvent(new MouseEvent("mousemove", {
  100. clientX: x,
  101. clientY: y
  102. }));
  103. }
  104. let coreURL = new URL(window.location.href);
  105. window.sessionStorage.force = coreURL.searchParams.get("fc");
  106. let trap_a = null;
  107. let intrap = false;
  108. let trapid = null;
  109. var antitrap = false;
  110. var isEnemyNear;
  111. var primary;
  112. var secondary;
  113. var foodType;
  114. var wallType;
  115. var spikeType;
  116. var millType;
  117. var mineType;
  118. var boostType;
  119. var turretType;
  120. var spawnpadType;
  121. var autoaim = false;
  122. var autoprimary = false;
  123. var autosecondary = false;
  124. var tick = 1;
  125. var oldHat;
  126. var oldAcc;
  127. var enemiesNear;
  128. var normalHat;
  129. var normalAcc;
  130. var ws;
  131. var msgpack5 = msgpack;
  132. var boostDir;
  133. let myPlayer = {
  134. id: null,
  135. x: null,
  136. y: null,
  137. dir: null,
  138. object: null,
  139. weapon: null,
  140. clan: null,
  141. isLeader: null,
  142. hat: null,
  143. accessory: null,
  144. isSkull: null
  145. };
  146. let healSpeed = 50;
  147. var messageToggle = 0;
  148. var clanToggle = 0;
  149. let healToggle = 2;
  150. let hatToggle = 1;
  151. var antiInsta = true;
  152. document.msgpack = msgpack;
  153. function n(){
  154. this.buffer = new Uint8Array([0]);
  155. this.buffer.__proto__ = new Uint8Array;
  156. this.type = 0;
  157. }
  158. WebSocket.prototype.oldSend = WebSocket.prototype.send;
  159. WebSocket.prototype.send = function(m){
  160. if (!ws){
  161. document.ws = this;
  162. ws = this;
  163. socketFound(this);
  164. }
  165. this.oldSend(m);
  166. };
  167. function biomeHat() {
  168. if (myPlayer.y < 2400) {
  169. hat(6);
  170. } else {
  171. if (myPlayer.y > 6850 && myPlayer.y < 7550) {
  172. hat(6);
  173. } else {
  174. hat(6);
  175. }
  176. }
  177. //acc(11);
  178. }
  179. function socketFound(socket){
  180. socket.addEventListener('message', function(message){
  181. handleMessage(message);
  182. });
  183. }
  184. function handleMessage(m){
  185. let temp = msgpack5.decode(new Uint8Array(m.data));
  186. let data;
  187. if(temp.length > 1) {
  188. data = [temp[0], ...temp[1]];
  189. if (data[1] instanceof Array){
  190. data = data;
  191. }
  192. } else {
  193. data = temp;
  194. }
  195. let item = data[0];
  196. if(!data) {return};
  197. update();
  198. if (item == "C" && myPlayer.id == null){
  199. myPlayer.id = data[1];
  200. }
  201. if (item == "a") {
  202. for(let i = 0; i < data[1].length / 13; i++) {
  203. let playerInfo = data[1].slice(13*i, 13*i+13);
  204. if(playerInfo[0] == myPlayer.id) {
  205. myPlayer.x = playerInfo[1];
  206. myPlayer.y = playerInfo[2];
  207. myPlayer.dir = playerInfo[3];
  208. myPlayer.object = playerInfo[4];
  209. myPlayer.weapon = playerInfo[5];
  210. myPlayer.clan = playerInfo[7];
  211. myPlayer.isLeader = playerInfo[8];
  212. myPlayer.hat = playerInfo[9];
  213. myPlayer.accessory = playerInfo[10];
  214. myPlayer.isSkull = playerInfo[11];
  215. } else if(playerInfo[7] != myPlayer.clan || playerInfo[7] === null) {
  216. enemiesNear.push(playerInfo);
  217. }
  218. }
  219. }
  220. update();
  221. if (item == "H") {
  222. for(let i = 0; i < data[1].length / 8; i++) {
  223. let info = data[1].slice(8*i, 8*i+8);
  224. if(info[6] == millType && info[7] == myPlayer.id){
  225. friendlyMillLocs.push(info)
  226. }
  227. if(info[7] == myPlayer.id){
  228. onWeapon = true;
  229. }
  230. }
  231. }
  232. update();
  233. if(item == "Q"){
  234. removeArraysWithValue(friendlyMillLocs, data[1])
  235. }
  236. update();
  237. if(item == "R"){
  238. removeArraysWithValue(friendlyMillLocs, data[1])
  239. }
  240. update();
  241. if(item == "S"){
  242. if(data[1] == 3){
  243. millCount = data[2];
  244. }
  245. }
  246. update();
  247. if(friendlyMillLocs){
  248. nearestFriendlyMill = friendlyMillLocs.sort((a,b) => dist(a, myPlayer) - dist(b, myPlayer))[0];
  249. if(nearestFriendlyMill){
  250. nearestFriendlyMillX = nearestFriendlyMill[1]
  251. nearestFriendlyMillY = nearestFriendlyMill[2]
  252. nearestFriendlyMillScale = nearestFriendlyMill[4]
  253. }
  254. }
  255. if(Math.sqrt(Math.pow((myPlayer.y-nearestFriendlyMillY), 2) + Math.pow((myPlayer.x-nearestFriendlyMillX), 2)) < nearestFriendlyMillScale + 100) {
  256. console.log(true)
  257. isNextToFriendlyMill = true;
  258. //isNextToFriendlyMill = false;
  259. } else {
  260. isNextToFriendlyMill = false;
  261. }
  262. WebSocket.prototype.send = function(m){
  263. let xcc = new Uint8Array(m);
  264. this.oldSend(m);
  265. let realData = {};
  266. let realInfo = msgpack5.decode(xcc);
  267. if (realInfo[1] instanceof Array){
  268. realData.data = [realInfo[0], ...realInfo[1]]
  269. }
  270. let rd0 = realData.data[0];
  271. let rd1 = realData.data[1];
  272. let rd2 = realData.data[2]
  273. if(rd0 == 'a'){
  274. movementDirection = rd1
  275. }
  276. };
  277. isEnemyNear = false;
  278. if (myPlayer.hat == 45 && shame) shameTime = 30000;
  279. if (myPlayer.hat == 45 && shame) shame = 30000;
  280. if (data[0] == "33") {
  281. gameTick++;
  282. }
  283. if(item == "O" && data[1] == myPlayer.id) {
  284. (gameTick = 0);
  285. (lastDamageTick = 0);
  286. (shame = 0);
  287. (HP = 100);
  288. (shameTime = 0);
  289. if (item == "h" && data[1] == myPlayer.id) {
  290. let damage = HP - data[2];
  291. HP = data[2];
  292. if (damage <= -1) {
  293. damageTimes++;
  294. if (!lastDamageTick) return;
  295. let healTime = gameTick - lastDamageTick;
  296. lastDamageTick = 0;
  297. if (healTime <= 1) {
  298. shame = shame++;
  299. } else {
  300. shame = Math.max(0, shame - 2);
  301. }
  302. } else {
  303. lastDamageTick = gameTick;
  304. }
  305. }
  306. if (data[2] < 100 && data[2] >= 0) {
  307. let c;
  308. if (data[2] < 99 && data[2] > 78) { c = 1;
  309. for (let i=0;i<c;i++) { place(foodType) };
  310. doNewSend(["c", [0, 22, 0]]);
  311. setTimeout(() => {
  312. doNewSend(["c", [0, 6, 0]]);
  313. }, 200);
  314. }
  315. if (data[2] < 78 && data[2] > 60) { c = 2;
  316. for (let i=0;i<c;i++) { place(foodType) };
  317. doNewSend(["c", [0, 6, 0]]);
  318. }
  319. if (data[2] < 60 && data[2] > 30) { c = 3;
  320. for (let i=0;i<c;i++) { place(foodType) };
  321. doNewSend(["c", [0, 6, 0]]);
  322. }
  323. if (data[2] < 30 && data[2] > 0){ c = 4;
  324. for (let i=0;i<c;i++) { place(foodType) };
  325. doNewSend(["c", [0, 6, 0]]);
  326. place(spikeType);
  327. }
  328. }
  329. if (data[2] < 33 && data[2] > 0 && myPlayer.hat !== 6) {//antiinsta no sold
  330. doNewSend(["c", [0, 22, 0]]);
  331. place(foodType);
  332. setTimeout(() => {
  333. place(foodType);
  334. }, 170);
  335. setTimeout(() => {
  336. doNewSend(["G", [primary, true]]);
  337. doNewSend(["c", [0, 7, 0]]);
  338. doNewSend(["d",[1]]);
  339. place(foodType);
  340. }, 760);
  341. setTimeout( () => {
  342. doNewSend(["c", [0, 6, 0]]);
  343. doNewSend(["d",[0]]);
  344. }, 1900);
  345. }
  346. if (data[2] < 51 && data[2] > 40 && myPlayer.hat == 6) {//antiinsta for pol
  347. doNewSend(["c", [0, 22, 0]]);
  348. place(foodType);
  349. place(foodType);
  350. setTimeout(() => {
  351. place(foodType);
  352. place(foodType);
  353. }, 170);
  354. setTimeout(() => {
  355. doNewSend(["G", [primary, true]]);
  356. doNewSend(["c", [0, 7, 0]]);
  357. doNewSend(["d",[1]]);
  358. }, 760);
  359. setTimeout( () => {
  360. doNewSend(["c", [0, 6, 0]]);
  361. doNewSend(["d",[0]]);
  362. }, 1900);
  363. }
  364. if (data[2] < 56 && data[2] > 50 && myPlayer.hat == 6) {//bullspam heal
  365. doNewSend(["d",[1]]);
  366. place(foodType);
  367. place(spikeType, - toRad(45));
  368. place(spikeType, + toRad(45));
  369. doNewSend(["c", [0, 53, 0]]);
  370. setTimeout(() => {
  371. place(foodType);
  372. place(foodType);
  373. doNewSend(["c", [0, 6, 0]]);
  374. doNewSend(["d",[0]]);
  375. }, 133);
  376. }
  377. if (data[2] < 41 && data[2] > 0 && myPlayer.hat == !6) {
  378. setTimeout(() => {
  379. doNewSend(["c", [0, 6, 0]]);
  380. place(foodType);
  381. place(foodType);
  382. }, 133);
  383. place(foodType);
  384. place(foodType);
  385. place(spikeType);
  386. doNewSend(["d",[1]]);
  387. doNewSend(["c", [0, 7, 0]]);
  388. doNewSend(["G", [primary, true]]);
  389. doNewSend(["d",[1]]);
  390. setTimeout(() => {
  391. place(spikeType, + toRad(45));
  392. doNewSend(["d",[1]]);
  393. place(spikeType, - toRad(45));
  394. doNewSend(["d",[1]]);
  395. doNewSend(["c", [0, 53, 0]]);
  396. doNewSend(["d",[0]]);
  397. doNewSend(["c", [0, 11, 0]]);
  398. },150);
  399. setTimeout(() => {
  400. doNewSend(["c", [0, 6, 0]]);
  401. },300);
  402. }
  403. }
  404. update();
  405. };
  406. function doNewSend(sender){
  407. ws.send(new Uint8Array(Array.from(msgpack5.encode(sender))));
  408. }
  409. function acc(id) {
  410. doNewSend(["c", [0, 0, 1]]);
  411. doNewSend(["c", [0, id, 1]]);
  412. }
  413. function hat(id) {
  414. doNewSend(["c", [0, id, 0]]);
  415. }
  416. function place(id, angle = Math.atan2(mouseY - height / 2, mouseX - width / 2)) {
  417. doNewSend(["G", [id, null]]);
  418. doNewSend(["d", [1, angle]]);
  419. doNewSend(["d", [0, angle]]);
  420. doNewSend(["G", [primary, true]]);
  421. }
  422. var repeater = function(key, action, interval) {
  423. let _isKeyDown = false;
  424. let _intervalId = undefined;
  425. return {
  426. start(keycode) {
  427. if(keycode == key && document.activeElement.id.toLowerCase() !== 'chatbox') {
  428. _isKeyDown = true;
  429. if(_intervalId === undefined) {
  430. _intervalId = setInterval(() => {
  431. action();
  432. if(!_isKeyDown){
  433. clearInterval(_intervalId);
  434. _intervalId = undefined;
  435. }
  436. }, interval);
  437. }
  438. }
  439. },
  440. stop(keycode) {
  441. if(keycode == key && document.activeElement.id.toLowerCase() !== 'chatbox') {
  442. _isKeyDown = false;
  443. }
  444. }
  445. };
  446. }
  447. let automilling = false;
  448. let automill = false;
  449. var x,
  450. y;
  451. x = myPlayer.x;
  452. y = myPlayer.y;
  453. let angle = Math.atan2(y - myPlayer.y, x - myPlayer.x);
  454. setInterval(()=>{
  455. if(automill == true && isNextToFriendlyMill == false && millCount < 300 && automilling == false){
  456. automilling = true;
  457. doNewSend(["G",[millType, null]])
  458. doNewSend(["d",[1, (movementDirection - 1.90)]])
  459. doNewSend(["G",[myPlayer.weapon, true]])
  460. doNewSend(["G",[millType, null]])
  461. doNewSend(["d",[1, (movementDirection - 3.14)]])
  462. doNewSend(["G",[myPlayer.weapon, true]])
  463. doNewSend(["G",[millType, null]])
  464. doNewSend(["d",[1, (movementDirection + 1.90)]])
  465. doNewSend(["G",[myPlayer.weapon, true]])
  466. automilling = false
  467. }
  468. }, 100);
  469. let tankspam = false;
  470. let tankspamming = false;
  471. setInterval(()=>{
  472. if(tankspam == true && tankspamming == false){
  473. tankspamming = true;
  474. doNewSend(["c", [0, 40, 0]]);
  475. doNewSend(["d",[1]]);
  476. setTimeout(() => {
  477. doNewSend(["c", [0, 6, 0]]);
  478. tankspamming = false
  479. doNewSend(["d",[0]]);
  480. },100);
  481. }
  482. },200);
  483. const boostPlacer = repeater(70, () => {place(boostType)}, 50);
  484. const spikePlacer = repeater(86, () => {place(spikeType)}, 50);
  485. const placers = [boostPlacer, spikePlacer];
  486. let prevCount = 0;
  487. const handleMutations = mutationsList => {
  488. for (const mutation of mutationsList) {
  489. if (mutation.target.id === "killCounter") {
  490. const count = parseInt(mutation.target.innerText, 10) || 0;
  491. if (count > prevCount) {
  492. doNewSend(["6", [ "GG Kills = " + count]])
  493. prevCount = count;
  494. }
  495. }
  496. }
  497. };
  498. const observer = new MutationObserver(handleMutations);
  499. observer.observe(document, {
  500. subtree: true,
  501. childList: true
  502. });
  503. document.addEventListener('keydown', (e) => {
  504. if (["allianceinput", 'chatbox', 'nameinput','storeHolder'].includes(document.activeElement.id.toLowerCase())) return null;
  505. placers.forEach(t => {
  506. t.start(e.keyCode);
  507. });
  508. if(e.keyCode == 78 && document.activeElement.id.toLowerCase() !== 'chatbox'){// N = Automill
  509. automill = !automill
  510. }
  511. if(e.keyCode == 72 && document.activeElement.id.toLowerCase() !== 'chatbox'){// H = Turret/Teleporter
  512. place(turretType, myPlayer.dir + toRad(45));
  513. place(turretType, myPlayer.dir - toRad(45));
  514. }
  515. if(e.keyCode == 66 && document.activeElement.id.toLowerCase() !== 'chatbox'){// G = spawnpads
  516. place(spawnpadType, myPlayer.dir + toRad(45));
  517. place(spawnpadType, myPlayer.dir - toRad(45));
  518. }
  519. if (e.keyCode == 67) {
  520. doNewSend(["c", [0, 53, 0]]);
  521. setTimeout(() => {
  522. doNewSend(["c", [0, 7, 0]]);
  523. doNewSend(["G", [primary, true]]);
  524. doNewSend(["d",[1]]);
  525. }, 80)
  526. setTimeout(() => {
  527. doNewSend(["c", [0, 6, 0]]);
  528. doNewSend(["d",[0]]);
  529. place(spikeType, myPlayer.dir + toRad(45));
  530. place(spikeType, myPlayer.dir - toRad(45));
  531. place(spikeType, myPlayer.dir + toRad(135));
  532. place(spikeType, myPlayer.dir - toRad(135));
  533. }, 160);
  534. }
  535. if (e.keyCode == 16) {//booster hat
  536. biomeHat()
  537. }
  538. if (e.keyCode == 81) {
  539. place(foodType)
  540. place(foodType)
  541. place(foodType)
  542. }
  543. if(e.keyCode == 79 && document.activeElement.id.toLowerCase() !== 'chatbox'){// spiketick
  544. place(boostType, myPlayer.dir + toRad(45));
  545. place(boostType, myPlayer.dir - toRad(45));
  546. place(boostType, myPlayer.dir + toRad(135));
  547. place(boostType, myPlayer.dir - toRad(135));
  548. }
  549. if(e.keyCode == 32 && document.activeElement.id.toLowerCase() !== 'chatbox'){// spiketick
  550. place(foodType)
  551. place(spikeType);
  552. doNewSend(["d",[1]]);
  553. doNewSend(["c", [0, 7, 0]]);
  554. doNewSend(["G", [primary, true]]);
  555. doNewSend(["d",[1]]);
  556. setTimeout(() => {
  557. doNewSend(["c", [0, 53, 0]]);
  558. },75);
  559. setTimeout(() => {
  560. doNewSend(["c", [0, 6, 0]]);
  561. doNewSend(["d",[0]]);
  562. place(foodType)
  563. },150);
  564. }
  565. if(e.keyCode == 82 && document.activeElement.id.toLowerCase() !== 'chatbox'){// insta
  566. doNewSend(["c", [0, 53, 0]]);
  567. doNewSend(["G", [primary, true]]);
  568. setTimeout(() => {
  569. doNewSend(["c", [0, 7, 0]]);
  570. doNewSend(["d",[1]]);
  571. doNewSend(["d",[0]]);
  572. },85);
  573. setTimeout(() => {
  574. place(foodType)
  575. doNewSend(["G", [secondary, true]]);
  576. doNewSend(["d",[1]]);
  577. },170);
  578. setTimeout(() => {
  579. doNewSend(["d",[0]]);
  580. doNewSend(["G", [primary, true]])
  581. doNewSend(["c", [0, 6, 0]]);
  582. },280);
  583. }
  584. })
  585. document.addEventListener("mousedown", event => {
  586. if(event.button == 2 && document.activeElement.id.toLowerCase() !== 'chatbox'){//tankspam
  587. tankspam = !tankspam
  588. }
  589. });
  590. document.addEventListener('keyup', (e) => {
  591. placers.forEach(t => {
  592. t.stop(e.keyCode);
  593. });
  594. /*if (e.keyCode == 71) {
  595. setTimeout(() => {
  596. doNewSend(["33", [null]]);
  597. boostDir = null;
  598. }, 10);
  599. }*/
  600. })
  601. function isElementVisible(e) {
  602. return (e.offsetParent !== null);
  603. }
  604. function toRad(angle) {
  605. return angle * 0.01745329251;
  606. }
  607. function dist(e, o) {
  608. return e && o
  609. ? Math.sqrt((e.x - o.x) ** 2 + (e.y - o.y) ** 2)
  610. : null
  611. };
  612. function update() {
  613. for (let i=0;i<9;i++){
  614. if (isElementVisible(document.getElementById("actionBarItem" + i.toString()))){
  615. primary = i;
  616. }
  617. }
  618. for (let i=9;i<16;i++){
  619. if (isElementVisible(document.getElementById("actionBarItem" + i.toString()))){
  620. secondary = i;
  621. }
  622. }
  623. for (let i=16;i<19;i++){
  624. if (isElementVisible(document.getElementById("actionBarItem" + i.toString()))){
  625. foodType = i - 16;
  626. }
  627. }
  628. for (let i=19;i<22;i++){
  629. if (isElementVisible(document.getElementById("actionBarItem" + i.toString()))){
  630. wallType = i - 16;
  631. }
  632. }
  633. for (let i=22;i<26;i++){
  634. if (isElementVisible(document.getElementById("actionBarItem" + i.toString()))){
  635. spikeType = i - 16;
  636. }
  637. }
  638. for (let i=26;i<29;i++){
  639. if (isElementVisible(document.getElementById("actionBarItem" + i.toString()))){
  640. millType = i - 16;
  641. }
  642. }
  643. for (let i=29;i<31;i++){
  644. if (isElementVisible(document.getElementById("actionBarItem" + i.toString()))){
  645. mineType = i - 16;
  646. }
  647. }
  648. for (let i=31;i<33;i++){
  649. if (isElementVisible(document.getElementById("actionBarItem" + i.toString()))){
  650. boostType = i - 16;
  651. }
  652. }
  653. for (let i=33;i<36;i++){
  654. if (isElementVisible(document.getElementById("actionBarItem" + i.toString()))){
  655. turretType = i - 16;
  656. }
  657. }
  658. for (let i=36;i<37;i++){
  659. if (isElementVisible(document.getElementById("actionBarItem" + i.toString()))){
  660. spawnpadType = i - 16;
  661. }
  662. }
  663. for (let i=37;i<39;i++){
  664. if (isElementVisible(document.getElementById("actionBarItem" + i.toString()))){
  665. turretType = i - 16;
  666. }
  667. }
  668. }
  669. (function() {
  670. 'use strict';
  671. alert("Project Anti Clown by RebeL is running!");
  672. alert("GF-HF");
  673. document.title = "RebeLM00D";
  674. document.head.innerHTML += `<style>`;
  675. this(author > 1); {
  676. var author; document.getElementById("Blitz Utility");
  677. var authorURL; document.getElementById("bit.ly/this-greasyfork");
  678. if (author === (4)) {
  679. addScript => document.getElementById("Downloaded Scripts");
  680. scriptHeader = document.getElementById("add" > 30);
  681. }
  682. }
  683. if(event === clown) {
  684. var input; document.getElementById("id;clown");
  685. var clown; document.getElementById("id;tag");
  686. const unequip = true;
  687. }
  688. if(event === clown.Tag) {
  689. var level1; document.getElementById('id;tag' > 1);
  690. var level2; document.getElementById('id;tag' > 2);
  691. var level3; document.getElementById('id;tag' > 3);
  692. var level4; document.getElementById('id;tag' > 4);
  693. var level5; document.getElementById('id;tag' > 5);
  694. var level6; document.getElementById('id;tag' > 6);
  695. var level7; document.getElementById('id;tag' > clown.true);
  696. const unequip = true;
  697. }
  698. clown.id = (1); {
  699. var id; document.getElementById('moo' > clown.M );
  700. var tag; document.getElementById('html' > clown.num);
  701. }
  702. var num; document.getElementById('id;tag' > Math.floor(1 ^ 7)); {
  703. if(keyCode === 191) {
  704. var socket; document.getElementById('id;tag' > 'disabled' );
  705. }
  706. }(1 > client);
  707. })();