Matrix Mod for MooMoo.io

View Details At: https://matrixmod.glitch.me

  1. // ==UserScript==
  2. // @name Matrix Mod for MooMoo.io
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0
  5. // @description View Details At: https://matrixmod.glitch.me
  6. // @author Dot
  7. // @match https://moomoo.io/*
  8. // @match https://*.moomoo.io/*
  9. // @icon https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b/cursor12.png
  10. // @grant none
  11. // @license Copying this script and selling (in any capacity) and/or calling it your own will not be tolerated, Doing so will result in consequences.
  12. // ==/UserScript==
  13.  
  14. location.href =
  15. `javascript:` +
  16. `
  17. document.getElementById("mapDisplay").style.background =
  18. "url(https://cdn.discordapp.com/attachments/374333551858155530/376303720540930048/moomooio-background.png)",
  19. document.querySelector("#leaderboard").appendChild(
  20. (function() {
  21. let text = "Ping: ";
  22. let text2 = " ms";
  23. let oldPing = 0;
  24. const pingSpan = document.createElement("span");
  25. pingSpan.id = "pingTime";
  26. pingSpan.textContent = text;
  27. pingSpan.style.display = "inline-block";
  28. pingSpan.style.fontSize = "x-large";
  29. setInterval(function() {
  30. typeof pingTime !== "undefined" &&
  31. oldPing !== pingTime &&
  32. ((oldPing = pingTime),
  33. (pingSpan.textContent = text + oldPing + text2),
  34. (function() {
  35. if (oldPing <= 100) {
  36. pingSpan.style.color = "green";
  37. }
  38. if (oldPing >= 101 && oldPing <= 250) {
  39. pingSpan.style.color = "Orange";
  40. }
  41. if (oldPing >= 251) {
  42. pingSpan.style.color = "red";
  43. }
  44. })());
  45. });
  46. return pingSpan;
  47. })()
  48. );
  49. let hue = 0;
  50. let replaceInterval = setInterval(() => {
  51. if (CanvasRenderingContext2D.prototype.roundRect) {
  52. CanvasRenderingContext2D.prototype.roundRect = (oldFunc =>
  53. function() {
  54. if (this.fillStyle == "#8ecc51")
  55. this.fillStyle = 'hsl('+hue+', 100%, 50%)';
  56. return oldFunc.call(this, ...arguments);
  57. })(CanvasRenderingContext2D.prototype.roundRect);
  58. clearInterval(replaceInterval);
  59. }
  60. }, 20);
  61.  
  62. function changeHue() {
  63. hue += Math.random() * 3;
  64. }
  65. setInterval(changeHue, 20);
  66. setInterval(() => {
  67. setTimeout(() => {
  68. document.getElementById("chatBox").placeholder = "Writing";
  69. setTimeout(() => {
  70. document.getElementById("chatBox").placeholder = "Writing.";
  71. setTimeout(() => {
  72. document.getElementById("chatBox").placeholder = "Writing..";
  73. setTimeout(() => {
  74. document.getElementById("chatBox").placeholder = "Writing...";
  75. }, 200);
  76. }, 200);
  77. }, 200);
  78. }, 200);
  79. }, 1000);
  80. document.getElementById("loadingText").innerHTML = "Mod Loading...";
  81. function Anamation() {
  82. document.getElementById("gameName").style.fontFamily = "Courier New, monospace";
  83. document.getElementById("gameName").style.fontWeight = "600";
  84. document.getElementById("loadingText").innerHTML = "Game Loading...";
  85. setTimeout(() => {
  86. document.getElementById("gameName").innerHTML = "1010101010";
  87. setTimeout(() => {
  88. document.getElementById("gameName").innerHTML = "2200220202";
  89. setTimeout(() => {
  90. document.getElementById("gameName").innerHTML = "2020200220";
  91. setTimeout(() => {
  92. document.getElementById("gameName").innerHTML = "2020202202";
  93. setTimeout(() => {
  94. document.getElementById("gameName").innerHTML = "M220022020";
  95. setTimeout(() => {
  96. document.getElementById("gameName").innerHTML = "M202020020";
  97. setTimeout(() => {
  98. document.getElementById("gameName").innerHTML = "MA20202022";
  99. setTimeout(() => {
  100. document.getElementById("gameName").innerHTML = "MA20202020";
  101. setTimeout(() => {
  102. document.getElementById("gameName").innerHTML = "MAT2020202";
  103. setTimeout(() => {
  104. document.getElementById("gameName").innerHTML = "MAT0202200";
  105. setTimeout(() => {
  106. document.getElementById("gameName").innerHTML = "MATR202002";
  107. setTimeout(() => {
  108. document.getElementById("gameName").innerHTML = "MATRI20202";
  109. setTimeout(() => {
  110. document.getElementById("gameName").innerHTML = "MATRI20020";
  111. setTimeout(() => {
  112. document.getElementById("gameName").innerHTML = "MATRIX0220";
  113. setTimeout(() => {
  114. document.getElementById("gameName").innerHTML = "MATRIX0202";
  115. setTimeout(() => {
  116. document.getElementById("gameName").innerHTML = "MATRIX 202";
  117. setTimeout(() => {
  118. document.getElementById("gameName").innerHTML = "MATRIX 202";
  119. setTimeout(() => {
  120. document.getElementById("gameName").innerHTML = "MATRIX M20";
  121. setTimeout(() => {
  122. document.getElementById("gameName").innerHTML = "MATRIX M02";
  123. setTimeout(() => {
  124. document.getElementById("gameName").innerHTML = "MATRIX MO2";
  125. setTimeout(() => {
  126. document.getElementById("gameName").innerHTML = "MATRIX MO0";
  127. setTimeout(() => {
  128. document.getElementById("gameName").innerHTML = "MATRIX MOD";
  129. }, 100);
  130. }, 100);
  131. }, 100);
  132. }, 100);
  133. }, 100);
  134. }, 100);
  135. }, 100);
  136. }, 100);
  137. }, 100);
  138. }, 100);
  139. }, 100);
  140. }, 100);
  141. }, 100);
  142. }, 100);
  143. }, 100);
  144. }, 100);
  145. }, 100);
  146. }, 100);
  147. }, 100);
  148. }, 100);
  149. }, 100);
  150. }, 100);
  151. }
  152. var Padding4Nullz = "60px";
  153. var keycolor = "white";
  154. var keys = [];
  155. keys[13] = "entr";
  156. keys[27] = "esc";
  157. keys[32] = "space";
  158. keys[49] = 1;
  159. keys[50] = 2;
  160. keys[51] = 3;
  161. keys[52] = 4;
  162. keys[53] = 5;
  163. keys[54] = 6;
  164. keys[55] = 7;
  165. keys[56] = 8;
  166. keys[57] = 9;
  167. keys[65] = "a";
  168. keys[67] = "c";
  169. keys[68] = "d";
  170. keys[69] = "e";
  171. keys[81] = "Q";
  172. keys[87] = "w";
  173. keys[83] = "s";
  174. keys[88] = "x";
  175. keys[82] = "r";
  176.  
  177. function checkKey(event, background) {
  178. let keyCode = event.keyCode;
  179. if (keys[keyCode]) {
  180. document.getElementById(keys[keyCode]).style.background = background;
  181. }
  182. }
  183. document.addEventListener("keydown", event => checkKey(event, keycolor));
  184. document.addEventListener("keyup", event =>
  185. checkKey(event, "rgb(0, 0, 0, .2)")
  186. );
  187. var onMousedown = function(e) {
  188. if (e.which === key3) {
  189. buyAndEquip(Bull);
  190. document.getElementById("r-c").style.background = keycolor;
  191. } else if (e.which === key1) {
  192. buyAndEquip(Bull);
  193. document.getElementById("l-c").style.background = keycolor;
  194. }
  195. };
  196. var onMouseup = function(e) {
  197. if (e.which === key3) {
  198. buyAndEquip(Moo_u);
  199. document.getElementById("r-c").style.background = "rgb(0, 0, 0, .2)";
  200. } else if (e.which === key1) {
  201. buyAndEquip(Moo_u);
  202. document.getElementById("l-c").style.background = "rgb(0, 0, 0, .2)";
  203. }
  204. };
  205. window.addEventListener("mousedown", onMousedown);
  206. window.addEventListener("mouseup", onMouseup);
  207.  
  208. function ShowSettingsBoxen() {
  209. document.getElementById("Boxen").style.marginLeft = "-408px";
  210. document.getElementById("HackBoxen").style.marginLeft = "-408px";
  211. document.getElementById("SettingsBoxen").style.marginLeft = "0";
  212. document.getElementById("X").style.display = "block";
  213. document.getElementById("Check").style.display = "none";
  214. document.getElementById("OpenAndClose").style.borderRadius =
  215. "0px 8px 8px 0px";
  216. document.getElementById("OpenAndClose").style.marginLeft = "0px";
  217. document.getElementById("SettingsTab").style.borderRadius = "0px 8px 8px 0px";
  218. document.getElementById("SettingsTab").style.marginLeft = "0px";
  219. document.getElementById("S-X").style.display = "block";
  220. document.getElementById("HackTab").style.borderRadius = "0px 8px 8px 0px";
  221. document.getElementById("HackTab").style.marginLeft = "0px";
  222. document.getElementById("Hack-X").style.display = "none";
  223. document.getElementById("X").style.display = "none";
  224. document.getElementById("timeOfDay").style.visibility = "hidden";
  225. document.getElementById("mapDisplay").style.visibility = "hidden";
  226. document.getElementById("scoreDisplay").style.visibility = "hidden";
  227. }
  228.  
  229. function HideSettingsBoxen() {
  230. document.getElementById("SettingsBoxen").style.marginLeft = "-408px";
  231. document.getElementById("Boxen").style.marginLeft = "0";
  232. document.getElementById("HackBoxen").style.marginLeft = "-408px";
  233. document.getElementById("X").style.display = "block";
  234. document.getElementById("Check").style.display = "none";
  235. document.getElementById("OpenAndClose").style.borderRadius =
  236. "0px 8px 8px 0px";
  237. document.getElementById("OpenAndClose").style.marginLeft = "0px";
  238. document.getElementById("SettingsTab").style.borderRadius = "0px 8px 8px 0px";
  239. document.getElementById("SettingsTab").style.marginLeft = "0px";
  240. document.getElementById("S-X").style.display = "none";
  241. document.getElementById("mapDisplay").style.visibility = "visible";
  242. document.getElementById("scoreDisplay").style.visibility = "visible";
  243. Check();
  244. }
  245.  
  246. function ShowHackBoxen() {
  247. document.getElementById("Boxen").style.marginLeft = "-408px";
  248. document.getElementById("SettingsBoxen").style.marginLeft = "-408px";
  249. document.getElementById("HackBoxen").style.marginLeft = "0";
  250. document.getElementById("X").style.display = "block";
  251. document.getElementById("Check").style.display = "none";
  252. document.getElementById("OpenAndClose").style.borderRadius =
  253. "0px 8px 8px 0px";
  254. document.getElementById("OpenAndClose").style.marginLeft = "0px";
  255. document.getElementById("HackTab").style.borderRadius = "0px 8px 8px 0px";
  256. document.getElementById("SettingsTab").style.borderRadius = "0px 8px 8px 0px";
  257. document.getElementById("HackTab").style.marginLeft = "0px";
  258. document.getElementById("SettingsTab").style.marginLeft = "0px";
  259. document.getElementById("Hack-X").style.display = "block";
  260. document.getElementById("X").style.display = "none";
  261. document.getElementById("S-X").style.display = "none";
  262. document.getElementById("mapDisplay").style.visibility = "visible";
  263. document.getElementById("scoreDisplay").style.visibility = "visible";
  264. Check();
  265. }
  266.  
  267. function HideHackBoxen() {
  268. document.getElementById("HackBoxen").style.marginLeft = "-408px";
  269. document.getElementById("Boxen").style.marginLeft = "0";
  270. document.getElementById("X").style.display = "block";
  271. document.getElementById("Check").style.display = "none";
  272. document.getElementById("OpenAndClose").style.borderRadius =
  273. "0px 8px 8px 0px";
  274. document.getElementById("OpenAndClose").style.marginLeft = "0px";
  275. document.getElementById("HackTab").style.borderRadius = "0px 8px 8px 0px";
  276. document.getElementById("HackTab").style.marginLeft = "0px";
  277. document.getElementById("Hack-X").style.display = "none";
  278. document.getElementById("mapDisplay").style.visibility = "visible";
  279. document.getElementById("scoreDisplay").style.visibility = "visible";
  280. Check();
  281. }
  282.  
  283. function ShowBoxen() {
  284. document.getElementById("Boxen").style.marginLeft = "0";
  285. document.getElementById("X").style.display = "block";
  286. document.getElementById("Check").style.display = "none";
  287. document.getElementById("OpenAndClose").style.borderRadius =
  288. "0px 8px 8px 0px";
  289. document.getElementById("OpenAndClose").style.marginLeft = "0px";
  290. document.getElementById("SettingsTab").style.borderRadius = "0px 8px 8px 0px";
  291. document.getElementById("SettingsTab").style.marginLeft = "0px";
  292. document.getElementById("S-X").style.display = "none";
  293. document.getElementById("HackTab").style.borderRadius = "0px 8px 8px 0px";
  294. document.getElementById("HackTab").style.marginLeft = "0px";
  295. document.getElementById("Hack-X").style.display = "none";
  296. document.getElementById("mapDisplay").style.visibility = "visible";
  297. document.getElementById("scoreDisplay").style.visibility = "visible";
  298. Check();
  299. }
  300.  
  301. function HideBoxen() {
  302. document.getElementById("X").style.display = "none";
  303. document.getElementById("Check").style.display = "block";
  304. document.getElementById("OpenAndClose").style.marginLeft = "-405px";
  305. document.getElementById("Boxen").style.marginLeft = "-408px";
  306. document.getElementById("OpenAndClose").style.borderRadius =
  307. "8px 8px 8px 8px";
  308. document.getElementById("SettingsTab").style.marginLeft = "-405px";
  309. document.getElementById("SettingsTab").style.borderRadius = "8px 8px 8px 8px";
  310. document.getElementById("SettingsBoxen").style.marginLeft = "-407px";
  311. document.getElementById("S-X").style.display = "none";
  312. document.getElementById("HackTab").style.marginLeft = "-405px";
  313. document.getElementById("HackTab").style.borderRadius = "8px 8px 8px 8px";
  314. document.getElementById("HackBoxen").style.marginLeft = "-407px";
  315. document.getElementById("Hack-X").style.display = "none";
  316. document.getElementById("mapDisplay").style.visibility = "visible";
  317. document.getElementById("scoreDisplay").style.visibility = "visible";
  318. Check();
  319. }
  320.  
  321. function rrrr() {
  322. keycolor = "red";
  323. }
  324.  
  325. function oooo() {
  326. keycolor = "orange";
  327. }
  328.  
  329. function yyyy() {
  330. keycolor = "yellow";
  331. }
  332.  
  333. function gggg() {
  334. keycolor = "green";
  335. }
  336.  
  337. function bbbb() {
  338. keycolor = "blue";
  339. }
  340.  
  341. function pppp() {
  342. keycolor = "purple";
  343. }
  344.  
  345. function pppp2() {
  346. keycolor = "pink";
  347. }
  348.  
  349. function wwww() {
  350. keycolor = "white";
  351. }
  352.  
  353. function bbbb2() {
  354. keycolor = "black";
  355. }
  356.  
  357. function lblb() {
  358. keycolor = "cornflowerblue";
  359. }
  360. function trrrr() {
  361. document.getElementById("Boxen").style.color = "Red";
  362. }
  363.  
  364. function toooo() {
  365. document.getElementById("Boxen").style.color = "orange";
  366. }
  367.  
  368. function tyyyy() {
  369. document.getElementById("Boxen").style.color = "yellow";
  370. }
  371.  
  372. function tgggg() {
  373. document.getElementById("Boxen").style.color = "green";
  374. }
  375.  
  376. function tbbbb() {
  377. document.getElementById("Boxen").style.color = "blue";
  378. }
  379.  
  380. function tpppp() {
  381. document.getElementById("Boxen").style.color = "purple";
  382. }
  383.  
  384. function tpppp2() {
  385. document.getElementById("Boxen").style.color = "pink";
  386. }
  387.  
  388. function twwww() {
  389. document.getElementById("Boxen").style.color = "white";
  390. }
  391.  
  392. function tbbbb2() {
  393. document.getElementById("Boxen").style.color = "black";
  394. }
  395.  
  396. function tlblb() {
  397. document.getElementById("Boxen").style.color = "cornflowerblue";
  398. }
  399. function rHax() {
  400. document.getElementById("leaderboard").style.color = "red";
  401. document.getElementById("leaderboardData").style.color = "red";
  402. document.getElementById("allianceButton").style.color = "red";
  403. document.getElementById("storeButton").style.color = "red";
  404. document.getElementById("chatButton").style.color = "red";
  405. document.getElementById("killCounter").style.color = "red";
  406. document.getElementById("foodDisplay").style.color = "red";
  407. document.getElementById("woodDisplay").style.color = "red";
  408. document.getElementById("stoneDisplay").style.color = "red";
  409. document.getElementById("scoreDisplay").style.color = "red";
  410. document.getElementById("ageBarBody").style.background = "red";
  411. document.getElementById("timeOfDay").style.color = "red";
  412. }
  413.  
  414. function oHax() {
  415. document.getElementById("leaderboard").style.color = "orange";
  416. document.getElementById("leaderboardData").style.color = "orange";
  417. document.getElementById("allianceButton").style.color = "orange";
  418. document.getElementById("storeButton").style.color = "orange";
  419. document.getElementById("chatButton").style.color = "orange";
  420. document.getElementById("killCounter").style.color = "orange";
  421. document.getElementById("foodDisplay").style.color = "orange";
  422. document.getElementById("woodDisplay").style.color = "orange";
  423. document.getElementById("stoneDisplay").style.color = "orange";
  424. document.getElementById("scoreDisplay").style.color = "orange";
  425. document.getElementById("ageBarBody").style.background = "orange";
  426. document.getElementById("timeOfDay").style.color = "orange";
  427. }
  428.  
  429. function yHax() {
  430. document.getElementById("leaderboard").style.color = "yellow";
  431. document.getElementById("leaderboardData").style.color = "yellow";
  432. document.getElementById("allianceButton").style.color = "yellow";
  433. document.getElementById("storeButton").style.color = "yellow";
  434. document.getElementById("chatButton").style.color = "yellow";
  435. document.getElementById("killCounter").style.color = "yellow";
  436. document.getElementById("foodDisplay").style.color = "yellow";
  437. document.getElementById("woodDisplay").style.color = "yellow";
  438. document.getElementById("stoneDisplay").style.color = "yellow";
  439. document.getElementById("scoreDisplay").style.color = "yellow";
  440. document.getElementById("ageBarBody").style.background = "yellow";
  441. document.getElementById("timeOfDay").style.color = "yellow";
  442. }
  443.  
  444. function gHax() {
  445. document.getElementById("leaderboard").style.color = "green";
  446. document.getElementById("leaderboardData").style.color = "green";
  447. document.getElementById("allianceButton").style.color = "green";
  448. document.getElementById("storeButton").style.color = "green";
  449. document.getElementById("chatButton").style.color = "green";
  450. document.getElementById("killCounter").style.color = "green";
  451. document.getElementById("foodDisplay").style.color = "green";
  452. document.getElementById("woodDisplay").style.color = "green";
  453. document.getElementById("stoneDisplay").style.color = "green";
  454. document.getElementById("scoreDisplay").style.color = "green";
  455. document.getElementById("ageBarBody").style.background = "green";
  456. document.getElementById("timeOfDay").style.color = "green";
  457. }
  458.  
  459. function bHax() {
  460. document.getElementById("leaderboard").style.color = "blue";
  461. document.getElementById("leaderboardData").style.color = "blue";
  462. document.getElementById("allianceButton").style.color = "blue";
  463. document.getElementById("storeButton").style.color = "blue";
  464. document.getElementById("chatButton").style.color = "blue";
  465. document.getElementById("killCounter").style.color = "blue";
  466. document.getElementById("foodDisplay").style.color = "blue";
  467. document.getElementById("woodDisplay").style.color = "blue";
  468. document.getElementById("stoneDisplay").style.color = "blue";
  469. document.getElementById("scoreDisplay").style.color = "blue";
  470. document.getElementById("ageBarBody").style.background = "blue";
  471. document.getElementById("timeOfDay").style.color = "blue";
  472. }
  473.  
  474. function pHax() {
  475. document.getElementById("leaderboard").style.color = "purple";
  476. document.getElementById("leaderboardData").style.color = "purple";
  477. document.getElementById("allianceButton").style.color = "purple";
  478. document.getElementById("storeButton").style.color = "purple";
  479. document.getElementById("chatButton").style.color = "purple";
  480. document.getElementById("killCounter").style.color = "purple";
  481. document.getElementById("foodDisplay").style.color = "purple";
  482. document.getElementById("woodDisplay").style.color = "purple";
  483. document.getElementById("stoneDisplay").style.color = "purple";
  484. document.getElementById("scoreDisplay").style.color = "purple";
  485. document.getElementById("ageBarBody").style.background = "purple";
  486. document.getElementById("timeOfDay").style.color = "purple";
  487. }
  488.  
  489. function pHax2() {
  490. document.getElementById("leaderboard").style.color = "pink";
  491. document.getElementById("leaderboardData").style.color = "pink";
  492. document.getElementById("allianceButton").style.color = "pink";
  493. document.getElementById("storeButton").style.color = "pink";
  494. document.getElementById("chatButton").style.color = "pink";
  495. document.getElementById("killCounter").style.color = "pink";
  496. document.getElementById("foodDisplay").style.color = "pink";
  497. document.getElementById("woodDisplay").style.color = "pink";
  498. document.getElementById("stoneDisplay").style.color = "pink";
  499. document.getElementById("scoreDisplay").style.color = "pink";
  500. document.getElementById("ageBarBody").style.background = "pink";
  501. document.getElementById("timeOfDay").style.color = "pink";
  502. }
  503.  
  504. function wHax() {
  505. document.getElementById("leaderboard").style.color = "white";
  506. document.getElementById("leaderboardData").style.color = "white";
  507. document.getElementById("allianceButton").style.color = "white";
  508. document.getElementById("storeButton").style.color = "white";
  509. document.getElementById("chatButton").style.color = "white";
  510. document.getElementById("killCounter").style.color = "white";
  511. document.getElementById("foodDisplay").style.color = "white";
  512. document.getElementById("woodDisplay").style.color = "white";
  513. document.getElementById("stoneDisplay").style.color = "white";
  514. document.getElementById("scoreDisplay").style.color = "white";
  515. document.getElementById("ageBarBody").style.background = "white";
  516. document.getElementById("timeOfDay").style.color = "white";
  517. }
  518.  
  519. function bHax2() {
  520. document.getElementById("leaderboard").style.color = "black";
  521. document.getElementById("leaderboardData").style.color = "black";
  522. document.getElementById("allianceButton").style.color = "black";
  523. document.getElementById("storeButton").style.color = "black";
  524. document.getElementById("chatButton").style.color = "black";
  525. document.getElementById("killCounter").style.color = "black";
  526. document.getElementById("foodDisplay").style.color = "black";
  527. document.getElementById("woodDisplay").style.color = "black";
  528. document.getElementById("stoneDisplay").style.color = "black";
  529. document.getElementById("scoreDisplay").style.color = "black";
  530. document.getElementById("ageBarBody").style.background = "black";
  531. document.getElementById("timeOfDay").style.color = "black";
  532. }
  533.  
  534. function lbHax() {
  535. document.getElementById("leaderboard").style.color = "cornflowerblue";
  536. document.getElementById("leaderboardData").style.color = "cornflowerblue";
  537. document.getElementById("allianceButton").style.color = "cornflowerblue";
  538. document.getElementById("storeButton").style.color = "cornflowerblue";
  539. document.getElementById("chatButton").style.color = "cornflowerblue";
  540. document.getElementById("killCounter").style.color = "cornflowerblue";
  541. document.getElementById("foodDisplay").style.color = "cornflowerblue";
  542. document.getElementById("woodDisplay").style.color = "cornflowerblue";
  543. document.getElementById("stoneDisplay").style.color = "cornflowerblue";
  544. document.getElementById("scoreDisplay").style.color = "cornflowerblue";
  545. document.getElementById("ageBarBody").style.background = "cornflowerblue";
  546. document.getElementById("timeOfDay").style.color = "cornflowerblue";
  547. }
  548.  
  549. function CheckDaCheckBoxen1() {
  550. var checkbox = document.getElementById("CheckBoxen1");
  551. if (checkbox.checked != false) {
  552. document.querySelector("html").style.filter = "blur(2px)";
  553. } else {
  554. document.querySelector("html").style.filter = "blur(0px)";
  555. }
  556. }
  557.  
  558. function CheckDaCheckBoxen2() {
  559. var checkbox = document.getElementById("CheckBoxen2");
  560. if (checkbox.checked != true) {
  561. document.querySelector("html").style.filter = "saturate(100%)";
  562. } else {
  563. document.querySelector("html").style.filter = "saturate(0%)";
  564. }
  565. }
  566.  
  567. function CheckDaCheckBoxen3() {
  568. var checkbox = document.getElementById("CheckBoxen3");
  569. if (checkbox.checked != false) {
  570. document.querySelector("html").style.filter = "sepia(10000%)";
  571. } else {
  572. document.querySelector("html").style.filter = "sepia(0%)";
  573. }
  574. }
  575.  
  576. function CheckDaCheckBoxen4() {
  577. var checkbox = document.getElementById("CheckBoxen4");
  578. if (checkbox.checked != false) {
  579. document.querySelector("html").style.filter = "hue-rotate(90deg)";
  580. } else {
  581. document.querySelector("html").style.filter = "hue-rotate(0deg)";
  582. }
  583. }
  584.  
  585. function CheckDaCheckBoxen5() {
  586. var checkbox = document.getElementById("CheckBoxen5");
  587. if (checkbox.checked != false) {
  588. document.querySelector("html").style.filter = "invert(70%)";
  589. } else {
  590. document.querySelector("html").style.filter = "invert(0%)";
  591. }
  592. }
  593.  
  594. function CheckDaCheckBoxen6() {
  595. var checkbox = document.getElementById("CheckBoxen6");
  596. if (checkbox.checked != false) {
  597. document.querySelector("html").style.filter = "brightness(70%)";
  598. } else {
  599. document.querySelector("html").style.filter = "brightness(100%)";
  600. }
  601. }
  602.  
  603. function CheckDaCheckBoxen7() {
  604. var checkbox = document.getElementById("CheckBoxen7");
  605. if (checkbox.checked != false) {
  606. Pop_up("Ping: On");
  607. document.getElementById("pingTime").style.display = "block";
  608. } else {
  609. Pop_up("Ping: Off");
  610. document.getElementById("pingTime").style.display = "none";
  611. }
  612. }
  613.  
  614. function CheckDaCheckBoxen8() {
  615. var checkbox = document.getElementById("CheckBoxen8");
  616. if (checkbox.checked != false) {
  617. document.getElementById("mapDisplay").style.background =
  618. "url(https://cdn.discordapp.com/attachments/374333551858155530/376303720540930048/moomooio-background.png)";
  619. Pop_up("Advanced Map: On");
  620. } else {
  621. document.getElementById("mapDisplay").style.background = "rgb(0,0,0, .25)";
  622. Pop_up("Advanced Map: Off");
  623. }
  624. }
  625.  
  626. function CheckDaCheckBoxen9() {
  627. var checkbox = document.getElementById("CheckBoxen9");
  628. if (checkbox.checked != true) {
  629. document.getElementById("infoBox").style.display = "none";
  630. key16 = NaN;
  631. key84 = NaN;
  632. key85 = NaN;
  633. key32 = NaN;
  634. key89 = NaN;
  635. key73 = NaN;
  636. key79 = NaN;
  637. key80 = NaN;
  638. key69 = NaN;
  639. key1 = NaN;
  640. key3 = NaN;
  641. key70 = NaN;
  642. key71 = NaN;
  643. key192 = NaN;
  644. key88 = NaN;
  645. document.getElementById("actionBar").style.marginBottom = "0px";
  646. document.getElementById("ageBarContainer").style.marginBottom = "0px";
  647. document.getElementById("ageText").style.marginBottom = "0px";
  648. Pop_up("Hat Macro: Off");
  649. } else {
  650. document.getElementById("infoBox").style.display = "block";
  651. key16 = 16;
  652. key84 = 84;
  653. key85 = 85;
  654. key32 = 32;
  655. key89 = 89;
  656. key73 = 73;
  657. key79 = 79;
  658. key80 = 80;
  659. key69 = 69;
  660. key1 = 1;
  661. key3 = 3;
  662. key70 = 70;
  663. key71 = 71;
  664. key192 = 192;
  665. key88 = 88;
  666. document.getElementById("actionBar").style.marginBottom = "24px";
  667. document.getElementById("ageBarContainer").style.marginBottom = "24px";
  668. document.getElementById("ageText").style.marginBottom = "24px";
  669. Pop_up("Hat Macro: On");
  670. }
  671. }
  672.  
  673. function CheckDaCheckBoxen10() {
  674. var checkbox = document.getElementById("CheckBoxen10");
  675. if (checkbox.checked != false) {
  676. document.querySelector(".Nullz").style.display = "block";
  677. Pop_up("Hit Radius: On");
  678. } else {
  679. Pop_up("Hit Radius: Off");
  680. document.querySelector(".Nullz").style.display = "none";
  681. }
  682. }
  683.  
  684. function CheckDaCheckBoxen11() {
  685. var checkbox = document.getElementById("CheckBoxen11");
  686. var x = document.getElementById("Pop-up");
  687. if (checkbox.checked != false) {
  688. x.style.display = "block";
  689. } else {
  690. x.style.display = "none";
  691. }
  692. }
  693.  
  694. function CheckDaCheckBoxen12() {
  695. var checkbox = document.getElementById("CheckBoxen12");
  696. if (checkbox.checked != false) {
  697. document.getElementById("darkness").style.visibility = "hidden";
  698. document.getElementById("timeOfDay").style.visibility = "hidden";
  699. Pop_up("Anti Dark: On");
  700. } else {
  701. Pop_up("Anti Dark: Off");
  702. document.getElementById("darkness").style.visibility = "visible";
  703. document.getElementById("timeOfDay").style.visibility = "visible";
  704. }
  705. }
  706.  
  707. function Check() {
  708. var checkbox = document.getElementById("CheckBoxen12");
  709. if (checkbox.checked != false) {
  710. document.getElementById("darkness").style.visibility = "hidden";
  711. document.getElementById("timeOfDay").style.visibility = "hidden";
  712. } else {
  713. document.getElementById("darkness").style.visibility = "visible";
  714. document.getElementById("timeOfDay").style.visibility = "visible";
  715. }
  716. }
  717.  
  718. function cursor1() {
  719. document.getElementById("gameCanvas").style.cursor = "default";
  720. }
  721.  
  722. function cursor2() {
  723. document.getElementById("gameCanvas").style.cursor =
  724. "url('https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor.ico'), auto";
  725. }
  726.  
  727. function cursor3() {
  728. document.getElementById("gameCanvas").style.cursor =
  729. "url('https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor2.ico'), auto";
  730. }
  731.  
  732. function cursor4() {
  733. document.getElementById("gameCanvas").style.cursor =
  734. "url('https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor3.ico'), auto";
  735. }
  736.  
  737. function cursor5() {
  738. document.getElementById("gameCanvas").style.cursor =
  739. "url('https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor4.ico'), auto";
  740. }
  741.  
  742. function cursor6() {
  743. document.getElementById("gameCanvas").style.cursor =
  744. "url('https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor5.ico'), auto";
  745. }
  746.  
  747. function cursor7() {
  748. document.getElementById("gameCanvas").style.cursor =
  749. "url('https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor6.ico'), auto";
  750. }
  751.  
  752. function cursor8() {
  753. document.getElementById("gameCanvas").style.cursor =
  754. "url('https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor7.png'), auto";
  755. }
  756.  
  757. function cursor9() {
  758. document.getElementById("gameCanvas").style.cursor =
  759. "url('https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor8.ico'), auto";
  760. }
  761.  
  762. function cursor10() {
  763. document.getElementById("gameCanvas").style.cursor =
  764. "url('https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor9.ico'), auto";
  765. }
  766.  
  767. function cursor11() {
  768. document.getElementById("gameCanvas").style.cursor =
  769. "url('https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor10.png'), auto";
  770. }
  771.  
  772. function cursor12() {
  773. document.getElementById("gameCanvas").style.cursor =
  774. "url('https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor12.png'), auto";
  775. }
  776.  
  777. function cursor13() {
  778. document.getElementById("gameCanvas").style.cursor =
  779. "url('https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor13.png'), auto";
  780. }
  781.  
  782. function cursor14() {
  783. document.getElementById("gameCanvas").style.cursor =
  784. "url('https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor14.png'), auto";
  785. }
  786.  
  787. function cursor15() {
  788. document.getElementById("gameCanvas").style.cursor =
  789. "url('https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor15.png'), auto";
  790. }
  791.  
  792. var Hat_Cycler;
  793. var NullOne = true;
  794. var NullTwo = true;
  795. var NullThree = true;
  796. var NullFour = true;
  797. var NullFive = true;
  798. var NullSix = true;
  799. var NullSeven = true;
  800. var NullEight = true;
  801. var switchTime = 50;
  802. var key3 = 3;
  803. var key1 = 1;
  804. var key16 = 16;
  805. var key84 = 84;
  806. var key85 = 85;
  807. var key32 = 32;
  808. var key89 = 89;
  809. var key73 = 73;
  810. var key79 = 79;
  811. var key80 = 80;
  812. var key69 = 69;
  813. var key71 = 71;
  814. var key70 = 70;
  815. var key192 = 192;
  816. var key88 = 88;
  817. var unequip = 0;
  818. var Tank = 40;
  819. var Soldier = 6;
  820. var Bull = 7;
  821. var Booster = 12;
  822. var Flipper = 31;
  823. var Blood = 55;
  824. var Emp = 22;
  825. var Samurai = 20;
  826. var Winter = 15;
  827. var Invis = 56;
  828. var TankOn = false;
  829. var Moo_u = 0;
  830.  
  831. document.body.onkeyup = function(event) {
  832. event = event || window.event;
  833. var keycode = event.charCode || event.keyCode;
  834. if (keycode === key32) {
  835. buyAndEquip(Moo_u);
  836. }
  837. };
  838. document.addEventListener("keydown", function(e) {
  839. if (e.keyCode === key16) {
  840. buyAndEquip(unequip);
  841. Moo_u = unequip;
  842. } else if (e.keyCode === key69) {
  843. toggleTank();
  844. } else if (e.keyCode === key85) {
  845. buyAndEquip(Soldier);
  846. Moo_u = Soldier;
  847. } else if (e.keyCode === key32) {
  848. buyAndEquip(Bull);
  849. } else if (e.keyCode === key89) {
  850. buyAndEquip(Booster, 11);
  851. (Moo_u = Booster), 11;
  852. } else if (e.keyCode === key73) {
  853. buyAndEquip(Flipper);
  854. Moo_u = Flipper;
  855. } else if (e.keyCode === key79) {
  856. buyAndEquip(Blood);
  857. Moo_u = Blood;
  858. } else if (e.keyCode === key71) {
  859. buyAndEquip(Emp);
  860. Moo_u = Emp;
  861. } else if (e.keyCode === key84) {
  862. buyAndEquip(Samurai);
  863. Moo_u = Samurai;
  864. } else if (e.keyCode === key80) {
  865. buyAndEquip(Winter);
  866. Moo_u = Winter;
  867. } else if (e.keyCode === key70) {
  868. buyAndEquip(Invis);
  869. Moo_u = Invis;
  870. Pop_up("Hide!");
  871. } else if (e.keyCode === 13) {
  872. check2();
  873. } else if (e.keyCode === 27) {
  874. check();
  875. check1();
  876. check2();
  877. } else if (e.keyCode === key192) {
  878. Toggle_Hat();
  879. } else if (e.keyCode === key88) {
  880. toggleMove();
  881. }
  882. });
  883.  
  884. function Pop_up(Message) {
  885. document.getElementById("Pop-up").innerHTML = Message;
  886. document.getElementById("Pop-up").style.marginTop = "5px";
  887. setTimeout(() => {
  888. document.getElementById("Pop-up").style.marginTop = "-110px";
  889. }, 1500);
  890. }
  891.  
  892. function buyAndEquip(name) {
  893. storeBuy(name);
  894. storeEquip(name);
  895. }
  896.  
  897. function toggleTank() {
  898. TankOn ? Tank0n() : TankOff();
  899. TankOn = !TankOn;
  900. }
  901.  
  902. function Tank0n() {
  903. buyAndEquip(Tank);
  904. }
  905.  
  906. function TankOff() {
  907. buyAndEquip(Moo_u);
  908. }
  909.  
  910. function check() {
  911. var x = document.getElementById("storeMenu");
  912. if (x.style.display === "block") {
  913. key16 = null;
  914. key84 = null;
  915. key85 = null;
  916. key32 = null;
  917. key89 = null;
  918. key73 = null;
  919. key79 = null;
  920. key80 = null;
  921. key69 = null;
  922. key1 = null;
  923. key3 = null;
  924. key70 = null;
  925. key71 = null;
  926. key192 = null;
  927. key88 = null;
  928. } else if (x.style.display === "none") {
  929. check3();
  930. }
  931. }
  932.  
  933. function check1() {
  934. var z = document.getElementById("allianceMenu");
  935. if (z.style.display === "block") {
  936. key16 = null;
  937. key84 = null;
  938. key85 = null;
  939. key32 = null;
  940. key89 = null;
  941. key73 = null;
  942. key79 = null;
  943. key80 = null;
  944. key69 = null;
  945. key1 = null;
  946. key3 = null;
  947. key70 = null;
  948. key71 = null;
  949. key192 = null;
  950. key88 = null;
  951. } else if (z.style.display === "none") {
  952. check3();
  953. }
  954. }
  955.  
  956. function check2() {
  957. var y = document.getElementById("chatHolder");
  958. if (y.style.display === "block") {
  959. key16 = null;
  960. key84 = null;
  961. key85 = null;
  962. key32 = null;
  963. key89 = null;
  964. key73 = null;
  965. key79 = null;
  966. key80 = null;
  967. key69 = null;
  968. key1 = null;
  969. key3 = null;
  970. key70 = null;
  971. key71 = null;
  972. key192 = null;
  973. key88 = null;
  974. } else if (y.style.display === "none") {
  975. check3();
  976. }
  977. }
  978.  
  979. function check3() {
  980. var y = document.getElementById("chatHolder");
  981. var x = document.getElementById("storeMenu");
  982. var z = document.getElementById("allianceMenu");
  983. if (
  984. y.style.display === "none" &&
  985. x.style.display === "none" &&
  986. z.style.display === "none"
  987. ) {
  988. Check6();
  989. }
  990. }
  991.  
  992. function check4() {
  993. if (
  994. document.getElementById("actionBarItem0").style.display === "inline-block"
  995. ) {
  996. Padding4Nullz = "55px";
  997. document.querySelector(".Nullz").style.padding = Padding4Nullz;
  998. } else if (
  999. document.getElementById("actionBarItem3").style.display === "inline-block"
  1000. ) {
  1001. Padding4Nullz = "90px";
  1002. document.querySelector(".Nullz").style.padding = Padding4Nullz;
  1003. if (NullOne) {
  1004. Pop_up("Sword!");
  1005. NullOne = false;
  1006. }
  1007. } else if (
  1008. document.getElementById("actionBarItem4").style.display === "inline-block"
  1009. ) {
  1010. Padding4Nullz = "105px";
  1011. document.querySelector(".Nullz").style.padding = Padding4Nullz;
  1012. if (NullTwo) {
  1013. Pop_up("Katina!");
  1014. NullTwo = false;
  1015. }
  1016. } else if (
  1017. document.getElementById("actionBarItem1").style.display === "inline-block"
  1018. ) {
  1019. Padding4Nullz = "65px";
  1020. document.querySelector(".Nullz").style.padding = Padding4Nullz;
  1021. if (NullThree) {
  1022. Pop_up("Axe!");
  1023. NullThree = false;
  1024. }
  1025. } else if (
  1026. document.getElementById("actionBarItem2").style.display === "inline-block"
  1027. ) {
  1028. Padding4Nullz = "68px";
  1029. document.querySelector(".Nullz").style.padding = Padding4Nullz;
  1030. if (NullFour) {
  1031. Pop_up("Battle Axe!");
  1032. NullFour = false;
  1033. }
  1034. } else if (
  1035. document.getElementById("actionBarItem5").style.display === "inline-block"
  1036. ) {
  1037. Padding4Nullz = "100px";
  1038. document.querySelector(".Nullz").style.padding = Padding4Nullz;
  1039. if (NullFive) {
  1040. Pop_up("Polearm!");
  1041. NullFive = false;
  1042. }
  1043. } else if (
  1044. document.getElementById("actionBarItem6").style.display === "inline-block"
  1045. ) {
  1046. Padding4Nullz = "90px";
  1047. document.querySelector(".Nullz").style.padding = Padding4Nullz;
  1048. if (NullSix) {
  1049. Pop_up("Bat!");
  1050. NullSix = false;
  1051. }
  1052. } else if (
  1053. document.getElementById("actionBarItem7").style.display === "inline-block"
  1054. ) {
  1055. Padding4Nullz = "65px";
  1056. document.querySelector(".Nullz").style.padding = Padding4Nullz;
  1057. if (NullSeven) {
  1058. Pop_up("Daggers!");
  1059. NullSeven = false;
  1060. }
  1061. } else if (
  1062. document.getElementById("actionBarItem8").style.display === "inline-block"
  1063. ) {
  1064. Padding4Nullz = "60px";
  1065. document.querySelector(".Nullz").style.padding = Padding4Nullz;
  1066. if (NullEight) {
  1067. Pop_up("Stick");
  1068. NullEight = false;
  1069. }
  1070. }
  1071. }
  1072.  
  1073. let KillCount = 1;
  1074. document.getElementById("killCounter").addEventListener("DOMSubtreeModified", Update);
  1075. function Update() {
  1076. if (document.getElementById("killCounter").innerHTML == KillCount) {
  1077. Pop_up("Nice kill! You have " + KillCount + " Kills");
  1078. ++KillCount;
  1079. }
  1080. if (document.getElementById("foodDisplay").innerHTML < 150 ) {
  1081. document.getElementById("foodDisplay").innerHTML = document.getElementById("foodDisplay").innerHTML + ' <span style="color:red" class="material-icons Blinkz">warning</span>';
  1082. }
  1083. if (document.getElementById("woodDisplay").innerHTML < 150 ) {
  1084. document.getElementById("woodDisplay").innerHTML = document.getElementById("woodDisplay").innerHTML + ' <span style="color:red" class="material-icons Blinkz">warning</span>';
  1085. }
  1086. if (document.getElementById("stoneDisplay").innerHTML < 150 ) {
  1087. document.getElementById("stoneDisplay").innerHTML = document.getElementById("stoneDisplay").innerHTML + ' <span style="color:red" class="material-icons Blinkz">warning</span>';
  1088. }
  1089. };
  1090.  
  1091. function check5() {
  1092. var o = document.getElementById("mainMenu");
  1093. if (o.style.display === "block" && TankOn == false) {
  1094. TankOn = true;
  1095. }
  1096. if (o.style.display === "block" && MoveOn == false) {
  1097. MoveOn = true;
  1098. }
  1099. if (o.style.display === "block") {
  1100. document.getElementById("Pop-up").style.display = "none";
  1101. NullOne = true;
  1102. NullTwo = true;
  1103. NullThree = true;
  1104. NullFour = true;
  1105. NullFive = true;
  1106. NullSix = true;
  1107. NullSeven = true;
  1108. NullEight = true;
  1109. KillCount = 1;
  1110. }
  1111. if (o.style.display === "none") {
  1112. CheckDaCheckBoxen11();
  1113. }
  1114. }
  1115.  
  1116. function Check6() {
  1117. var checkbox = document.getElementById("CheckBoxen9");
  1118. if (checkbox.checked != true) {
  1119. document.getElementById("infoBox").style.display = "none";
  1120. key16 = NaN;
  1121. key84 = NaN;
  1122. key85 = NaN;
  1123. key32 = NaN;
  1124. key89 = NaN;
  1125. key73 = NaN;
  1126. key79 = NaN;
  1127. key80 = NaN;
  1128. key69 = NaN;
  1129. key1 = NaN;
  1130. key3 = NaN;
  1131. key70 = NaN;
  1132. key71 = NaN;
  1133. key192 = NaN;
  1134. key88 = NaN;
  1135. document.getElementById("actionBar").style.marginBottom = "0px";
  1136. document.getElementById("ageBarContainer").style.marginBottom = "0px";
  1137. document.getElementById("ageText").style.marginBottom = "0px";
  1138. } else {
  1139. document.getElementById("infoBox").style.display = "block";
  1140. key16 = 16;
  1141. key84 = 84;
  1142. key85 = 85;
  1143. key32 = 32;
  1144. key89 = 89;
  1145. key73 = 73;
  1146. key79 = 79;
  1147. key80 = 80;
  1148. key69 = 69;
  1149. key1 = 1;
  1150. key3 = 3;
  1151. key70 = 70;
  1152. key71 = 71;
  1153. key192 = 192;
  1154. key88 = 88;
  1155. document.getElementById("actionBar").style.marginBottom = "24px";
  1156. document.getElementById("ageBarContainer").style.marginBottom = "24px";
  1157. document.getElementById("ageText").style.marginBottom = "24px";
  1158. }
  1159. }
  1160.  
  1161. var HatOn = true;
  1162.  
  1163. function Toggle_Hat() {
  1164. HatOn ? Hat0n() : HatOff();
  1165. HatOn = !HatOn;
  1166. }
  1167.  
  1168. function Hat0n() {
  1169. Hat_Cycler = setInterval(function() {
  1170. Hat_Cycler_On();
  1171. }, 2700);
  1172. Pop_up("Hat Cycler: On");
  1173. }
  1174.  
  1175. function HatOff() {
  1176. Pop_up("Hat Cycler: Off");
  1177. clearInterval(Hat_Cycler);
  1178. }
  1179.  
  1180. function Hat_Cycler_On() {
  1181. setTimeout(() => {
  1182. buyAndEquip(Math.floor(Math.random() * 58) + 1);
  1183. }, switchTime);
  1184. }
  1185.  
  1186. setInterval(function() {
  1187. check();
  1188. check1();
  1189. check2();
  1190. check4();
  1191. check5();
  1192. document.getElementById("pre-content-container").style.display = "none";
  1193. }, 10);
  1194.  
  1195. var Test_If_Connected = window.setInterval(function() {
  1196. if (
  1197. document.getElementById("loadingText").innerHTML ==
  1198. 'disconnected<a href="javascript:window.location.href=window.location.href" class="ytLink">reload</a>'
  1199. ) {
  1200. document.title = "Reloading...";
  1201. window.location.href = window.location.href;
  1202. clearInterval(Test_If_Connected);
  1203. } else if (
  1204. document.getElementById("loadingText").innerHTML ==
  1205. 'Invalid Connection<a href="javascript:window.location.href=window.location.href" class="ytLink">reload</a>'
  1206. ) {
  1207. document.title = "Reloading...";
  1208. window.location.href = window.location.href;
  1209. clearInterval(Test_If_Connected);
  1210. }
  1211. }, 1000);
  1212. document.querySelector("#gameCanvas").addEventListener("mousemove", Null);
  1213.  
  1214. function Null() {
  1215. if (!MoveOn) {
  1216. return;
  1217. }
  1218. var Null = document.querySelectorAll(".Nullz");
  1219. var Null2 = document.querySelectorAll(".Nullz2");
  1220. Null2.forEach(function(Null2) {
  1221. let x = Null2.getBoundingClientRect().left + Null2.clientWidth / 2;
  1222. let y = Null2.getBoundingClientRect().top + Null2.clientHeight / 2;
  1223. let radian = Math.atan2(event.pageX - x, event.pageY - y);
  1224. let rot = radian * (180 / Math.PI) * -1 + 270;
  1225. Null.forEach(function(Null) {
  1226. Null.style.transform = "rotate(" + rot + "deg)";
  1227. });
  1228. });
  1229. }
  1230. var MoveOn = true;
  1231.  
  1232. function toggleMove() {
  1233. MoveOn = !MoveOn;
  1234. }
  1235. localStorage.moofoll = !0;
  1236.  
  1237. setTimeout(() => {
  1238. console.clear();
  1239. }, 50);
  1240. setTimeout(() => {
  1241. console.log(
  1242. "%cMatrix Mod%c By Dot",
  1243. "padding:3px 5px;background:#880808;color:white;border-radius:3px;font-size:1.07em;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto, Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-weight:500",
  1244. "font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto, Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-weight:500"
  1245. );
  1246. selectSkinColor(4);
  1247. }, 100);
  1248. setTimeout(() => {
  1249. Anamation();
  1250. document.querySelector("head").innerHTML += '<link rel="stylesheet" type="text/css" href="https://matrixmod.glitch.me/style.css">';
  1251. document.querySelector("#onetrust-consent-sdk").innerHTML += '<div id="Pop-up"></div><div class="Nullz2"></div><div class="Nullz"></div><center><div id="infoBox" class="infoBox"> Shift - Clear Hat | Tank Gear - Auto | Bull Helmet - Auto | T - Samurai Armor | Y - Booster | U - Soldier | I - Flipper | O - Bloodthirster | P - Winter Hat <br/> F - Assassin Gear | G - Emp Helmet | ~ - Hat Cycler </div></center><a onclick="ShowSettingsBoxen()" ><div id="SettingsTab" class="SettingsTab"><font-plus><span class="material-icons" style="color:#4c4c4c;">settings</span></font-plus></div></a><div id="HackTab" class="HackTab"> <a onclick="ShowHackBoxen()" ><img style="Width:25px;hieght:25px;padding:5px;" src="https://moomoo.io/img/favicon.png?v=1"/></a></div> <div id="OpenAndClose" class="OpenAndClose"> <a id="X" onclick="HideBoxen()"><font-plus><i class="material-icons" style="color:#4c4c4c;">keyboard_hide</i></font-plus></a ><a id="Check" onclick="ShowBoxen()" style="display: none;" ><font-plus><font-plus><i class="material-icons" style="color:#4c4c4c;">keyboard_alt</i></font-plus></a > <a id="S-X" onclick="HideSettingsBoxen()" style="display: none;" ><font-plus><i class="material-icons" style="color:#D2042D;">close</i></font-plus></a > <a id="Hack-X" onclick="HideHackBoxen()" style="display: none;" ><font-plus><i class="material-icons" style="color:red;">close</i></font-plus></a > </div><div class="HackBoxen" id="HackBoxen"> <text stye="Font-size:70px;font-weight:1000px;">Hacks:</text> <br/> <texte>Show Notifications</texte> <texte>Show ping</texte> <texte>Advanced map</texte> <texte>Hat Macro</texte> <texte>Hit Radius</texte> <texte>Anti Dark</texte> <br/> <br/> <texta> <input class="inputBoxen" type="checkbox" onclick="CheckDaCheckBoxen11()" id="CheckBoxen11" checked/> </texta> <texta> <input class="inputBoxen" type="checkbox" onclick="CheckDaCheckBoxen7()" id="CheckBoxen7" checked/> </texta> <texta> <input class="inputBoxen" type="checkbox" onclick="CheckDaCheckBoxen8()" id="CheckBoxen8" checked/> </texta> <texta> <input class="inputBoxen" type="checkbox" onclick="CheckDaCheckBoxen9()" id="CheckBoxen9" checked/> </texta ><texta> <input class="inputBoxen" type="checkbox" onclick="CheckDaCheckBoxen10()" id="CheckBoxen10" checked/> </texta> <texta> <input class="inputBoxen" type="checkbox" onclick="CheckDaCheckBoxen12()" id="CheckBoxen12"/> </texta> </div><div class="SettingsBoxen" id="SettingsBoxen"> <text stye="Font-size:70px;font-weight:1000px;" >Keyboard Background Colors:</text > <br/> <a onclick="rrrr()"> <textz>Red</textz> </a> <a onclick="oooo()"> <textz>Orange</textz> </a> <a onclick="yyyy()"> <textz>Yellow</textz> </a> <a onclick="gggg()"> <textz>Green</textz> </a> <a onclick="bbbb()"> <textz>Blue</textz> </a> <a onclick="pppp()"> <textz>Purple</textz> </a> <a onclick="pppp2()"> <textz>Pink</textz> </a> <a onclick="wwww()"> <textz>White</textz> </a> <a onclick="bbbb2()"> <textz>Black</textz> </a> <a onclick="lblb()"> <textz>sky blue</textz> </a> <text stye="Font-size:70px;font-weight:1000px;">Keyboard Font Colors:</text> <br/> <a onclick="trrrr()"> <textz>Red</textz> </a> <a onclick="toooo()"> <textz>Orange</textz> </a> <a onclick="tyyyy()"> <textz>Yellow</textz> </a> <a onclick="tgggg()"> <textz>Green</textz> </a> <a onclick="tbbbb()"> <textz>Blue</textz> </a> <a onclick="tpppp()"> <textz>Purple</textz> </a> <a onclick="tpppp2()"> <textz>Pink</textz> </a> <a onclick="twwww()"> <textz>White</textz> </a> <a onclick="tbbbb2()"> <textz>Black</textz> </a> <a onclick="tlblb()"> <textz>sky blue</textz> </a> <text stye="Font-size:70px;font-weight:1000px;">Texture Packs:</text> <br/> <a onclick="rHax()"> <textz>Red</textz> </a> <a onclick="oHax()"> <textz>Orange</textz> </a> <a onclick="yHax()"> <textz>Yellow</textz> </a> <a onclick="gHax()"> <textz>Green</textz> </a> <a onclick="bHax()"> <textz>Blue</textz> </a> <a onclick="pHax()"> <textz>Purple</textz> </a> <a onclick="pHax2()"> <textz>pink</textz> </a> <a onclick="wHax()"> <textz>White</textz> </a> <a onclick="bHax2()"> <textz>Black</textz> </a> <a onclick="lbHax()"> <textz>Sky Blue</textz> </a> <text stye="Font-size:70px;font-weight:1000px;">Cursors:</text><br/><a onclick="cursor1()" > <textz>Default</textz> </a ><a onclick="cursor2()"> <textz ><img src="https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor.ico?v=1630075321624"/></textz> </a ><a onclick="cursor3()"> <textz ><img src="https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor2.ico?v=1630075884214"/></textz> </a ><a onclick="cursor4()"> <textz ><img src="https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor3.ico?v=1630079130625"/></textz> </a ><a onclick="cursor5()"> <textz ><img src="https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor4.ico?v=1630078890106"/></textz> </a ><a onclick="cursor6()"> <textz ><img src="https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor5.ico?v=1630190211146"/></textz> </a> <a onclick="cursor7()"> <textz ><img src="https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor6.ico"/></textz> </a ><a onclick="cursor9()"> <textz ><img src="https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor8.ico"/></textz> </a ><a onclick="cursor10()"> <textz ><img src="https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor9.ico"/></textz> </a><a onclick="cursor11()"> <textz ><img src="https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor10.png"/></textz> </a ><a onclick="cursor8()"> <textz ><img src="https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor7.png"/></textz> </a ><a onclick="cursor12()"> <textz ><img src="https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor12.png"/></textz> </a ><a onclick="cursor13()"> <textz ><img src="https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor13.png"/></textz> </a ><a onclick="cursor14()"> <textz ><img src="https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor14.png"/></textz> </a ><a onclick="cursor15()"> <textz ><img src="https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b%2Fcursor15.png"/></textz> </a><text stye="Font-size:70px;font-weight:1000px;">Filters:</text> <br/> <texte>Dark</texte> <texte>inverted</texte> <texte>Hue</texte> <texte>sepia</texte> <texte>saturated</texte> <texte>Blury</texte> <texta style="border-radius:0 0 0 8px;"> <input class="inputBoxen" type="checkbox" onclick="CheckDaCheckBoxen1()" id="CheckBoxen1"/> </texta> <texta> <input class="inputBoxen" type="checkbox" onclick="CheckDaCheckBoxen2()" id="CheckBoxen2"/> </texta> <texta> <input class="inputBoxen" type="checkbox" onclick="CheckDaCheckBoxen3()" id="CheckBoxen3"/> </texta> <texta> <input class="inputBoxen" type="checkbox" onclick="CheckDaCheckBoxen4()" id="CheckBoxen4"/> </texta> <texta> <input class="inputBoxen" type="checkbox" onclick="CheckDaCheckBoxen5()" id="CheckBoxen5"/> </texta> <texta style="border-radius:0 0 8px 0;"> <input class="inputBoxen" type="checkbox" onclick="CheckDaCheckBoxen6()" id="CheckBoxen6"/> </texta> <br/></div><div id="Boxen" class="Boxen"> <textz class="text" style="border-radius:8px 0 0 0;" id="1">1</textz> <textz id="2">2</textz> <textz id="3">3</textz> <textz id="4">4</textz> <textz id="5">5</textz> <textz id="6">6</textz> <textz id="7">7</textz> <textz id="8">8</textz> <textz id="9">9</textz> <textz id="Q">Q</textz> <textz id="e">E</textz> <textz id="x">X</textz> <textz id="r">R</textz> <textz id="c">C</textz> <textz id="entr" style="width:80px">Enter</textz> <textz id="esc" style="width:80px">ESC</textz> <textz style="background:transparent;"></textz> <textz style="background:transparent;"></textz> <textz id="w">W</textz> <textz style="background:transparent;"></textz> <textz style="background:transparent;"></textz> <textz style="background:transparent;"></textz> <textz style="background:transparent;"></textz> <textz style="background:transparent;"></textz> <textz style="background:transparent;"></textz> <textz style="background:transparent;"></textz> <textz id="a">A</textz> <textz id="s">S</textz> <textz id="d">D</textz> <textz style="background:transparent;"></textz> <textz style="background:transparent;"></textz> <textz id="l-c">L-C</textz> <textz id="r-c">R-C</textz> <textz style="background:transparent;"></textz> <textz id="space" style="border-radius:0px 0px 8px 8px;width:97%;" >Space</textz ></div>';
  1252. document.getElementById("Check").style.display = "none";
  1253. document.getElementById("SettingsBoxen").style.marginLeft = "-407px";
  1254. document.getElementById("S-X").style.display = "none";
  1255. document.getElementById("HackBoxen").style.marginLeft = "-407px";
  1256. document.getElementById("Hack-X").style.display = "none";
  1257. document.getElementById("ot-sdk-btn-floating").style.display = "none";
  1258. document.getElementById("youtuberOf").style.display = "none";
  1259. document.getElementById("actionBar").style.marginBottom = "24px";
  1260. document.getElementById("ageBarContainer").style.marginBottom = "24px";
  1261. document.getElementById("ageText").style.marginBottom = "24px";
  1262. document.getElementById("gameName").style.color = "red";
  1263. let adCardOldContents = (document.getElementById("adCard").style.display =
  1264. "none");
  1265. document.getElementById("adCard").style.display = "none";
  1266. document.getElementById("adCard").dataset.oldContents = adCardOldContents;
  1267. document.getElementsByClassName("menuCard")[5].style.display = "none";
  1268. let promoImgHolderOldContents = (document.getElementById(
  1269. "promoImgHolder"
  1270. ).style.display = "one");
  1271. document.getElementById("promoImgHolder").style.display = "none";
  1272. document.getElementById(
  1273. "promoImgHolder"
  1274. ).dataset.oldContents = promoImgHolderOldContents;
  1275. document.getElementById("linksContainer2").innerHTML = "~Legion";
  1276. document.getElementById("linksContainer2").style.padding = "5px";
  1277. document.getElementById("linksContainer2").style.color = "red";
  1278. document.getElementById("linksContainer2").style.background = "black";
  1279. document.querySelector(".Nullz").style.padding = Padding4Nullz;
  1280. document.getElementById("Pop-up").style.marginTop = "-110px";
  1281. document.getElementById("Pop-up").style.display = "block";
  1282. document.getElementById("itemInfoHolder").style.visibility = "hidden";
  1283. }, 10000)
  1284. `;