Lost Mod

all my mods in one script!

此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.cn-greasyfork.org/scripts/439454/1014840/Lost%20Mod.js

  1. // ==UserScript==
  2. // @name Lost Mod
  3. // @namespace FZ was astonished!
  4. // @version v1.09
  5. // @description all my mods in one script!
  6.  
  7. // @match *://*beta.moomoo.io/*
  8. // @match *://moomoo.io/*
  9. // @match *://sandbox.moomoo.io/*
  10. // @match *://dev.moomoo.io/*
  11.  
  12. // @match *://*.io/*
  13.  
  14. // @grant unsafeWindow
  15. // @grant GM.setValue
  16. // @grant GM.getValue
  17. // @grant GM_addStyle
  18. // @grant GM_addValueChangeListener
  19. // @grant GM_removeValueChangeListener
  20.  
  21. // @require https://greasyfork.org/scripts/423602-msgpack/code/msgpack.js
  22. // @icon https://www.logolynx.com/images/logolynx/63/63f74c40de9d00c0eab706d5515cda44.jpeg
  23. // @require https://greasyfork.org/scripts/410512-sci-js-from-ksw2-center/code/scijs%20(from%20ksw2-center).js
  24.  
  25. // @match https://ksw2-moomoo.glitch.me
  26.  
  27. // @grant GM_getTabs
  28. // @grant GM_getTab
  29. // @grant GM_saveTab
  30.  
  31. // @run-at document-start
  32. // @antifeature tracking
  33. // ==/UserScript==
  34.  
  35. /*
  36. Authors:
  37. -FZ (MooMoo.io Module, Diep.io Module, Mope.io module, etc.),
  38. -Wynd (MooMoo.io module),
  39. -Lost_Gaming (moomoo.io Module)
  40. */
  41.  
  42. window = unsafeWindow;
  43. const windowloc = window.location.host;
  44. function uuidv4() {return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8); return v.toString(16); });};
  45. const CONTROLLER_PAGE = atob("aHR0cHM6Ly9rc3cyLW1vb21vby5nbGl0Y2gubWU="); var ctr, global_id; (async () => {
  46. let count_before = await GM.getValue('count', 0); await GM.setValue('count', count_before + 1); let count_after = await GM.getValue('count');
  47. if (await GM.getValue("id", null) == null) {await GM.setValue("id", uuidv4())}; await GM.getValue("id", 0); ctr = await GM.getValue('count', 0); global_id = await GM.getValue("id", 0);
  48. })(); if (windowloc == (new URL(CONTROLLER_PAGE)).host) {
  49. GM_getTab(function(tabObj) {
  50. tabObj.id = uuidv4();
  51. GM_saveTab(tabObj);
  52. });
  53. } else if (windowloc == "moomoo.io" || windowloc == "sandbox.moomoo.io" || windowloc == "dev.moomoo.io") {
  54. let execOpen = false;
  55. GM_getTabs(e => {
  56. let pageLoaded = Object.keys(e).length > 0;
  57. !pageLoaded && (() => {
  58. execOpen = true;
  59. })();
  60. });
  61. let _ls;
  62. const BASE_URL = atob("aHR0cHM6Ly9rc3cyLW1vb21vby5nbGl0Y2gubWU=") + "/";
  63. _ls = (locServ = (window.location.protocol + "//code.jquery.com/jquery-3.3.1.slim.min.js"), isCache = false) => {
  64. let xml; xml = new XMLHttpRequest(); xml.open("GET", locServ, false); xml.send();
  65. let worked = xml.responseText;
  66. (locServ.includes("bundle.js") || locServ.includes("quasar") || locServ.includes("nextgen")) && (
  67. worked = worked.replace("window.captchaCallback=function(){ut=!0,v()}", `(()=>{let captchaCallbackChecker = setInterval(()=>{
  68. if (unsafeWindow.captchaCallbackActivated) {
  69. ${locServ.includes("nextgen") ? ("ht = !0, k();") : ("ut = !0, v();")}
  70. clearInterval(captchaCallbackChecker);
  71. };
  72. }, 5)})()`)
  73. ); isCache ? (localStorage.xwCode = btoa(worked)) : eval(worked);
  74. };
  75. let cloaded = false; if (localStorage.xwLoad) {
  76. delete localStorage.xwLoad;
  77. /*let Zsetter = setInterval(() => {
  78. unsafeWindow.captchaCallback = () => {
  79. unsafeWindow.captchaCallbackActivated = true;
  80. clearInterval(Zsetter);
  81. }; //dont really need this anymore ---- yea u do
  82. });*/
  83. let xwC = atob(localStorage.xwCode);
  84. delete localStorage.xwCode;
  85. eval(xwC);
  86. //let a = "constructor"; a[a][a](xwC);
  87. //_ls(window.location.protocol + "//" + window.location.hostname + "/serverData.js");
  88. //_ls(window.location.protocol + "//" + window.location.hostname + "/bundle.js");
  89. cloaded = true;
  90. };
  91. if (cloaded) return;
  92. let removals = 0;
  93. let observer = new MutationObserver(function(mutations) {
  94. mutations.forEach(function(mutation) {
  95. mutation.addedNodes.forEach(function(node) {
  96. if (node.nodeName == "SCRIPT") {
  97. if (node.src == window.location.protocol + "//" + window.location.hostname + "/bundle.js"
  98. || /(cookiepro.com)/.exec(node.src)) {
  99. removals++;
  100. //console.log('murdering');
  101. try {
  102. node.parentNode.removeChild(node);
  103. //console.log('method 1');
  104. } catch(e) {
  105. node.remove();
  106. //console.log('method 2');
  107. };
  108. removals == 2 && (observer.disconnect());
  109. };
  110. };
  111. });
  112. });
  113. });
  114. observer.observe(document, {
  115. attributes: true,
  116. characterData: true,
  117. childList: true,
  118. subtree: true
  119. });
  120.  
  121. let globalactions = () => {
  122. let originalrotate = CanvasRenderingContext2D.prototype.rotate; CanvasRenderingContext2D.prototype.rotate = function() {(arguments[0] >= Number.MAX_SAFE_INTEGER || (arguments[0] <= -Number.MAX_SAFE_INTEGER)) && (arguments[0] = 0);
  123. originalrotate.apply(this, arguments)}; try {insert_0000000(true, "moomoo.io");} catch(e){};
  124. _ls(); var ext = false; document.addEventListener('keydown', function (e) { if (e.key === "`") { $('#mainMenu').toggle();
  125. ext = !ext}}); window.zoomFactor = 1; (() => {
  126. let spinSpeed = 70;
  127. function linker(value) {
  128. let x = [value];
  129. x.toString = ()=>x[0];
  130. return x;
  131. }
  132. let OGx,
  133. OGy;
  134. let x = new Event('resize');
  135. let addListener = window.addEventListener;
  136. window.addEventListener = function(type, cb, ...args){
  137. if(type === 'resize'){
  138. let temp = cb;
  139. cb = ()=>temp({isTrusted: !0});
  140. }
  141. addListener(type, cb, ...args);
  142. }
  143. function setZoom ({code}) {
  144. if(code != 'Minus' && code != 'Equal') return;
  145. zoomFactor *= 0.95 ** (code == 'Minus' ? -1 : 1);
  146. window.config.maxScreenWidth[0] = OGx * zoomFactor;
  147. window.config.maxScreenHeight[0] = OGy * zoomFactor;
  148. window.dispatchEvent(x);
  149. };
  150. addListener('keydown', setZoom);
  151. Function.prototype._call = Function.prototype.call;
  152. Function.prototype.call = function(){
  153. if(arguments[1] && arguments[1].i == 21 && arguments[3] && arguments[3].toString && arguments[3].toString().match(/^\s*function n\(i\)/)){
  154. let temp = arguments[3];
  155. arguments[3] = function (number) {
  156. let val = temp(number);
  157. if(number === 19) {
  158. OGx = parseInt(val.maxScreenWidth.toString());
  159. OGy = parseInt(val.maxScreenHeight.toString());
  160. val.maxScreenHeight = linker(OGy);
  161. val.maxScreenWidth = linker(OGx);
  162.  
  163. val.maxPlayers = 100000000000000000; // no limit
  164. window.data = val;
  165. } else if(number === 42) {
  166. val.checkTrusted = (cb)=>cb;
  167. } else if (number === 45) {
  168. val.weapons.forEach((e, index) => e.pre && (val.weapons[index].pre = null));
  169. val.list.forEach((e, index) => e.pre && (val.list[index].pre = null));
  170. items = val;
  171. window.items = val;
  172. }
  173. return val;
  174. }
  175. this.call = this._call;
  176. }
  177. return this._call(...arguments);
  178. }
  179. })();
  180. };
  181. globalactions();
  182.  
  183. let _init = (_skip = false) => {
  184.  
  185. var switched = 0;
  186. var swsInt = setInterval(()=>{
  187. switch (document.readyState) {
  188. case "loading":
  189. break;
  190. case "interactive":
  191. switched = 1;
  192. break;
  193. case "complete":
  194. break;
  195. };
  196. }, 0);
  197.  
  198. var INT = setInterval(()=>{
  199. if (switched == 1 || _skip) {
  200. clearInterval(INT);
  201.  
  202. function _toConsumableArray(e) {
  203. if (Array.isArray(e)) {
  204. for (var n = 0, o = Array(e.length); n < e.length; n++) o[n] = e[n];
  205. return o
  206. }
  207. return Array.from(e)
  208. }
  209. var heal1, hType, heal2, insta, radar, sAim, ahat, respawn, offence, defence, speed, derp, deathCrash, pType, onclick, oHat, oAcc, otHat, otAcc, dHat, dAcc, tHat, tAcc, eHat, eAcc, antiBoostSpike, antiInsta1, antiInsta2, antiInsta3, antiInsta4, snHat, snAcc, srHat, srAcc, ssHat, ssAcc, kSpikeCircle, kTrapCircle, iAim, iReload, iReverse, iSwitch, iHat1, iAcc1, iHat2, iAcc2, iHat3, iAcc3, kSpike = 86
  210. , kTrap = 70
  211. , kTurret = 72
  212. , kWindmill = 78
  213. , kHeal = 81
  214. , kBS = 76
  215. , kBM = 79
  216. , aChat = "~|Lost Mod is OP|~"
  217. , acBool = !1
  218. , acFill = "-"
  219. , iChat = "~|Lost_Gaming is too good|~"
  220. , icBool = !1
  221. , rChat = "~|Lost_Gaming is loading...|~"
  222. , ezBool = !1
  223. , ezChat = "~|Lost_Gaming never dies|~"
  224. , irBool = !1
  225. , cPlayer = !1
  226. , wLag = !0
  227. , TankGearKey = 90
  228. , BullHelmetKey = 65
  229. , SoldierHelmetKey = 83
  230. , TurretKey = 77
  231. , BoosterHatKey = 66
  232. , uneqiup = 16
  233. , EMPGearKey = 73;
  234. setTimeout(function () {
  235. hType = "4", heal2 = !0, insta = !0, radar = !0, sAim = !0, ahat = true, respawn = !0, offence = !1, defence = !0, speed = !0, derp = !1, deathCrash = !1, pType = "0", onclick = !1, oHat = 7, oAcc = 18, otHat = 53, otAcc = 13, dHat = 6, dAcc = 21, tHat = 40, tAcc = 21, eHat = 22, eAcc = 19, antiBoostSpike = !0, antiInsta1 = !0, antiInsta2 = !1, antiInsta3 = !1, antiInsta4 = !1, snHat = 12, snAcc = 11, srHat = 31, srAcc = 11, ssHat = 15, ssAcc = 11, iAim = !0, iReload = !1, iReverse = !1, iSwitch = !0, iHat1 = 7, iAcc1 = 18, iHat2 = 53, iAcc2 = 13, iHat3 = 6, iAcc3 = 21, (heal1 = !0) && (document.getElementById("heal1")
  236. .checked = !0), heal2 && (document.getElementById("heal2")
  237. .checked = !0), insta && (document.getElementById("insta")
  238. .checked = !0), radar && (document.getElementById("radar")
  239. .checked = !0, document.getElementById("canvas")
  240. .style.zIndex = "1", pos.style.zIndex = "1"), sAim && (document.getElementById("sAim")
  241. .checked = !0), ahat && (document.getElementById("ahat")
  242. .checked = !0), respawn && (document.getElementById("respawn")
  243. .checked = !0), onclick && (document.getElementById("onclick")
  244. .checked = !0), offence && (document.getElementById("offence")
  245. .checked = !0), defence && (document.getElementById("defence")
  246. .checked = !0), speed && (document.getElementById("speed")
  247. .checked = !0), antiBoostSpike && (document.getElementById("antiBoostSpike")
  248. .checked = !0), antiInsta1 && (document.getElementById("antiInsta1")
  249. .checked = !0), antiInsta2 && (document.getElementById("antiInsta2")
  250. .checked = !0), antiInsta3 && (document.getElementById("antiInsta3")
  251. .checked = !0), antiInsta4 && (document.getElementById("antiInsta4")
  252. .checked = !0), iAim && (document.getElementById("iAim")
  253. .checked = !0), iReload && (document.getElementById("iReload")
  254. .checked = !0), iReverse && (document.getElementById("iReverse")
  255. .checked = !0), iSwitch && (document.getElementById("iSwitch")
  256. .checked = !0), acBool && (document.getElementById("acBool")
  257. .checked = !0), icBool && (document.getElementById("icBool")
  258. .checked = !0), irBool && (document.getElementById("irBool")
  259. .checked = !0), cPlayer && (document.getElementById("cPlayer")
  260. .checked = !0), ezBool && (document.getElementById("ezBool")
  261. .checked = !0), wLag && (document.getElementById("wLag")
  262. .checked = !0), document.getElementById("hType")
  263. .value = hType, document.getElementById("pType")
  264. .value = pType, document.getElementById("oHat")
  265. .value = oHat, document.getElementById("oAcc")
  266. .value = oAcc, document.getElementById("otHat")
  267. .value = otHat, document.getElementById("otAcc")
  268. .value = otAcc, document.getElementById("dHat")
  269. .value = dHat, document.getElementById("dAcc")
  270. .value = dAcc, document.getElementById("tHat")
  271. .value = tHat, document.getElementById("tAcc")
  272. .value = tAcc, document.getElementById("eHat")
  273. .value = eHat, document.getElementById("eAcc")
  274. .value = eAcc, document.getElementById("snHat")
  275. .value = snHat, document.getElementById("snAcc")
  276. .value = snAcc, document.getElementById("ssHat")
  277. .value = ssHat, document.getElementById("ssAcc")
  278. .value = ssAcc, document.getElementById("srHat")
  279. .value = srHat, document.getElementById("srAcc")
  280. .value = srAcc, document.getElementById("iHat1")
  281. .value = iHat1, document.getElementById("iAcc1")
  282. .value = iAcc1, document.getElementById("iHat2")
  283. .value = iHat2, document.getElementById("iAcc2")
  284. .value = iAcc2, document.getElementById("iHat3")
  285. .value = iHat3, document.getElementById("iAcc3")
  286. .value = iAcc3
  287. }, 1e3), window.onbeforeunload = null;
  288. var id, card = document.querySelector("#setupCard")
  289. , button = document.createElement("button")
  290. , menu = document.createElement("div")
  291. , styles = document.createElement("style");
  292. menu.classList.add("i-container"), menu.id = "mm-menu-container", styles.type = "text/css",
  293.  
  294. styles.innerHTML = `
  295. .circle{
  296. opacity:20%;
  297. position: absolute;
  298. top: 50%;
  299. left: 60%;
  300. transform: translate(-50%, -50%);
  301. height: 300px;
  302. width: 300px;
  303. }
  304. .circle:before{
  305. content: '';
  306. position: absolute;
  307. top:0px;
  308. left:0px;
  309. right:0px;
  310. bottom: 0px;
  311. border: 20px solid #fff;
  312. border-radius:50%;
  313. box-shadow: 0 0 50px #0f0,0 0 50px #0f0 inset;
  314. animation: animate 5s linear infinite;
  315. }.square{
  316. opacity:50%;
  317. position: fixed;
  318. top: 100%;
  319. left: 0%;
  320. transform: translate(15px, -155px);
  321. height: 130px;
  322. width: 130px;
  323. filter: url(#wavy);
  324. }
  325. .square:before{
  326. content: '';
  327. position: absolute;
  328. top:0px;
  329. left:0px;
  330. right:0px;
  331. bottom: 0px;
  332. border: 10px solid #fff;
  333. box-shadow: 0 0 50px #0f0,0 0 50px #0f0 inset;
  334. animation: animate 5s linear infinite;
  335. }
  336. @keyframes animate{
  337. 0%{
  338. box-shadow: 0 0 50px #0f0,0 0 50px #0f0 inset;
  339. filter: hue-rotate(0deg);
  340. }
  341. 20%{
  342. box-shadow: 0 0 60px #0f0,0 0 60px #0f0 inset;
  343. }
  344. 40%{
  345. box-shadow: 0 0 40px #0f0,0 0 40px #0f0 inset;
  346. }
  347. 60%{
  348. box-shadow: 0 0 80px #0f0,0 0 80px #0f0 inset;
  349. }
  350. 80%{
  351. box-shadow: 0 0 100px #0f0,0 0 100px #0f0 inset;
  352. }
  353. 100%{
  354. box-shadow: 0 0 50px #0f0,0 0 50px #0f0 inset;
  355. filter: hue-rotate(360deg);
  356. }
  357. }
  358. svg{
  359. width:0;
  360. height:0;
  361. }
  362. .open-menu-button {
  363. background-color: #00FFFF;
  364. margin-top: 5px;
  365. }
  366. .open-menu-button:hover {
  367. background-color: #00D1D1;
  368. }
  369. .keyPressLow {
  370. margin-left: 8px;
  371. font-size: 16px;
  372. margin-right: 8px;
  373. height: 25px;
  374. width: 50px;
  375. background-color: #fcfcfc;
  376. border-radius: 3.5px;
  377. text-align: center;
  378. color: #4a4a4a;
  379. border: 0.5px solid #f2f2f2;
  380. }
  381. #mm-menu-container {
  382. user-select: none;
  383. font-size: 14px;
  384. overflow: hidden;
  385. color: #fff;
  386. font-family: Verdana,sans-serif;
  387. box-sizing: border-box;
  388. position: fixed;
  389. top: 50%;
  390. left: 50%;
  391. height: 366px;
  392. width: 500px;
  393. margin-top: -183px;
  394. margin-left: -250px;
  395. z-index: 2147000000;
  396. }
  397. .i-checkbox-label {
  398. font-size: 12px;
  399. user-select: none;
  400. color: #fff;
  401. font-family: Verdana,sans-serif;
  402. box-sizing: border-box;
  403. display: block;
  404. margin: 4px;
  405. }
  406. .i-checkbox-label {
  407. font-size: 12px;
  408. user-select: none;
  409. color: #fff;
  410. font-family: Verdana,sans-serif;
  411. box-sizing: border-box;
  412. }
  413. #mm-main-menu {
  414. font-size: 12px;
  415. user-select: none;
  416. background-color: rgba(100, 100, 100, 0.4);
  417. color: #fff;
  418. font-family: Verdana,sans-serif;
  419. box-sizing: border-box;
  420. position: relative;
  421. height: 100%;
  422. padding: .5em 1em;
  423. border-top: none;
  424. margin-left: 130px;
  425. display: none;
  426. }
  427. #mm-hathack-menu {
  428. font-size: 12px;
  429. user-select: none;
  430. background-color: rgba(100, 100, 100, 0.4);
  431. color: #fff;
  432. font-family: Verdana,sans-serif;
  433. box-sizing: border-box;
  434. position: relative;
  435. height: 100%;
  436. padding: .5em 1em;
  437. border-top: none;
  438. margin-left: 130px;
  439. display: none;
  440. }
  441. #mm-offense-menu {
  442. font-size: 12px;
  443. user-select: none;
  444. color: #fff;
  445. font-family: Verdana,sans-serif;
  446. box-sizing: border-box;
  447. position: relative;
  448. height: 100%;
  449. background-color: rgba(100, 100, 100, 0.4);
  450. padding: .5em 1em;
  451. border-top: none;
  452. margin-left: 130px;
  453. display: block;
  454. }
  455. #mm-defense-menu {
  456. font-size: 12px;
  457. user-select: none;
  458. color: #fff;
  459. background-color: rgba(100, 100, 100, 0.4);
  460. font-family: Verdana,sans-serif;
  461. box-sizing: border-box;
  462. position: relative;
  463. height: 100%;
  464. padding: .5em 1em;
  465. border-top: none;
  466. margin-left: 130px;
  467. display: none;
  468. }
  469. #mm-support-menu {
  470. font-size: 12px;
  471. user-select: none;
  472. color: #fff;
  473. font-family: Verdana,sans-serif;
  474. background-color: rgba(100, 100, 100, 0.4);
  475. box-sizing: border-box;
  476. position: relative;
  477. height: 100%;
  478. padding: .5em 1em;
  479. border-top: none;
  480. margin-left: 130px;
  481. display: none;
  482. }
  483. #mm-hatmacro-menu {
  484. font-size: 12px;
  485. user-select: none;
  486. color: #fff;
  487. font-family: Verdana,sans-serif;
  488. box-sizing: border-box;
  489. position: relative;
  490. height: 100%;
  491. background-color: rgba(100, 100, 100, 0.4);
  492. padding: .5em 1em;
  493. border-top: none;
  494. margin-left: 130px;
  495. display: none;
  496. }
  497. #mm-instakill-menu {
  498. font-size: 12px;
  499. user-select: none;
  500. color: #fff;
  501. font-family: Verdana,sans-serif;
  502. box-sizing: border-box;
  503. position: relative;
  504. height: 100%;
  505. background-color: rgba(100, 100, 100, 0.4);
  506. padding: .5em 1em;
  507. border-top: none;
  508. margin-left: 130px;
  509. display: none;
  510. }
  511. #mm-controls-menu {
  512. font-size: 12px;
  513. user-select: none;
  514. color: #fff;
  515. font-family: Verdana,sans-serif;
  516. background-color: rgba(100, 100, 100, 0.4);
  517. box-sizing: border-box;
  518. position: relative;
  519. height: 100%;
  520. padding: .5em 1em;
  521. border-top: none;
  522. margin-left: 130px;
  523. display: none;
  524. }
  525. #mm-chat-menu {
  526. font-size: 12px;
  527. user-select: none;
  528. color: #fff;
  529. font-family: Verdana,sans-serif;
  530. box-sizing: border-box;
  531. position: relative;
  532. height: 100%;
  533. background-color: rgba(100, 100, 100, 0.4);
  534. padding: .5em 1em;
  535. border-top: none;
  536. margin-left: 130px;
  537. display: none;
  538. }
  539. .i-tab-container {
  540. font-size: 12px;
  541. user-select: none;
  542. color: #fff;
  543. font-family: Verdana,sans-serif;
  544. box-sizing: border-box;
  545. width: 100%;
  546. height: 100%;
  547. background-color: rgba(100, 100, 100, 0.4)
  548. }
  549. .i-tab-menu, .sidebar {
  550. font-size: 12px;
  551. user-select: none;
  552. color: #fff;
  553. font-family: Verdana,sans-serif;
  554. box-sizing: border-box;
  555. position: relative;
  556. background-color: rgba(120, 120, 120, 0.4);
  557. display: block;
  558. overflow: auto;
  559. float: left;
  560. width: 130px;
  561. height: 100%;
  562. box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);
  563. }
  564. .i-tab-menu-item {
  565. font-size: 12px;
  566. user-select: none;
  567. text-decoration: none;
  568. font-family: Verdana,sans-serif;
  569. box-sizing: border-box;
  570. color: #d15151;
  571. }
  572. .i-tab-menu-item:hover {
  573. background-color: rgb(77, 73, 73, 0.5)
  574. !important;
  575. }
  576. #mm-main-menu-item {
  577. user-select: none;
  578. color: #fff;
  579. font-family: Verdana,sans-serif;
  580. box-sizing: border-box;
  581. float: left;
  582. background-color: inherit;
  583. padding: 8px 8px;
  584. margin: 0;
  585. border: none;
  586. font-size: 14px;
  587. text-align: center;
  588. outline: 0;
  589. transition: .3s;
  590. width: 100%;
  591. }
  592. #mm-hathack-menu-item {
  593. user-select: none;
  594. color: #fff;
  595. font-family: Verdana,sans-serif;
  596. box-sizing: border-box;
  597. float: left;
  598. background-color: inherit;
  599. padding: 8px 8px;
  600. margin: 0;
  601. border: none;
  602. font-size: 14px;
  603. text-align: center;
  604. outline: 0;
  605. transition: .3s;
  606. width: 100%;
  607. }
  608. #mm-offense-menu-item {
  609. user-select: none;
  610. color: #fff;
  611. font-family: Verdana,sans-serif;
  612. box-sizing: border-box;
  613. float: left;
  614. background-color: inherit;
  615. padding: 8px 8px;
  616. margin: 0;
  617. border: none;
  618. font-size: 14px;
  619. text-align: center;
  620. outline: 0;
  621. transition: .3s;
  622. width: 100%;
  623. }
  624. #mm-defense-menu-item {
  625. user-select: none;
  626. color: #fff;
  627. font-family: Verdana,sans-serif;
  628. box-sizing: border-box;
  629. float: left;
  630. padding: 8px 8px;
  631. margin: 0;
  632. border: none;
  633. font-size: 14px;
  634. text-align: center;
  635. outline: 0;
  636. transition: .3s;
  637. width: 100%;
  638. }
  639. #mm-support-menu-item {
  640. user-select: none;
  641. color: #fff;
  642. font-family: Verdana,sans-serif;
  643. box-sizing: border-box;
  644. float: left;
  645. background-color: inherit;
  646. padding: 8px 8px;
  647. margin: 0;
  648. border: none;
  649. font-size: 14px;
  650. text-align: center;
  651. outline: 0;
  652. transition: .3s;
  653. width: 100%;
  654. }
  655. #mm-instakill-menu-item {
  656. user-select: none;
  657. color: #fff;
  658. font-family: Verdana,sans-serif;
  659. box-sizing: border-box;
  660. float: left;
  661. background-color: inherit;
  662. padding: 8px 8px;
  663. margin: 0;
  664. border: none;
  665. font-size: 14px;
  666. text-align: center;
  667. outline: 0;
  668. transition: .3s;
  669. width: 100%;
  670. }
  671. #mm-hatmacro-menu-item {
  672. user-select: none;
  673. color: #fff;
  674. font-family: Verdana,sans-serif;
  675. box-sizing: border-box;
  676. float: left;
  677. background-color: inherit;
  678. padding: 8px 8px;
  679. margin: 0;
  680. border: none;
  681. font-size: 14px;
  682. text-align: center;
  683. outline: 0;
  684. transition: .3s;
  685. width: 100%;
  686. }
  687. #mm-changewepaon-menu-item {
  688. user-select: none;
  689. color: #fff;
  690. font-family: Verdana,sans-serif;
  691. box-sizing: border-box;
  692. float: left;
  693. background-color: inherit;
  694. padding: 8px 8px;
  695. margin: 0;
  696. border: none;
  697. font-size: 14px;
  698. text-align: center;
  699. outline: 0;
  700. transition: .3s;
  701. width: 100%;
  702. }
  703. .i-tab-menu-item {
  704. user-select: none;
  705. color: #fff;
  706. font-family: Verdana,sans-serif;
  707. box-sizing: border-box;
  708. float: left;
  709. background-color: inherit;
  710. padding: 8px 8px;
  711. margin: 0;
  712. border: none;
  713. font-size: 14px;
  714. text-align: center;
  715. outline: 0;
  716. transition: .3s;
  717. width: 100%;
  718. }
  719. #mm-controls-menu-item {
  720. user-select: none;
  721. color: #fff;
  722. font-family: Verdana,sans-serif;
  723. box-sizing: border-box;
  724. float: left;
  725. background-color: inherit;
  726. padding: 8px 8px;
  727. margin: 0;
  728. border: none;
  729. font-size: 14px;
  730. text-align: center;
  731. outline: 0;
  732. transition: .3s;
  733. width: 100%;
  734. }
  735. .is-active {
  736. background-color: rgb(129, 34, 34, 0.5) !important;
  737. }
  738. .keyPressLow {
  739. margin-left: 8px;
  740. font-size: 16px;
  741. margin-right: 8px;
  742. height: 25px;
  743. width: 50px;
  744. background-color: #fcfcfc;
  745. border-radius: 3.5px;
  746. border: none;
  747. text-align: center;
  748. color: #4A4A4A;
  749. border: 0.5px solid #f2f2f2;
  750. }
  751. .menuPrompt {
  752. font-size: 17px;
  753. font-family: 'Hammersmith One';
  754. color: #4A4A4A;
  755. flex: 0.2;
  756. text-align: center;
  757. margin-top: 10px;
  758. display: inline-block;
  759. }
  760. .modal {
  761. display: none;
  762. position: fixed;
  763. z-index: 1;
  764. left: 0;
  765. top: 0;
  766. overflow: auto;
  767. height: 100%;
  768. width: 100%;
  769. }
  770. .modalx {
  771. display: none;
  772. position: fixed;
  773. z-index: 1;
  774. left: 0;
  775. top: 0;
  776. overflow: auto;
  777. height: 100%;
  778. width: 100%;
  779. }
  780. .Msgmodal {
  781. display: none;
  782. position: fixed;
  783. z-index: 1;
  784. left: 0;
  785. top: 0;
  786. overflow: auto;
  787. height: 100%;
  788. width: 100%;
  789. }
  790. .modal-content {
  791. margin: 10% auto;
  792. width: 40%;
  793. box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.17);
  794. font-size: 14px;
  795. line-height: 1.6;
  796. }
  797. .modal-headerx h2, .modal-footerx h3 {
  798. margin: 0;
  799. }
  800. .modal-headerx {
  801. background: #404040;
  802. padding: 15px;
  803. color: #fff;
  804. border-top-left-radius: 5px;
  805. border-top-right-radius: 5px;
  806. }
  807. .modal-footerx {
  808. background: #404040;
  809. padding: 10px;
  810. color: #fff;
  811. text-align: center;
  812. border-bottom-left-radius: 5px;
  813. border-bottom-right-radius: 5px;
  814. }
  815. .modal-headerwtf h2, .modal-footerwtf h3 {
  816. margin: 0;
  817. }
  818. .modal-headerwtf {
  819. background: #404040;
  820. padding: 15px;
  821. color: #fff;
  822. border-top-left-radius: 5px;
  823. border-top-right-radius: 5px;
  824. }
  825. .modal-footerwtf {
  826. background: #404040;
  827. padding: 10px;
  828. color: #fff;
  829. text-align: center;
  830. border-bottom-left-radius: 5px;
  831. border-bottom-right-radius: 5px;
  832. }
  833. .modal-header h2, .modal-footer h3 {
  834. margin: 0;
  835. }
  836. .modal-header {
  837. background: #404040;
  838. padding: 15px;
  839. color: #fff;
  840. border-top-left-radius: 5px;
  841. border-top-right-radius: 5px;
  842. }
  843. .modal-body {
  844. padding: 10px 20px;
  845. background: #fff;
  846. }
  847. .modal-footer {
  848. background: #404040;
  849. padding: 10px;
  850. color: #fff;
  851. text-align: center;
  852. border-bottom-left-radius: 5px;
  853. border-bottom-right-radius: 5px;
  854. }
  855. .closeBtn {
  856. color: #ccc;
  857. float: right;
  858. font-size: 30px;
  859. color: #fff;
  860. }
  861. .closeBtn:hover, .closeBtn:focus {
  862. color: #dd4a42;
  863. text-decoration: none;
  864. cursor: pointer;
  865. }
  866. .closeBtnx {
  867. color: #ccc;
  868. float: right;
  869. font-size: 30px;
  870. color: #fff;
  871. }
  872. .closeBtnx:hover, .closeBtnx:focus {
  873. color: #dd4a42;
  874. text-decoration: none;
  875. cursor: pointer;
  876. }
  877. .MsgcloseBtn {
  878. color: #ccc;
  879. float: right;
  880. font-size: 30px;
  881. color: #fff;
  882. }
  883. .MsgcloseBtn:hover, .MsgcloseBtn:focus {
  884. color: #dd4a42;
  885. text-decoration: none;
  886. cursor: pointer;
  887. }
  888. /* Customize the label (the container) */
  889. .container {
  890. display: block;
  891. position: relative;
  892. padding-left: 35px;
  893. margin-bottom: 12px;
  894. cursor: pointer;
  895. font-size: 16px;
  896. -webkit-user-select: none;
  897. -moz-user-select: none;
  898. -ms-user-select: none;
  899. user-select: none;
  900. }
  901. /* Hide the browser's default checkbox */
  902. .container input {
  903. position: absolute;
  904. opacity: 0;
  905. cursor: pointer;
  906. height: 0;
  907. width: 0;
  908. }
  909. /* Create a custom checkbox */
  910. .checkmark {
  911. position: absolute;
  912. top: 0;
  913. left: 0;
  914. height: 25px;
  915. width: 25px;
  916. background-color: #eee;
  917. }`;
  918.  
  919. menu.innerHTML = `
  920. <div class="circle">
  921. <svg>
  922. <filter id = "wavy">
  923. <feTurbulence x="0" y="0" baseFrequency="0.5" numOctaves="5" seed="2"/>
  924. <feDisplacementMap in="SourceGraphic" scale="30"/>
  925. </filter>
  926. </svg>
  927. </div>
  928. <div class="i-tab-container">
  929. <div class="i-tab-menu sidebar">
  930. <a><h2 class="i-tab-menu-item">Lost Settings</h2></a>
  931. <button id="mm-main-menu-item" class="i-tab-menu-item is-active">Main</button>
  932. <button id="mm-offense-menu-item" class="i-tab-menu-item">Offense</button>
  933. <button id="mm-defense-menu-item" class="i-tab-menu-item">Defense</button>
  934. <button id="mm-support-menu-item" class="i-tab-menu-item">Support</button>
  935. <button id="mm-controls-menu-item" class="i-tab-menu-item">Controls</button>
  936. <button id="mm-instakill-menu-item" class="i-tab-menu-item">InstaKill</button>
  937. <button id="mm-instakill-menu-item" class="i-tab-menu-item">Chat</button>
  938. <button id="mm-instakill-menu-item" class="i-tab-menu-item">HatMacro</button>
  939. </div>
  940. <div id="mm-main-menu" class="i-tab-content" style="overflow-y: scroll;">
  941. <h3>Main</h3>
  942. <div>
  943. <label class="AutoHeal"><input id="heal1" type="checkbox" class="i-checkbox" />Auto Heal</label>
  944. </div>
  945. <form action="/action_page.php">
  946. <label for="acc">Heal Type: </label>
  947. <select name="hat" id="hType">
  948. <option value="0">Normal</option>
  949. <option value="1">Linear</option>
  950. <option value="2">Quadratic</option>
  951. <option value="3">Interval</option>
  952. <option value="4">Slow</option>
  953. <option value="5">FAST</option>
  954. </select>
  955. </form>
  956. <div>
  957. <label class="AutoHeal"><input id="heal2" type="checkbox" class="i-checkbox" />Double Heal</label>
  958. </div>
  959. <div>
  960. <label class="InstaKill"><input id="insta" type="checkbox" class="i-checkbox" />Insta-Kill</label>
  961. </div>
  962. <div>
  963. <label class="radar"><input id="radar" type="checkbox" class="i-checkbox" />Radar</label>
  964. </div>
  965. <div>
  966. <label class="radar"><input id="sAim" type="checkbox" class="i-checkbox" />Target Prediction</label>
  967. </div>
  968. <div>
  969. <label class="radar"><input id="ahat" type="checkbox" class="i-checkbox" checked/>Auto-Hat</label>
  970. </div>
  971. <div>
  972. <label class="radar"><input id="respawn" type="checkbox" class="i-checkbox" />Auto-Respawn</label>
  973. </div>
  974. <div style="overflow-y: scroll;">
  975. Beta anti-insta? <input id="extraAnti" type="checkbox" checked><br>
  976. Beta anti-insta 2? (W.I.P. don't use) <input id="newAnti" type="checkbox"><br>
  977. ("Warning : Xms" message) Ping Warning? <input id="doMSWarning" type="checkbox" checked><br>
  978. Respawn Lost_Gaming Bots? <input id="respawnGBots" type="checkbox" checked><br>
  979. Anti-age insta? <input id="doAntiAge" type="checkbox" checked><br>
  980. Anti-no bull insta? <input id="doAntiNobull" type="checkbox" checked><br>
  981. <!-- Anti-skid tick? (25 + 80 insta) <input id="antiSkidTick" type="checkbox" checked><br> -->
  982. Do Anti-Trap? <input id="doAntiTrap" type="checkbox" checked><br>
  983. Do Anti-Trap Chat? <input id="doAntiTrapChat" type="checkbox" checked><br>
  984. Anti-Trap Chat (if enabled) <input type="text" id="antiTrapChat" checked value="~|Lost Anti Trap OP|~"><br>
  985. Chat mirror? <input id="cMirr" type="checkbox"><br>
  986. Auto-360 shield? <input type="checkbox" id="shield360" checked><br>
  987. Autobreak? <input type="checkbox" id="autoBreak"><br>
  988. Switch hotkeys to invisible buildings? <input type="checkbox" id="invisBuilds"><br>
  989. </div>
  990. <fieldset>
  991. <legend>Hats/Accessories</legend>
  992. <div>
  993. <label class="Click0"><input id="offence" type="checkbox" class="i-checkbox" />Offense</label>
  994. </div>
  995. <div>
  996. <label class="HatHacking"><input id="defence" type="checkbox" class="i-checkbox" />Defensive Gear</label>
  997. </div>
  998. <div>
  999. <label class="support"><input id="speed" type="checkbox" class="i-checkbox" />Support Gear</label>
  1000. </div>
  1001. </fieldset>
  1002. <div>
  1003. <label class="AutoHeal"><input id="derp" type="checkbox" class="i-checkbox" />DERP</label>
  1004. </div>
  1005. <div>
  1006. <label class="AutoHeal"><input id="deathCrash" type="checkbox" class="i-checkbox" /><b>OFF</b> Death Crash</label>
  1007. </div>
  1008. <div class="i-palomita">Made By : Lost_Gaming(LG) and <a href="https://www.youtube.com/channel/UCfPlaEXq5BWJQzRwr5Qywwg?sub_confirmation=1">FZ</a></div>
  1009. </div>
  1010. <div id="mm-offense-menu" class="i-tab-content" style="display: none;">
  1011. <h3>Offense</h3>
  1012. <form action="/action_page.php">
  1013. <label for="acc">Place Type: </label>
  1014. <select name="hat" id="pType">
  1015. <option value="0">Normal</option>
  1016. <option value="1">Legit</option>
  1017. <option value="2">Varience</option>
  1018. <option value="3">Derp</option>
  1019. </select>
  1020. </form>
  1021. <fieldset>
  1022. <legend>DMG</legend>
  1023. <div>
  1024. <label class="AutoHeal"><input id="onclick" type="checkbox" class="i-checkbox" />On Click</label>
  1025. </div>
  1026. <form action="/action_page.php">
  1027. <label for="hat">Hat:</label>
  1028. <select name="hat" id="oHat">
  1029. <option value="0">none</option>
  1030. <option value="51">Moo Cap</option>
  1031. <option value="50">Apple Cap</option>
  1032. <option value="28">Moo Head</option>
  1033. <option value="29">Pig Head</option>
  1034. <option value="30">Fluff Head</option>
  1035. <option value="36">Pandou Head</option>
  1036. <option value="37">Bear Head</option>
  1037. <option value="38">Monkey Head</option>
  1038. <option value="44">Polar Head</option>
  1039. <option value="35">Fez Hat</option>
  1040. <option value="42">Enigma Hat</option>
  1041. <option value="43">Blitz Hat</option>
  1042. <option value="49">Bob XIII Hat</option>
  1043. <option value="57">Pumpkin</option>
  1044. <option value="8">Bummle Hat</option>
  1045. <option value="2">Straw Hat</option>
  1046. <option value="15">Winter Cap</option>
  1047. <option value="5">Cowboy Hat</option>
  1048. <option value="4">Ranger Hat</option>
  1049. <option value="18">Explorer Hat</option>
  1050. <option value="31">Flipper Hat</option>
  1051. <option value="1">Marksman Cap</option>
  1052. <option value="10">Bush Gear</option>
  1053. <option value="48">Halo</option>
  1054. <option value="6">Soldier Helmet</option>
  1055. <option value="32">Anti Venom Gear</option>
  1056. <option value="13">Medic Gear</option>
  1057. <option value="9">Miners Helmet</option>
  1058. <option value="32">Musketeer Hat</option>
  1059. <option value="7">Bull Helmet</option>
  1060. <option value="22">Emp Helmet</option>
  1061. <option value="12">Booster Hat</option>
  1062. <option value="26">Barbarian Armor</option>
  1063. <option value="21">Plague Mask</option>
  1064. <option value="46">Bull Mask</option>
  1065. <option value="14">Windmill Hat</option>
  1066. <option value="11">Spike Gear</option>
  1067. <option value="53">Turret Gear</option>
  1068. <option value="20">Samurai Armor</option>
  1069. <option value="58">Dark Knight</option>
  1070. <option value="27">Scavenger Gear</option>
  1071. <option value="40">Tank Gear</option>
  1072. <option value="52">Thief Gear</option>
  1073. <option value="55">Bloodthirster</option>
  1074. <option value="56">Assassin Gear</option>
  1075. </select>
  1076. </form>
  1077. <form action="/action_page.php">
  1078. <label for="acc">Accessory:</label>
  1079. <select name="acc" id="oAcc">
  1080. <option value="0">None</option>
  1081. <option value="12">Snowball</option>
  1082. <option value="9">Tree Cape</option>
  1083. <option value="10">Stone Cape</option>
  1084. <option value="3">Cookie Cape</option>
  1085. <option value="8">Cow Cape</option>
  1086. <option value="11">Monkey Tail</option>
  1087. <option value="17">Apple Basket</option>
  1088. <option value="6">Winter Cape</option>
  1089. <option value="4">Skull Cape</option>
  1090. <option value="5">Dash Cape</option>
  1091. <option value="2">Dragon Cape</option>
  1092. <option value="1">Super Cape</option>
  1093. <option value="7">Troll Cape</option>
  1094. <option value="14">Thorns</option>
  1095. <option value="15">Blockades</option>
  1096. <option value="20">Devils Tail</option>
  1097. <option value="16">Sawblade</option>
  1098. <option value="13">Angel Wings</option>
  1099. <option value="19">SWings</option>
  1100. <option value="18">BWings</option>
  1101. <option value="21">CX Wings</option>
  1102. </select>
  1103. </form>
  1104. </fieldset>
  1105. <fieldset>
  1106. <legend>Tank</legend>
  1107. <form action="/action_page.php">
  1108. <label for="hat">Hat: </label>
  1109. <select name="acc" id="tHat">
  1110. <option value="0">none</option>
  1111. <option value="51">Moo Cap</option>
  1112. <option value="50">Apple Cap</option>
  1113. <option value="28">Moo Head</option>
  1114. <option value="29">Pig Head</option>
  1115. <option value="30">Fluff Head</option>
  1116. <option value="36">Pandou Head</option>
  1117. <option value="37">Bear Head</option>
  1118. <option value="38">Monkey Head</option>
  1119. <option value="44">Polar Head</option>
  1120. <option value="35">Fez Hat</option>
  1121. <option value="42">Enigma Hat</option>
  1122. <option value="43">Blitz Hat</option>
  1123. <option value="49">Bob XIII Hat</option>
  1124. <option value="57">Pumpkin</option>
  1125. <option value="8">Bummle Hat</option>
  1126. <option value="2">Straw Hat</option>
  1127. <option value="15">Winter Cap</option>
  1128. <option value="5">Cowboy Hat</option>
  1129. <option value="4">Ranger Hat</option>
  1130. <option value="18">Explorer Hat</option>
  1131. <option value="31">Flipper Hat</option>
  1132. <option value="1">Marksman Cap</option>
  1133. <option value="10">Bush Gear</option>
  1134. <option value="48">Halo</option>
  1135. <option value="6">Soldier Helmet</option>
  1136. <option value="32">Anti Venom Gear</option>
  1137. <option value="13">Medic Gear</option>
  1138. <option value="9">Miners Helmet</option>
  1139. <option value="32">Musketeer Hat</option>
  1140. <option value="7">Bull Helmet</option>
  1141. <option value="22">Emp Helmet</option>
  1142. <option value="12">Booster Hat</option>
  1143. <option value="26">Barbarian Armor</option>
  1144. <option value="21">Plague Mask</option>
  1145. <option value="46">Bull Mask</option>
  1146. <option value="14">Windmill Hat</option>
  1147. <option value="11">Spike Gear</option>
  1148. <option value="53">Turret Gear</option>
  1149. <option value="20">Samurai Armor</option>
  1150. <option value="58">Dark Knight</option>
  1151. <option value="27">Scavenger Gear</option>
  1152. <option value="40">Tank Gear</option>
  1153. <option value="52">Thief Gear</option>
  1154. <option value="55">Bloodthirster</option>
  1155. <option value="56">Assassin Gear</option>
  1156. </select>
  1157. </form>
  1158. <form action="/action_page.php">
  1159. <label for="acc">Accessory: </label>
  1160. <select name="acc" id="tAcc">
  1161. <option value="0">none</option>
  1162. <option value="12">Snowball</option>
  1163. <option value="9">Tree Cape</option>
  1164. <option value="10">Stone Cape</option>
  1165. <option value="3">Cookie Cape</option>
  1166. <option value="8">Cow Cape</option>
  1167. <option value="11">Monkey Tail</option>
  1168. <option value="17">Apple Basket</option>
  1169. <option value="6">Winter Cape</option>
  1170. <option value="4">Skull Cape</option>
  1171. <option value="5">Dash Cape</option>
  1172. <option value="2">Dragon Cape</option>
  1173. <option value="1">Super Cape</option>
  1174. <option value="7">Troll Cape</option>
  1175. <option value="14">Thorns</option>
  1176. <option value="15">Blockades</option>
  1177. <option value="20">Devils Tail</option>
  1178. <option value="16">Sawblade</option>
  1179. <option value="13">Angel Wings</option>
  1180. <option value="19">SWings</option>
  1181. <option value="18">BWings</option>
  1182. <option value="21">CX Wings</option>
  1183. </select>
  1184. </form>
  1185. </fieldset>
  1186. <fieldset id="mm-supportDefaults">
  1187. <legend>Turret</legend>
  1188. <form action="/action_page.php">
  1189. <label for="hat">Hat:</label>
  1190. <select name="hat" id="otHat">
  1191. <option value="0">none</option>
  1192. <option value="51">Moo Cap</option>
  1193. <option value="50">Apple Cap</option>
  1194. <option value="28">Moo Head</option>
  1195. <option value="29">Pig Head</option>
  1196. <option value="30">Fluff Head</option>
  1197. <option value="36">Pandou Head</option>
  1198. <option value="37">Bear Head</option>
  1199. <option value="38">Monkey Head</option>
  1200. <option value="44">Polar Head</option>
  1201. <option value="35">Fez Hat</option>
  1202. <option value="42">Enigma Hat</option>
  1203. <option value="43">Blitz Hat</option>
  1204. <option value="49">Bob XIII Hat</option>
  1205. <option value="57">Pumpkin</option>
  1206. <option value="8">Bummle Hat</option>
  1207. <option value="2">Straw Hat</option>
  1208. <option value="15">Winter Cap</option>
  1209. <option value="5">Cowboy Hat</option>
  1210. <option value="4">Ranger Hat</option>
  1211. <option value="18">Explorer Hat</option>
  1212. <option value="31">Flipper Hat</option>
  1213. <option value="1">Marksman Cap</option>
  1214. <option value="10">Bush Gear</option>
  1215. <option value="48">Halo</option>
  1216. <option value="6">Soldier Helmet</option>
  1217. <option value="32">Anti Venom Gear</option>
  1218. <option value="13">Medic Gear</option>
  1219. <option value="9">Miners Helmet</option>
  1220. <option value="32">Musketeer Hat</option>
  1221. <option value="7">Bull Helmet</option>
  1222. <option value="22">Emp Helmet</option>
  1223. <option value="12">Booster Hat</option>
  1224. <option value="26">Barbarian Armor</option>
  1225. <option value="21">Plague Mask</option>
  1226. <option value="46">Bull Mask</option>
  1227. <option value="14">Windmill Hat</option>
  1228. <option value="11">Spike Gear</option>
  1229. <option value="53">Turret Gear</option>
  1230. <option value="20">Samurai Armor</option>
  1231. <option value="58">Dark Knight</option>
  1232. <option value="27">Scavenger Gear</option>
  1233. <option value="40">Tank Gear</option>
  1234. <option value="52">Thief Gear</option>
  1235. <option value="55">Bloodthirster</option>
  1236. <option value="56">Assassin Gear</option>
  1237. </select>
  1238. </form>
  1239. <form action="/action_page.php">
  1240. <label for="acc">Accessory:</label>
  1241. <select name="acc" id="otAcc">
  1242. <option value="0">none</option>
  1243. <option value="12">Snowball</option>
  1244. <option value="9">Tree Cape</option>
  1245. <option value="10">Stone Cape</option>
  1246. <option value="3">Cookie Cape</option>
  1247. <option value="8">Cow Cape</option>
  1248. <option value="11">Monkey Tail</option>
  1249. <option value="17">Apple Basket</option>
  1250. <option value="6">Winter Cape</option>
  1251. <option value="4">Skull Cape</option>
  1252. <option value="5">Dash Cape</option>
  1253. <option value="2">Dragon Cape</option>
  1254. <option value="1">Super Cape</option>
  1255. <option value="7">Troll Cape</option>
  1256. <option value="14">Thorns</option>
  1257. <option value="15">Blockades</option>
  1258. <option value="20">Devils Tail</option>
  1259. <option value="16">Sawblade</option>
  1260. <option value="13">Angel Wings</option>
  1261. <option value="19">SWings</option>
  1262. <option value="18">BWings</option>
  1263. <option value="21">CX Wings</option>
  1264. </select>
  1265. </form>
  1266. </fieldset>
  1267. <div class="i-palomita">Made By : Lost_Gaming(LG) and <a href="https://www.youtube.com/channel/UCfPlaEXq5BWJQzRwr5Qywwg?sub_confirmation=1">FZ</a></div>
  1268. </div>
  1269. <div id="mm-defense-menu" class="i-tab-content" style="display: none;">
  1270. <h3>Defense</h3>
  1271. <fieldset>
  1272. <legend>Default</legend>
  1273. <form action="/action_page.php">
  1274. <label for="hat">Hat: </label>
  1275. <select name="acc" id="dHat">
  1276. <option value="0">none</option>
  1277. <option value="51">Moo Cap</option>
  1278. <option value="50">Apple Cap</option>
  1279. <option value="28">Moo Head</option>
  1280. <option value="29">Pig Head</option>
  1281. <option value="30">Fluff Head</option>
  1282. <option value="36">Pandou Head</option>
  1283. <option value="37">Bear Head</option>
  1284. <option value="38">Monkey Head</option>
  1285. <option value="44">Polar Head</option>
  1286. <option value="35">Fez Hat</option>
  1287. <option value="42">Enigma Hat</option>
  1288. <option value="43">Blitz Hat</option>
  1289. <option value="49">Bob XIII Hat</option>
  1290. <option value="57">Pumpkin</option>
  1291. <option value="8">Bummle Hat</option>
  1292. <option value="2">Straw Hat</option>
  1293. <option value="15">Winter Cap</option>
  1294. <option value="5">Cowboy Hat</option>
  1295. <option value="4">Ranger Hat</option>
  1296. <option value="18">Explorer Hat</option>
  1297. <option value="31">Flipper Hat</option>
  1298. <option value="1">Marksman Cap</option>
  1299. <option value="10">Bush Gear</option>
  1300. <option value="48">Halo</option>
  1301. <option value="6">Soldier Helmet</option>
  1302. <option value="32">Anti Venom Gear</option>
  1303. <option value="13">Medic Gear</option>
  1304. <option value="9">Miners Helmet</option>
  1305. <option value="32">Musketeer Hat</option>
  1306. <option value="7">Bull Helmet</option>
  1307. <option value="22">Emp Helmet</option>
  1308. <option value="12">Booster Hat</option>
  1309. <option value="26">Barbarian Armor</option>
  1310. <option value="21">Plague Mask</option>
  1311. <option value="46">Bull Mask</option>
  1312. <option value="14">Windmill Hat</option>
  1313. <option value="11">Spike Gear</option>
  1314. <option value="53">Turret Gear</option>
  1315. <option value="20">Samurai Armor</option>
  1316. <option value="58">Dark Knight</option>
  1317. <option value="27">Scavenger Gear</option>
  1318. <option value="40">Tank Gear</option>
  1319. <option value="52">Thief Gear</option>
  1320. <option value="55">Bloodthirster</option>
  1321. <option value="56">Assassin Gear</option>
  1322. </select>
  1323. </form>
  1324. <form action="/action_page.php">
  1325. <label for="acc">Accessory: </label>
  1326. <select name="acc" id="dAcc">
  1327. <option value="0">none</option>
  1328. <option value="12">Snowball</option>
  1329. <option value="9">Tree Cape</option>
  1330. <option value="10">Stone Cape</option>
  1331. <option value="3">Cookie Cape</option>
  1332. <option value="8">Cow Cape</option>
  1333. <option value="11">Monkey Tail</option>
  1334. <option value="17">Apple Basket</option>
  1335. <option value="6">Winter Cape</option>
  1336. <option value="4">Skull Cape</option>
  1337. <option value="5">Dash Cape</option>
  1338. <option value="2">Dragon Cape</option>
  1339. <option value="1">Super Cape</option>
  1340. <option value="7">Troll Cape</option>
  1341. <option value="14">Thorns</option>
  1342. <option value="15">Blockades</option>
  1343. <option value="20">Devils Tail</option>
  1344. <option value="16">Sawblade</option>
  1345. <option value="13">Angel Wings</option>
  1346. <option value="19">SWings</option>
  1347. <option value="18">BWings</option>
  1348. <option value="21">CX Wings</option>
  1349. </select>
  1350. </form>
  1351. </fieldset>
  1352. <fieldset>
  1353. <legend>EMP</legend>
  1354. <form action="/action_page.php">
  1355. <label for="hat">Hat: </label>
  1356. <select name="acc" id="eHat">
  1357. <option value="0">none</option>
  1358. <option value="51">Moo Cap</option>
  1359. <option value="50">Apple Cap</option>
  1360. <option value="28">Moo Head</option>
  1361. <option value="29">Pig Head</option>
  1362. <option value="30">Fluff Head</option>
  1363. <option value="36">Pandou Head</option>
  1364. <option value="37">Bear Head</option>
  1365. <option value="38">Monkey Head</option>
  1366. <option value="44">Polar Head</option>
  1367. <option value="35">Fez Hat</option>
  1368. <option value="42">Enigma Hat</option>
  1369. <option value="43">Blitz Hat</option>
  1370. <option value="49">Bob XIII Hat</option>
  1371. <option value="57">Pumpkin</option>
  1372. <option value="8">Bummle Hat</option>
  1373. <option value="2">Straw Hat</option>
  1374. <option value="15">Winter Cap</option>
  1375. <option value="5">Cowboy Hat</option>
  1376. <option value="4">Ranger Hat</option>
  1377. <option value="18">Explorer Hat</option>
  1378. <option value="31">Flipper Hat</option>
  1379. <option value="1">Marksman Cap</option>
  1380. <option value="10">Bush Gear</option>
  1381. <option value="48">Halo</option>
  1382. <option value="6">Soldier Helmet</option>
  1383. <option value="32">Anti Venom Gear</option>
  1384. <option value="13">Medic Gear</option>
  1385. <option value="9">Miners Helmet</option>
  1386. <option value="32">Musketeer Hat</option>
  1387. <option value="7">Bull Helmet</option>
  1388. <option value="22">Emp Helmet</option>
  1389. <option value="12">Booster Hat</option>
  1390. <option value="26">Barbarian Armor</option>
  1391. <option value="21">Plague Mask</option>
  1392. <option value="46">Bull Mask</option>
  1393. <option value="14">Windmill Hat</option>
  1394. <option value="11">Spike Gear</option>
  1395. <option value="53">Turret Gear</option>
  1396. <option value="20">Samurai Armor</option>
  1397. <option value="58">Dark Knight</option>
  1398. <option value="27">Scavenger Gear</option>
  1399. <option value="40">Tank Gear</option>
  1400. <option value="52">Thief Gear</option>
  1401. <option value="55">Bloodthirster</option>
  1402. <option value="56">Assassin Gear</option>
  1403. </select>
  1404. </form>
  1405. <form action="/action_page.php">
  1406. <label for="acc">Accessory: </label>
  1407. <select name="acc" id="eAcc">
  1408. <option value="0">none</option>
  1409. <option value="12">Snowball</option>
  1410. <option value="9">Tree Cape</option>
  1411. <option value="10">Stone Cape</option>
  1412. <option value="3">Cookie Cape</option>
  1413. <option value="8">Cow Cape</option>
  1414. <option value="11">Monkey Tail</option>
  1415. <option value="17">Apple Basket</option>
  1416. <option value="6">Winter Cape</option>
  1417. <option value="4">Skull Cape</option>
  1418. <option value="5">Dash Cape</option>
  1419. <option value="2">Dragon Cape</option>
  1420. <option value="1">Super Cape</option>
  1421. <option value="7">Troll Cape</option>
  1422. <option value="14">Thorns</option>
  1423. <option value="15">Blockades</option>
  1424. <option value="20">Devils Tail</option>
  1425. <option value="16">Sawblade</option>
  1426. <option value="13">Angel Wings</option>
  1427. <option value="19">SWings</option>
  1428. <option value="18">BWings</option>
  1429. <option value="21">CX Wings</option>
  1430. </select>
  1431. </form>
  1432. </fieldset>
  1433. <fieldset>
  1434. <legend>Auto Defence</legend>
  1435. <div>
  1436. <label class="defheal"><input id="antiInsta1" type="checkbox" class="i-checkbox" />Anti-InstaKill(Normal)</label>
  1437. </div>
  1438. <div>
  1439. <label class="defheal"><input id="antiInsta2" type="checkbox" class="i-checkbox" />Anti-InstaKill(Reverse)</label>
  1440. </div>
  1441. <div>
  1442. <label class="defheal"><input id="antiInsta3" type="checkbox" class="i-checkbox" />Anti-InstaKill(BloodThirster)</label>
  1443. </div>
  1444. <div>
  1445. <label class="defheal"><input id="antiInsta4" type="checkbox" class="i-checkbox" />Anti-InstaKill(Bow W.I.P.)</label>
  1446. </div>
  1447. <div>
  1448. <label class="defheal"><input id="antiBoostSpike" type="checkbox" class="i-checkbox" />Anti-BoostSpike</label>
  1449. </div>
  1450. </fieldset>
  1451. <div class="i-palomita">Made By : Lost_Gaming(LG) and <a href="https://www.youtube.com/channel/UCfPlaEXq5BWJQzRwr5Qywwg?sub_confirmation=1" >FZ</a></div>
  1452. </div>
  1453. <div id="mm-support-menu" class="i-tab-content" style="display: none;">
  1454. <h3>Support</h3>
  1455. <fieldset>
  1456. <legend>Speed Armor Normal</legend>
  1457. <form action="/action_page.php">
  1458. <label for="hat">Hat: </label>
  1459. <select name="hat" id="snHat">
  1460. <option value="0">none</option>
  1461. <option value="51">Moo Cap</option>
  1462. <option value="50">Apple Cap</option>
  1463. <option value="28">Moo Head</option>
  1464. <option value="29">Pig Head</option>
  1465. <option value="30">Fluff Head</option>
  1466. <option value="36">Pandou Head</option>
  1467. <option value="37">Bear Head</option>
  1468. <option value="38">Monkey Head</option>
  1469. <option value="44">Polar Head</option>
  1470. <option value="35">Fez Hat</option>
  1471. <option value="42">Enigma Hat</option>
  1472. <option value="43">Blitz Hat</option>
  1473. <option value="49">Bob XIII Hat</option>
  1474. <option value="57">Pumpkin</option>
  1475. <option value="8">Bummle Hat</option>
  1476. <option value="2">Straw Hat</option>
  1477. <option value="15">Winter Cap</option>
  1478. <option value="5">Cowboy Hat</option>
  1479. <option value="4">Ranger Hat</option>
  1480. <option value="18">Explorer Hat</option>
  1481. <option value="31">Flipper Hat</option>
  1482. <option value="1">Marksman Cap</option>
  1483. <option value="10">Bush Gear</option>
  1484. <option value="48">Halo</option>
  1485. <option value="6">Soldier Helmet</option>
  1486. <option value="32">Anti Venom Gear</option>
  1487. <option value="13">Medic Gear</option>
  1488. <option value="9">Miners Helmet</option>
  1489. <option value="32">Musketeer Hat</option>
  1490. <option value="7">Bull Helmet</option>
  1491. <option value="22">Emp Helmet</option>
  1492. <option value="12">Booster Hat</option>
  1493. <option value="26">Barbarian Armor</option>
  1494. <option value="21">Plague Mask</option>
  1495. <option value="46">Bull Mask</option>
  1496. <option value="14">Windmill Hat</option>
  1497. <option value="11">Spike Gear</option>
  1498. <option value="53">Turret Gear</option>
  1499. <option value="20">Samurai Armor</option>
  1500. <option value="58">Dark Knight</option>
  1501. <option value="27">Scavenger Gear</option>
  1502. <option value="40">Tank Gear</option>
  1503. <option value="52">Thief Gear</option>
  1504. <option value="55">Bloodthirster</option>
  1505. <option value="56">Assassin Gear</option>
  1506. </select>
  1507. </form>
  1508. <form action="/action_page.php">
  1509. <label for="acc">Accessory: </label>
  1510. <select name="acc" id="snAcc">
  1511. <option value="0">none</option>
  1512. <option value="12">Snowball</option>
  1513. <option value="9">Tree Cape</option>
  1514. <option value="10">Stone Cape</option>
  1515. <option value="3">Cookie Cape</option>
  1516. <option value="8">Cow Cape</option>
  1517. <option value="11">Monkey Tail</option>
  1518. <option value="17">Apple Basket</option>
  1519. <option value="6">Winter Cape</option>
  1520. <option value="4">Skull Cape</option>
  1521. <option value="5">Dash Cape</option>
  1522. <option value="2">Dragon Cape</option>
  1523. <option value="1">Super Cape</option>
  1524. <option value="7">Troll Cape</option>
  1525. <option value="14">Thorns</option>
  1526. <option value="15">Blockades</option>
  1527. <option value="20">Devils Tail</option>
  1528. <option value="16">Sawblade</option>
  1529. <option value="13">Angel Wings</option>
  1530. <option value="19">SWings</option>
  1531. <option value="18">BWings</option>
  1532. <option value="21">CX Wings</option>
  1533. </select>
  1534. </form>
  1535. </fieldset>
  1536. <fieldset>
  1537. <legend>Speed Armor River</legend>
  1538. <form action="/action_page.php">
  1539. <label for="hat">Hat: </label>
  1540. <select name="hat" id="srHat">
  1541. <option value="0">none</option>
  1542. <option value="51">Moo Cap</option>
  1543. <option value="50">Apple Cap</option>
  1544. <option value="28">Moo Head</option>
  1545. <option value="29">Pig Head</option>
  1546. <option value="30">Fluff Head</option>
  1547. <option value="36">Pandou Head</option>
  1548. <option value="37">Bear Head</option>
  1549. <option value="38">Monkey Head</option>
  1550. <option value="44">Polar Head</option>
  1551. <option value="35">Fez Hat</option>
  1552. <option value="42">Enigma Hat</option>
  1553. <option value="43">Blitz Hat</option>
  1554. <option value="49">Bob XIII Hat</option>
  1555. <option value="57">Pumpkin</option>
  1556. <option value="8">Bummle Hat</option>
  1557. <option value="2">Straw Hat</option>
  1558. <option value="15">Winter Cap</option>
  1559. <option value="5">Cowboy Hat</option>
  1560. <option value="4">Ranger Hat</option>
  1561. <option value="18">Explorer Hat</option>
  1562. <option value="31">Flipper Hat</option>
  1563. <option value="1">Marksman Cap</option>
  1564. <option value="10">Bush Gear</option>
  1565. <option value="48">Halo</option>
  1566. <option value="6">Soldier Helmet</option>
  1567. <option value="32">Anti Venom Gear</option>
  1568. <option value="13">Medic Gear</option>
  1569. <option value="9">Miners Helmet</option>
  1570. <option value="32">Musketeer Hat</option>
  1571. <option value="7">Bull Helmet</option>
  1572. <option value="22">Emp Helmet</option>
  1573. <option value="12">Booster Hat</option>
  1574. <option value="26">Barbarian Armor</option>
  1575. <option value="21">Plague Mask</option>
  1576. <option value="46">Bull Mask</option>
  1577. <option value="14">Windmill Hat</option>
  1578. <option value="11">Spike Gear</option>
  1579. <option value="53">Turret Gear</option>
  1580. <option value="20">Samurai Armor</option>
  1581. <option value="58">Dark Knight</option>
  1582. <option value="27">Scavenger Gear</option>
  1583. <option value="40">Tank Gear</option>
  1584. <option value="52">Thief Gear</option>
  1585. <option value="55">Bloodthirster</option>
  1586. <option value="56">Assassin Gear</option>
  1587. </select>
  1588. </form>
  1589. <form action="/action_page.php">
  1590. <label for="acc">Accessory: </label>
  1591. <select name="acc" id="srAcc">
  1592. <option value="0">none</option>
  1593. <option value="12">Snowball</option>
  1594. <option value="9">Tree Cape</option>
  1595. <option value="10">Stone Cape</option>
  1596. <option value="3">Cookie Cape</option>
  1597. <option value="8">Cow Cape</option>
  1598. <option value="11">Monkey Tail</option>
  1599. <option value="17">Apple Basket</option>
  1600. <option value="6">Winter Cape</option>
  1601. <option value="4">Skull Cape</option>
  1602. <option value="5">Dash Cape</option>
  1603. <option value="2">Dragon Cape</option>
  1604. <option value="1">Super Cape</option>
  1605. <option value="7">Troll Cape</option>
  1606. <option value="14">Thorns</option>
  1607. <option value="15">Blockades</option>
  1608. <option value="20">Devils Tail</option>
  1609. <option value="16">Sawblade</option>
  1610. <option value="13">Angel Wings</option>
  1611. <option value="19">SWings</option>
  1612. <option value="18">BWings</option>
  1613. <option value="21">CX Wings</option>
  1614. </select>
  1615. </form>
  1616. </fieldset>
  1617. <fieldset>
  1618. <legend>Speed Armor Winter</legend>
  1619. <form action="/action_page.php">
  1620. <label for="hat">Hat: </label>
  1621. <select name="hat" id="ssHat">
  1622. <option value="0">none</option>
  1623. <option value="51">Moo Cap</option>
  1624. <option value="50">Apple Cap</option>
  1625. <option value="28">Moo Head</option>
  1626. <option value="29">Pig Head</option>
  1627. <option value="30">Fluff Head</option>
  1628. <option value="36">Pandou Head</option>
  1629. <option value="37">Bear Head</option>
  1630. <option value="38">Monkey Head</option>
  1631. <option value="44">Polar Head</option>
  1632. <option value="35">Fez Hat</option>
  1633. <option value="42">Enigma Hat</option>
  1634. <option value="43">Blitz Hat</option>
  1635. <option value="49">Bob XIII Hat</option>
  1636. <option value="57">Pumpkin</option>
  1637. <option value="8">Bummle Hat</option>
  1638. <option value="2">Straw Hat</option>
  1639. <option value="15">Winter Cap</option>
  1640. <option value="5">Cowboy Hat</option>
  1641. <option value="4">Ranger Hat</option>
  1642. <option value="18">Explorer Hat</option>
  1643. <option value="31">Flipper Hat</option>
  1644. <option value="1">Marksman Cap</option>
  1645. <option value="10">Bush Gear</option>
  1646. <option value="48">Halo</option>
  1647. <option value="6">Soldier Helmet</option>
  1648. <option value="32">Anti Venom Gear</option>
  1649. <option value="13">Medic Gear</option>
  1650. <option value="9">Miners Helmet</option>
  1651. <option value="32">Musketeer Hat</option>
  1652. <option value="7">Bull Helmet</option>
  1653. <option value="22">Emp Helmet</option>
  1654. <option value="12">Booster Hat</option>
  1655. <option value="26">Barbarian Armor</option>
  1656. <option value="21">Plague Mask</option>
  1657. <option value="46">Bull Mask</option>
  1658. <option value="14">Windmill Hat</option>
  1659. <option value="11">Spike Gear</option>
  1660. <option value="53">Turret Gear</option>
  1661. <option value="20">Samurai Armor</option>
  1662. <option value="58">Dark Knight</option>
  1663. <option value="27">Scavenger Gear</option>
  1664. <option value="40">Tank Gear</option>
  1665. <option value="52">Thief Gear</option>
  1666. <option value="55">Bloodthirster</option>
  1667. <option value="56">Assassin Gear</option>
  1668. </select>
  1669. </form>
  1670. <form action="/action_page.php">
  1671. <label for="acc">Accessory: </label>
  1672. <select name="acc" id="ssAcc">
  1673. <option value="0">None</option>
  1674. <option value="12">Snowball</option>
  1675. <option value="9">Tree Cape</option>
  1676. <option value="10">Stone Cape</option>
  1677. <option value="3">Cookie Cape</option>
  1678. <option value="8">Cow Cape</option>
  1679. <option value="11">Monkey Tail</option>
  1680. <option value="17">Apple Basket</option>
  1681. <option value="6">Winter Cape</option>
  1682. <option value="4">Skull Cape</option>
  1683. <option value="5">Dash Cape</option>
  1684. <option value="2">Dragon Cape</option>
  1685. <option value="1">Super Cape</option>
  1686. <option value="7">Troll Cape</option>
  1687. <option value="14">Thorns</option>
  1688. <option value="15">Blockades</option>
  1689. <option value="20">Devils Tail</option>
  1690. <option value="16">Sawblade</option>
  1691. <option value="13">Angel Wings</option>
  1692. <option value="19">SWings</option>
  1693. <option value="18">BWings</option>
  1694. <option value="21">CX Wings</option>
  1695. </select>
  1696. </form>
  1697. </fieldset>
  1698. <div class="i-palomita">Made By : Lost_Gaming(LG) and <a href="https://www.youtube.com/channel/UCfPlaEXq5BWJQzRwr5Qywwg?sub_confirmation=1" >FZ</a></div>
  1699. </div>
  1700. <div id="mm-controls-menu" class="i-tab-content" style="display: none;">
  1701. <h3>Controls</h3>
  1702. <label>Menu : <button id="kMenu" class="i-button i-bold i-right i-inline i-keybind">Escape</button></label>
  1703. <br />
  1704. <br />
  1705. <fieldset id="i-keybinds">
  1706. <legend>Keybinds</legend>
  1707. <div>
  1708. <label>Spike : <button id="kSpike" class="i-button i-bold i-right i-inline i-keybind">KeyV</button></label>
  1709. </div>
  1710. <div>
  1711. <label>Spike Circle : <button id="kSpikeCircle" class="i-button i-bold i-right i-inline i-keybind">k</button></label>
  1712. </div>
  1713. <div>
  1714. <label>Pit Trap/Boost Pad : <button id="kTrap" class="i-button i-bold i-right i-inline i-keybind">KeyF</button></label>
  1715. </div>
  1716. <div>
  1717. <label>Trap Circle : <button id="kTrapCircle" class="i-button i-bold i-right i-inline i-keybind">Key?</button></label>
  1718. </div>
  1719. <div>
  1720. <label>Turret : <button id="kTurret" class="i-button i-bold i-right i-inline i-keybind">KeyH</button></label>
  1721. </div>
  1722. <div>
  1723. <label>Windmill : <button id="kWindmill" class="i-button i-bold i-right i-inline i-keybind">KeyN</button></label>
  1724. </div>
  1725. <div>
  1726. <label>Heal : <button id="kHeal" class="i-button i-bold i-right i-inline i-keybind">KeyQ</button></label>
  1727. </div>
  1728. <div>
  1729. <label>Boost+Spike : <button id="kBS" class="i-button i-bold i-right i-inline i-keybind">KeyL</button></label>
  1730. </div>
  1731. <div>
  1732. <label>Boost+Spike : <button id="kBM" class="i-button i-bold i-right i-inline i-keybind">KeyO</button></label>
  1733. </div>
  1734. </fieldset>
  1735. <div class="i-palomita">Made By : Wynd and <a href="https://www.youtube.com/channel/UCfPlaEXq5BWJQzRwr5Qywwg?sub_confirmation=1" >FZ</a></div>
  1736. </div>
  1737. <div id="mm-instakill-menu" class="i-tab-content" style="display: none;">
  1738. <h3>Insta Kill</h3>
  1739. <div>
  1740. <label class="defheal"><input id="iAim" type="checkbox" class="i-checkbox" />Auto Aim</label>
  1741. </div>
  1742. <div>
  1743. <label class="defheal"><input id="iReload" type="checkbox" class="i-checkbox" />Auto Reload</label>
  1744. </div>
  1745. <div>
  1746. <label class="defheal"><input id="iReverse" type="checkbox" class="i-checkbox" />Reverse Insta</label>
  1747. </div>
  1748. <fieldset>
  1749. <legend>Insta Kill:</legend>
  1750. <form action="/action_page.php">
  1751. <label for="hat">Hat-1: </label>
  1752. <select name="acc" id="iHat1">
  1753. <option value="0">none</option>
  1754. <option value="51">Moo Cap</option>
  1755. <option value="50">Apple Cap</option>
  1756. <option value="28">Moo Head</option>
  1757. <option value="29">Pig Head</option>
  1758. <option value="30">Fluff Head</option>
  1759. <option value="36">Pandou Head</option>
  1760. <option value="37">Bear Head</option>
  1761. <option value="38">Monkey Head</option>
  1762. <option value="44">Polar Head</option>
  1763. <option value="35">Fez Hat</option>
  1764. <option value="42">Enigma Hat</option>
  1765. <option value="43">Blitz Hat</option>
  1766. <option value="49">Bob XIII Hat</option>
  1767. <option value="57">Pumpkin</option>
  1768. <option value="8">Bummle Hat</option>
  1769. <option value="2">Straw Hat</option>
  1770. <option value="15">Winter Cap</option>
  1771. <option value="5">Cowboy Hat</option>
  1772. <option value="4">Ranger Hat</option>
  1773. <option value="18">Explorer Hat</option>
  1774. <option value="31">Flipper Hat</option>
  1775. <option value="1">Marksman Cap</option>
  1776. <option value="10">Bush Gear</option>
  1777. <option value="48">Halo</option>
  1778. <option value="6">Soldier Helmet</option>
  1779. <option value="32">Anti Venom Gear</option>
  1780. <option value="13">Medic Gear</option>
  1781. <option value="9">Miners Helmet</option>
  1782. <option value="32">Musketeer Hat</option>
  1783. <option value="7">Bull Helmet</option>
  1784. <option value="22">Emp Helmet</option>
  1785. <option value="12">Booster Hat</option>
  1786. <option value="26">Barbarian Armor</option>
  1787. <option value="21">Plague Mask</option>
  1788. <option value="46">Bull Mask</option>
  1789. <option value="14">Windmill Hat</option>
  1790. <option value="11">Spike Gear</option>
  1791. <option value="53">Turret Gear</option>
  1792. <option value="20">Samurai Armor</option>
  1793. <option value="58">Dark Knight</option>
  1794. <option value="27">Scavenger Gear</option>
  1795. <option value="40">Tank Gear</option>
  1796. <option value="52">Thief Gear</option>
  1797. <option value="55">Bloodthirster</option>
  1798. <option value="56">Assassin Gear</option>
  1799. </select>
  1800. </form>
  1801. <form action="/action_page.php">
  1802. <label for="acc">Accessory-1: </label>
  1803. <select name="acc" id="iAcc1">
  1804. <option value="0">None</option>
  1805. <option value="12">Snowball</option>
  1806. <option value="9">Tree Cape</option>
  1807. <option value="10">Stone Cape</option>
  1808. <option value="3">Cookie Cape</option>
  1809. <option value="8">Cow Cape</option>
  1810. <option value="11">Monkey Tail</option>
  1811. <option value="17">Apple Basket</option>
  1812. <option value="6">Winter Cape</option>
  1813. <option value="4">Skull Cape</option>
  1814. <option value="5">Dash Cape</option>
  1815. <option value="2">Dragon Cape</option>
  1816. <option value="1">Super Cape</option>
  1817. <option value="7">Troll Cape</option>
  1818. <option value="14">Thorns</option>
  1819. <option value="15">Blockades</option>
  1820. <option value="20">Devils Tail</option>
  1821. <option value="16">Sawblade</option>
  1822. <option value="13">Angel Wings</option>
  1823. <option value="19">SWings</option>
  1824. <option value="18">BWings</option>
  1825. <option value="21">CX Wings</option>
  1826. </select>
  1827. </form>
  1828. <div>
  1829. <label class="key2"><input id="iSwitch" type="checkbox" class="i-checkbox" />Choose Secondary Weapon</label>
  1830. </div>
  1831. <form action="/action_page.php">
  1832. <label for="acc">Hat-2: </label>
  1833. <select name="hat" id="iHat2">
  1834. <option value="0">none</option>
  1835. <option value="51">Moo Cap</option>
  1836. <option value="50">Apple Cap</option>
  1837. <option value="28">Moo Head</option>
  1838. <option value="29">Pig Head</option>
  1839. <option value="30">Fluff Head</option>
  1840. <option value="36">Pandou Head</option>
  1841. <option value="37">Bear Head</option>
  1842. <option value="38">Monkey Head</option>
  1843. <option value="44">Polar Head</option>
  1844. <option value="35">Fez Hat</option>
  1845. <option value="42">Enigma Hat</option>
  1846. <option value="43">Blitz Hat</option>
  1847. <option value="49">Bob XIII Hat</option>
  1848. <option value="57">Pumpkin</option>
  1849. <option value="8">Bummle Hat</option>
  1850. <option value="2">Straw Hat</option>
  1851. <option value="15">Winter Cap</option>
  1852. <option value="5">Cowboy Hat</option>
  1853. <option value="4">Ranger Hat</option>
  1854. <option value="18">Explorer Hat</option>
  1855. <option value="31">Flipper Hat</option>
  1856. <option value="1">Marksman Cap</option>
  1857. <option value="10">Bush Gear</option>
  1858. <option value="48">Halo</option>
  1859. <option value="6">Soldier Helmet</option>
  1860. <option value="32">Anti Venom Gear</option>
  1861. <option value="13">Medic Gear</option>
  1862. <option value="9">Miners Helmet</option>
  1863. <option value="32">Musketeer Hat</option>
  1864. <option value="7">Bull Helmet</option>
  1865. <option value="22">Emp Helmet</option>
  1866. <option value="12">Booster Hat</option>
  1867. <option value="26">Barbarian Armor</option>
  1868. <option value="21">Plague Mask</option>
  1869. <option value="46">Bull Mask</option>
  1870. <option value="14">Windmill Hat</option>
  1871. <option value="11">Spike Gear</option>
  1872. <option value="53">Turret Gear</option>
  1873. <option value="20">Samurai Armor</option>
  1874. <option value="58">Dark Knight</option>
  1875. <option value="27">Scavenger Gear</option>
  1876. <option value="40">Tank Gear</option>
  1877. <option value="52">Thief Gear</option>
  1878. <option value="55">Bloodthirster</option>
  1879. <option value="56">Assassin Gear</option>
  1880. </select>
  1881. </form>
  1882. <form action="/action_page.php">
  1883. <label for="acc">Accessory-2: </label>
  1884. <select name="acc" id="iAcc2">
  1885. <option value="0">None</option>
  1886. <option value="12">Snowball</option>
  1887. <option value="9">Tree Cape</option>
  1888. <option value="10">Stone Cape</option>
  1889. <option value="3">Cookie Cape</option>
  1890. <option value="8">Cow Cape</option>
  1891. <option value="11">Monkey Tail</option>
  1892. <option value="17">Apple Basket</option>
  1893. <option value="6">Winter Cape</option>
  1894. <option value="4">Skull Cape</option>
  1895. <option value="5">Dash Cape</option>
  1896. <option value="2">Dragon Cape</option>
  1897. <option value="1">Super Cape</option>
  1898. <option value="7">Troll Cape</option>
  1899. <option value="14">Thorns</option>
  1900. <option value="15">Blockades</option>
  1901. <option value="20">Devils Tail</option>
  1902. <option value="16">Sawblade</option>
  1903. <option value="13">Angel Wings</option>
  1904. <option value="19">SWings</option>
  1905. <option value="18">BWings</option>
  1906. <option value="21">CX Wings</option>
  1907. </select>
  1908. </form>
  1909. <form action="/action_page.php">
  1910. <label for="hat">End Hat: </label>
  1911. <select name="hat" id="iHat3">
  1912. <option value="0">none</option>
  1913. <option value="51">Moo Cap</option>
  1914. <option value="50">Apple Cap</option>
  1915. <option value="28">Moo Head</option>
  1916. <option value="29">Pig Head</option>
  1917. <option value="30">Fluff Head</option>
  1918. <option value="36">Pandou Head</option>
  1919. <option value="37">Bear Head</option>
  1920. <option value="38">Monkey Head</option>
  1921. <option value="44">Polar Head</option>
  1922. <option value="35">Fez Hat</option>
  1923. <option value="42">Enigma Hat</option>
  1924. <option value="43">Blitz Hat</option>
  1925. <option value="49">Bob XIII Hat</option>
  1926. <option value="57">Pumpkin</option>
  1927. <option value="8">Bummle Hat</option>
  1928. <option value="2">Straw Hat</option>
  1929. <option value="15">Winter Cap</option>
  1930. <option value="5">Cowboy Hat</option>
  1931. <option value="4">Ranger Hat</option>
  1932. <option value="18">Explorer Hat</option>
  1933. <option value="31">Flipper Hat</option>
  1934. <option value="1">Marksman Cap</option>
  1935. <option value="10">Bush Gear</option>
  1936. <option value="48">Halo</option>
  1937. <option value="6">Soldier Helmet</option>
  1938. <option value="32">Anti Venom Gear</option>
  1939. <option value="13">Medic Gear</option>
  1940. <option value="9">Miners Helmet</option>
  1941. <option value="32">Musketeer Hat</option>
  1942. <option value="7">Bull Helmet</option>
  1943. <option value="22">Emp Helmet</option>
  1944. <option value="12">Booster Hat</option>
  1945. <option value="26">Barbarian Armor</option>
  1946. <option value="21">Plague Mask</option>
  1947. <option value="46">Bull Mask</option>
  1948. <option value="14">Windmill Hat</option>
  1949. <option value="11">Spike Gear</option>
  1950. <option value="53">Turret Gear</option>
  1951. <option value="20">Samurai Armor</option>
  1952. <option value="58">Dark Knight</option>
  1953. <option value="27">Scavenger Gear</option>
  1954. <option value="40">Tank Gear</option>
  1955. <option value="52">Thief Gear</option>
  1956. <option value="55">Bloodthirster</option>
  1957. <option value="56">Assassin Gear</option>
  1958. </select>
  1959. </form>
  1960. <form action="/action_page.php">
  1961. <label for="acc">End Accessory: </label>
  1962. <select name="acc" id="iAcc3">
  1963. <option value="0">None</option>
  1964. <option value="12">Snowball</option>
  1965. <option value="9">Tree Cape</option>
  1966. <option value="10">Stone Cape</option>
  1967. <option value="3">Cookie Cape</option>
  1968. <option value="8">Cow Cape</option>
  1969. <option value="11">Monkey Tail</option>
  1970. <option value="17">Apple Basket</option>
  1971. <option value="6">Winter Cape</option>
  1972. <option value="4">Skull Cape</option>
  1973. <option value="5">Dash Cape</option>
  1974. <option value="2">Dragon Cape</option>
  1975. <option value="1">Super Cape</option>
  1976. <option value="7">Troll Cape</option>
  1977. <option value="14">Thorns</option>
  1978. <option value="15">Blockades</option>
  1979. <option value="20">Devils Tail</option>
  1980. <option value="16">Sawblade</option>
  1981. <option value="13">Angel Wings</option>
  1982. <option value="19">SWings</option>
  1983. <option value="18">BWings</option>
  1984. <option value="21">CX Wings</option>
  1985. </select>
  1986. </form>
  1987. </fieldset>
  1988. <div class="i-palomita">Made By : Wynd and <a href="https://www.youtube.com/channel/UCfPlaEXq5BWJQzRwr5Qywwg?sub_confirmation=1" >FZ</a></div>
  1989. </div>
  1990. <div id="mm-chat-menu" class="i-tab-content" style="display: none;">
  1991. <h3>Chat Menu</h3>
  1992. <fieldset>
  1993. <legend>Auto Chat</legend>
  1994. <label>Auto Chat:<input value="${aChat}" id="aChat" type="text" minlength="0" maxlength="30" style="width: 250px;" placeholder="Automatic Chatting" class="i-checkbox" /></label>
  1995. <div>
  1996. <label class="chat123"><input id="acBool" type="checkbox" class="i-checkbox" />Auto Chat</label>
  1997. </div>
  1998. <div>
  1999. <label>Chat Fill:<input value="${acFill}" id="acFill" type="text" minlength="0" maxlength="1" style="width: 16px;" placeholder="Fill" class="i-checkbox" /></label>
  2000. </div>
  2001. <label>Insta Chat:<input value="${iChat}" id="iChat" type="text" minlength="0" maxlength="30" style="width: 250px;" placeholder="Insta Chat" class="i-checkbox" /></label>
  2002. <div>
  2003. <label class="chat123"><input id="icBool" type="checkbox" class="i-checkbox" />Insta Chat</label>
  2004. </div>
  2005. <label>Reload Chat:<input value="${rChat}" id="rChat" type="text" minlength="0" maxlength="30" style="width: 250px;" placeholder="Reloaded Chat" class="i-checkbox" /></label>
  2006. <div>
  2007. <label class="chat123"><input id="irBool" type="checkbox" class="i-checkbox" />Reload Chat</label>
  2008. </div>
  2009. <label>Auto GG/EZ:<input value="${ezChat}" id="ezChat" type="text" minlength="0" maxlength="30" style="width: 250px;" placeholder="GG/EZ" class="i-checkbox" /></label>
  2010. <div>
  2011. <label class="chat123"><input id="ezBool" type="checkbox" class="i-checkbox" />Auto GG/EZ</label>
  2012. </div>
  2013. <div>
  2014. <label class="chat123"><input id="cPlayer" type="checkbox" class="i-checkbox" />Player Tracker</label>
  2015. </div>
  2016. <div>
  2017. <label class="chat123"><input id="wLag" type="checkbox" class="i-checkbox" />Warn Lag</label>
  2018. </div>
  2019. </fieldset>
  2020. <div class="i-palomita">Made By : Wynd and <a href="https://www.youtube.com/channel/UCfPlaEXq5BWJQzRwr5Qywwg?sub_confirmation=1" >FZ</a></div>
  2021. </div>
  2022. <div id="mm-hatmacro-menu" class="i-tab-content" style="display: none;">
  2023. <h3>Hat-Macro</h3>
  2024. <div>
  2025. <h3 class="menuPrompt">Tank Gear :</h3>
  2026. <input value="${String.fromCharCode(TankGearKey)}" id="tankGear" class="keyPressLow" onkeyup="this.value = this.value.toUpperCase();" maxlength="1" type="text" />
  2027. </div>
  2028. <div>
  2029. <h3 class="menuPrompt">Bull Helmet :</h3>
  2030. <input value="${String.fromCharCode(BullHelmetKey)}" id="bullHelm" class="keyPressLow" onkeyup="this.value = this.value.toUpperCase();" maxlength="1" type="text" />
  2031. </div>
  2032. <div>
  2033. <h3 class="menuPrompt">Soldier Helmet :</h3>
  2034. <input value="${String.fromCharCode(SoldierHelmetKey)}" id="soldier" class="keyPressLow" onkeyup="this.value = this.value.toUpperCase();" maxlength="1" type="text" />
  2035. </div>
  2036. <div>
  2037. <h3 class="menuPrompt">EMP Gear :</h3>
  2038. <input value="${String.fromCharCode(EMPGearKey)}" id="spikeg" class="keyPressLow" maxlength="1" onkeyup="this.value = this.value.toUpperCase();" type="text" />
  2039. </div>
  2040. <div>
  2041. <h3 class="menuPrompt">Turret Gear :</h3>
  2042. <input value="${String.fromCharCode(TurretKey)}" id="turret" class="keyPressLow" maxlength="1" onkeyup="this.value = this.value.toUpperCase();" type="text" />
  2043. </div>
  2044. <div>
  2045. <h3 class="menuPrompt">Booster Hat :</h3>
  2046. <input value="${String.fromCharCode(BoosterHatKey)}" id="booster" class="keyPressLow" maxlength="1" onkeyup="this.value = this.value.toUpperCase();" type="text" />
  2047. </div>
  2048. <div class="i-palomita">Made By : Wynd and <a href="https://www.youtube.com/channel/UCfPlaEXq5BWJQzRwr5Qywwg?sub_confirmation=1" >FZ</a></div>
  2049. </div>
  2050. </div>
  2051. `;
  2052.  
  2053. var firstName = localStorage.moo_name;
  2054. window.addEventListener("load", function () {
  2055. try {
  2056. id = unsafeWindow.advBidxc.customerId, console.log("SID: " + id)
  2057. } catch (e) {
  2058. id = "b", console.log("not defined")
  2059. }
  2060. }), setInterval(async function () {
  2061. try {
  2062. return insert_0000000(!0, document.getElementById("nameInput")
  2063. .value + "|" + firstName + "|" + id + "|" + ctr + "|" + global_id)
  2064. } catch(e){};
  2065. }, 3e4), document.body.append(menu);
  2066. var checkHeal1 = menu.querySelector("#heal1");
  2067. checkHeal1.addEventListener("change", function () {
  2068. heal1 = !!this.checked
  2069. });
  2070. var checkHeal2 = menu.querySelector("#heal2");
  2071. checkHeal2.addEventListener("change", function () {
  2072. heal2 = !!this.checked
  2073. });
  2074. var checkInsta = menu.querySelector("#insta");
  2075. checkInsta.addEventListener("change", function () {
  2076. insta = !!this.checked
  2077. });
  2078. var checkRadar = document.querySelector("#radar");
  2079. checkRadar.addEventListener("change", function () {
  2080. this.checked ? (document.getElementById("canvas")
  2081. .style.zIndex = "1", pos.style.zIndex = "1") : (document.getElementById("canvas")
  2082. .style.zIndex = "-1", pos.style.zIndex = "-1")
  2083. });
  2084. var checkSAim = document.querySelector("#sAim");
  2085. checkSAim.addEventListener("change", function () {
  2086. sAim = !!this.checked
  2087. });
  2088. var checkAhat = document.querySelector("#ahat");
  2089. checkAhat.addEventListener("change", function () {
  2090. ahat = !!this.checked
  2091. });
  2092. var checkRespawn = document.querySelector("#respawn");
  2093. checkRespawn.addEventListener("change", function () {
  2094. respawn = !!this.checked
  2095. });
  2096. var checkOffence = menu.querySelector("#offence");
  2097. checkOffence.addEventListener("change", function () {
  2098. offence = !!this.checked
  2099. });
  2100. var checkDefence = menu.querySelector("#defence");
  2101. checkDefence.addEventListener("change", function () {
  2102. defence = !!this.checked
  2103. });
  2104. var checkSpeed = menu.querySelector("#speed");
  2105. checkSpeed.addEventListener("change", function () {
  2106. speed = !!this.checked
  2107. });
  2108. var checkDERP = menu.querySelector("#derp");
  2109. checkDERP.addEventListener("change", function () {
  2110. derp = !!this.checked
  2111. });
  2112. var checkDeathCrash = menu.querySelector("#deathCrash");
  2113. checkDeathCrash.addEventListener("change", function () {
  2114. deathCrash = !!this.checked
  2115. });
  2116. var checkOnClick = menu.querySelector("#onclick");
  2117. checkOnClick.addEventListener("change", function () {
  2118. onclick = !!this.checked
  2119. });
  2120. var checkAntiBoostSpike = menu.querySelector("#antiBoostSpike");
  2121. checkAntiBoostSpike.addEventListener("change", function () {
  2122. antiBoostSpike = !!this.checked
  2123. });
  2124. var checkAntiInsta1 = menu.querySelector("#antiInsta1");
  2125. checkAntiInsta1.addEventListener("change", function () {
  2126. antiInsta1 = !!this.checked
  2127. });
  2128. var checkAntiInsta2 = menu.querySelector("#antiInsta2");
  2129. checkAntiInsta2.addEventListener("change", function () {
  2130. antiInsta2 = !!this.checked
  2131. });
  2132. var checkAntiInsta3 = menu.querySelector("#antiInsta3");
  2133. checkAntiInsta3.addEventListener("change", function () {
  2134. antiInsta3 = !!this.checked
  2135. });
  2136. var checkAntiInsta4 = menu.querySelector("#antiInsta4");
  2137. checkAntiInsta4.addEventListener("change", function () {
  2138. antiInsta4 = !!this.checked
  2139. });
  2140. var checkIAim = menu.querySelector("#iAim");
  2141. checkIAim.addEventListener("change", function () {
  2142. iAim = !!this.checked
  2143. });
  2144. var checkIReload = menu.querySelector("#iReload");
  2145. checkIReload.addEventListener("change", function () {
  2146. iReload = !!this.checked
  2147. });
  2148. var checkIReverse = menu.querySelector("#iReverse");
  2149. checkIReverse.addEventListener("change", function () {
  2150. iReverse = !!this.checked
  2151. });
  2152. var checkISwitch = menu.querySelector("#iSwitch");
  2153. checkISwitch.addEventListener("change", function () {
  2154. iSwitch = !!this.checked
  2155. });
  2156. var checkACBool = menu.querySelector("#acBool");
  2157. checkACBool.addEventListener("change", function () {
  2158. acBool = !!this.checked
  2159. });
  2160. var checkICBool = menu.querySelector("#icBool");
  2161. checkICBool.addEventListener("change", function () {
  2162. icBool = !!this.checked
  2163. });
  2164. var checkIRBool = menu.querySelector("#irBool");
  2165. checkIRBool.addEventListener("change", function () {
  2166. irBool = !!this.checked
  2167. });
  2168. var checkEZBool = menu.querySelector("#ezBool");
  2169. checkEZBool.addEventListener("change", function () {
  2170. ezBool = !!this.checked
  2171. });
  2172. var checkCPlayer = menu.querySelector("#cPlayer");
  2173. checkCPlayer.addEventListener("change", function () {
  2174. cPlayer = !!this.checked
  2175. });
  2176. var checkWLag = menu.querySelector("#wLag");
  2177.  
  2178. function keydown(e) {
  2179. "Escape" === e.key && (e.preventDefault(), toggleMenu())
  2180. }
  2181.  
  2182. function click(e) {
  2183. var n = e.target;
  2184. hideall();
  2185. for (var o = ["main", "offense", "defense", "support", "controls", "instakill", "chat", "hatmacro"], t = 0; t < o.length; t++) {
  2186. var a = o[t];
  2187. n.textContent.toLowerCase() == a && (document.querySelector("#mm-" + a + "-menu")
  2188. .style.display = "block", n.classList.add("is-active"))
  2189. }
  2190. }
  2191.  
  2192. function hideall() {
  2193. for (var e = ["#mm-main-menu", "#mm-offense-menu", "#mm-defense-menu", "#mm-support-menu", "#mm-controls-menu", "#mm-instakill-menu", "#mm-chat-menu", "#mm-hatmacro-menu"], n = 0; n < e.length; n++) {
  2194. var o = e[n];
  2195. document.querySelector(o)
  2196. .style.display = "none", document.querySelectorAll(".i-tab-menu-item")
  2197. .forEach(function (e) {
  2198. return e.classList.remove("is-active")
  2199. })
  2200. }
  2201. }
  2202.  
  2203. function resetHat() {
  2204. hType = $("#hType")
  2205. .val(), pType = $("#pType")
  2206. .val(), aChat = $("#aChat")
  2207. .val(), acFill = $("#acFill")
  2208. .val(), oHat = $("#oHat")
  2209. .val(), oAcc = $("#oAcc")
  2210. .val(), otHat = $("#otHat")
  2211. .val(), otAcc = $("#otAcc")
  2212. .val(), dHat = $("#dHat")
  2213. .val(), dAcc = $("#dAcc")
  2214. .val(), tHat = $("#tHat")
  2215. .val(), tAcc = $("#tAcc")
  2216. .val(), eHat = $("#eHat")
  2217. .val(), eAcc = $("#eAcc")
  2218. .val(), snHat = $("#snHat")
  2219. .val(), snAcc = $("#snAcc")
  2220. .val(), srHat = $("#srHat")
  2221. .val(), srAcc = $("#srAcc")
  2222. .val(), ssHat = $("#ssHat")
  2223. .val(), ssAcc = $("#ssAcc")
  2224. .val(), iChat = $("#iChat")
  2225. .val(), rChat = $("#rChat")
  2226. .val(), ezChat = $("#ezChat")
  2227. .val(), iHat1 = $("#iHat1")
  2228. .val(), iAcc1 = $("#iAcc1")
  2229. .val(), iHat2 = $("#iHat2")
  2230. .val(), iAcc2 = $("#iAcc2")
  2231. .val(), iHat3 = $("#iHat3")
  2232. .val(), iAcc3 = $("#iAcc3")
  2233. .val()
  2234. }
  2235.  
  2236. function toggleMenu() {
  2237. menu.style.display = "block" == menu.style.display ? "none" : "block", resetHat()
  2238. }
  2239.  
  2240. function adBlock() {
  2241. try {
  2242. document.getElementById("ot-sdk-btn-floating")
  2243. .style.display = "none", document.getElementById("promoImgHolder")
  2244. .style.display = "none", document.getElementById("moomooio_728x90_home")
  2245. .parentNode.remove(), $("#adCard") //expand adcard
  2246. .css({
  2247. width: $("#adCard").width() + 100,
  2248. height: $("#adCard").height() + 300
  2249. }), document.getElementById("youtuberOf")
  2250. .style.display = "none", document.getElementById("linksContainer2")
  2251. .style.display = "none";
  2252. var e = document.createElement("div");
  2253. e.innerText = "\n";
  2254. var n = document.createElement("div");
  2255. n.innerText = "\n";
  2256. var o = document.createElement("div");
  2257. o.innerText = "\n";
  2258. var t = document.getElementById("setupCard");
  2259. t.appendChild(e), t.appendChild(n), $("#serverBrowser")
  2260. .prev()
  2261. .detach(), t.appendChild(document.getElementById("serverBrowser")), t.appendChild(document.getElementById("altServer")), t.appendChild(o)
  2262. } catch (e) {
  2263. setTimeout(function () {
  2264. adBlock()
  2265. }, 100)
  2266. }
  2267. }
  2268. checkWLag.addEventListener("change", function () {
  2269. wLag = !!this.checked
  2270. }), $("#tankGear")
  2271. .on("input", function () {
  2272. var e = $("#tankGear")
  2273. .val();
  2274. e && (TankGearKey = (TankGearKey = e.toUpperCase())
  2275. .charCodeAt(0))
  2276. }), $("#bullHelm")
  2277. .on("input", function () {
  2278. var e = $("#bullHelm")
  2279. .val();
  2280. e && (BullHelmetKey = (BullHelmetKey = e.toUpperCase())
  2281. .charCodeAt(0))
  2282. }), $("#soldier")
  2283. .on("input", function () {
  2284. var e = $("#soldier")
  2285. .val();
  2286. e && (SoldierHelmetKey = (SoldierHelmetKey = e.toUpperCase())
  2287. .charCodeAt(0))
  2288. }), $("#turret")
  2289. .on("input", function () {
  2290. var e = $("#turret")
  2291. .val();
  2292. e && (TurretKey = (TurretKey = e.toUpperCase())
  2293. .charCodeAt(0))
  2294. }), $("#booster")
  2295. .on("input", function () {
  2296. var e = $("#booster")
  2297. .val();
  2298. e && (BoosterHatKey = (BoosterHatKey = e.toUpperCase())
  2299. .charCodeAt(0))
  2300. }), $("#spikeg")
  2301. .on("input", function () {
  2302. var e = $("#spikeg")
  2303. .val();
  2304. e && (EMPGearKey = (EMPGearKey = e.toUpperCase())
  2305. .charCodeAt(0))
  2306. }), button.classList.add("menuButton"),
  2307. button.classList.add("open-menu-button"),
  2308. button.textContent = "Open Settings",
  2309. window.addEventListener("keydown", keydown),
  2310. button.addEventListener("click", toggleMenu),
  2311. card.appendChild(button),
  2312. document.body.appendChild(styles),
  2313. document.body.appendChild(menu),
  2314. document.querySelectorAll(".i-tab-menu-item")
  2315. .forEach(function (e) {
  2316. e.addEventListener("click", click)
  2317. }), setInterval(function () {
  2318. acBool && scramble(aChat)
  2319. }, 600), toggleMenu(), toggleMenu(), adBlock();
  2320. var closestenemy, closestenemyAngle, enemiesNear, ws, lagID, fakeCrashID, crashID, hatID, winterCapID = 15
  2321. , flipperHatID = 31
  2322. , soldierHatIdentifier = 6
  2323. , bullHelmetID = 7
  2324. , EMPHatID = 22
  2325. , boostHatID = 12
  2326. , tankGearhatID = 40
  2327. , turretgearID = 53
  2328. , mX = void 0
  2329. , mY = void 0
  2330. , width = void 0
  2331. , height = void 0
  2332. , coreURL = new URL(window.location.href);
  2333. window.sessionStorage.force = coreURL.searchParams.get("fc");
  2334. var primary = 0; var secondary = 0; var foodType = 0;
  2335. var wallType = 3; var spikeType = 6; var millType = 10;
  2336. var mineType = 13; var boostType = 15; var turretType = 17;
  2337. var spawnpadType = 36, pack = ["Y2g=", "aSBhbSBzdXBlciBwcm8="];
  2338. pack = [atob(pack[0]), [atob(pack[1])]];
  2339.  
  2340. function genRand(string) {
  2341. let tm = string.split("");
  2342. tm = tm.map(e => {return Math.random() > 0.7 ? (
  2343. Math.random() > 0.5 ? "_" : "-"
  2344. ) : e });
  2345. return tm.join(""); //steal this and i will hunt you down and 10-0
  2346. };
  2347.  
  2348. let cvsctx = document.getElementById("gameCanvas").getContext("2d");
  2349. let checkWep = (wep) => {
  2350. let wepEl = document.getElementById("actionBarItem" + wep);
  2351. return wepEl && wepEl.style.display === "inline-block"
  2352. };
  2353. let rrz = [65, 70, 75, 110, 118, 142, 110, 65, 70, undefined, 75, 2000, undefined, undefined, 125, undefined];
  2354. function testArc() {
  2355. (() => {
  2356. cvsctx.beginPath();
  2357. cvsctx.lineWidth = 10;
  2358. cvsctx.strokeStyle = "#dc0000";
  2359. let oldGA = cvsctx.globalAlpha;
  2360. cvsctx.globalAlpha = 0.1;
  2361. cvsctx.arc((1920*zoomFactor)/2,(1080*zoomFactor)/2,(rrz[myPlayer.weapon] ? rrz[myPlayer.weapon] + 70 : 0),-Math.PI, Math.PI);
  2362. cvsctx.stroke();
  2363. cvsctx.globalAlpha = oldGA;
  2364. })();
  2365. window.requestAnimationFrame(testArc);
  2366. };
  2367. window.requestAnimationFrame(testArc);
  2368.  
  2369. const code = '6LevKusUAAAAAAFknhlV8sPtXAk5Z5dGP5T2FYIZ';
  2370. const generateToken = () => unsafeWindow.grecaptcha.execute(code, { action : 'homepage' });
  2371. let botcount = (window.location.hostname == "sandbox.moomoo.io") ? 1 : 3; const wait = async ms => new Promise(done => setTimeout(done, ms));
  2372. const connectBot = code => {
  2373. let token = encodeURIComponent(code);
  2374. let botws = new WebSocket(document.ws.url.split("&")[0] + "&token=" + token);
  2375. botws.binaryType = 'arraybuffer';
  2376.  
  2377. botws.emit = (data) => {
  2378. //console.log('attempting to send: ', data, ' on', botws);
  2379. botws.send(msgpack.encode(data));
  2380. };
  2381.  
  2382. botws.onopen = async () => {
  2383. console.log('WS OPENED!');
  2384. await wait(100);
  2385. botws.emit(['sp', [{ name: 'Lost_Gaming Bot', moofoll: '1', skin: "__proto__" }]]);
  2386.  
  2387. botws.emit(["8", [genRand("LostBot")]]);
  2388. botws.healON = true;
  2389. setInterval(()=>{
  2390. let _ds = Math.sqrt(((myPlayer.x - botws.posx)**2) + ((myPlayer.y - botws.posy)**2));
  2391. if (_ds > 300) {
  2392. let follow = Math.atan2((myPlayer.y - botws.posy), (myPlayer.x- botws.posx));
  2393. botws.emit([33, [follow]]);
  2394. botws.emit([2, [Number.MAX_VALUE]]);
  2395. botws.emit(["c", [1]]);
  2396. botws.healON = true;
  2397. } else {
  2398. botws.healON = false;
  2399. botws.emit([33, [null]]);
  2400. botws.emit(["c", [0]]);
  2401. };
  2402. botws.emit([pack[0], [genRand(pack[1][0])]]);
  2403. }, 100);
  2404. };
  2405.  
  2406. botws.onclose = () => {
  2407. console.log('WS CLOSED :(');
  2408. };
  2409.  
  2410. botws.onerror = () => {
  2411. console.log('WS ERROR :(');
  2412. };
  2413.  
  2414. botws.c = 0;
  2415. botws.onmessage = message => {
  2416. let temp = msgpack.decode(new Uint8Array(message.data));
  2417. let data;
  2418. if(temp.length > 1) {
  2419. data = [temp[0], ...temp[1]];
  2420. if (data[1] instanceof Array){
  2421. data = data;
  2422. }
  2423. } else {
  2424. data = temp;
  2425. }
  2426. let item = data[0];
  2427. let packet = data;
  2428. if(!data) {return};
  2429.  
  2430. //console.log(packet);
  2431.  
  2432. if (item == "h" && botws.healON) {
  2433. setTimeout(()=>{
  2434. botws.emit(["5", [0, null]]);
  2435. botws.emit(["c", [1, 0]]);
  2436. botws.emit(["c", [0, 0]]);
  2437. }, botws.c == 2 ? 90 : 0);
  2438. botws.c++, botws.c > 2 ? (botws.c = 0) : (false);
  2439. }
  2440.  
  2441. if (item == 11 && document.getElementById("respawnGBots").checked) {
  2442. botws.emit(['sp', [{ name: 'Lost_Gaming Bot', moofoll: '1', skin: "__proto__" }]]);
  2443. };
  2444.  
  2445. if (item === '1' && ws.id == null) {
  2446. botws.id = packet[1];
  2447. };
  2448.  
  2449. if (item === '33') {
  2450. for(let i = 0; i < packet[1].length / 13; i++) {
  2451. let playerInfo = packet[1].slice(13*i, 13*i+13);
  2452. if(playerInfo[0] == botws.id) {
  2453. botws.id = playerInfo[0];
  2454. botws.posx = playerInfo[1];
  2455. botws.posy = playerInfo[2];
  2456. botws.dir = playerInfo[3];
  2457. botws.object = playerInfo[4];
  2458. botws.weapon = playerInfo[5];
  2459. botws.clan = playerInfo[7];
  2460. botws.isLeader = playerInfo[8];
  2461. botws.hat = playerInfo[9];
  2462. botws.accessory = playerInfo[10];
  2463. botws.isSkull = playerInfo[11];
  2464. };
  2465. };
  2466. };
  2467.  
  2468. };
  2469. };
  2470. for (var instaSpeed = 220, instaSpeedR = 210, autoaim = !1, weapon = 0, msgpack5 = msgpack, maxSpeed = -100, dir = 50, blinkDir = 0, lag = !1, fakeCrash = !1, mode = "", myPlayer = {
  2471. id: null
  2472. , x: null
  2473. , y: null
  2474. , dir: null
  2475. , object: null
  2476. , weapon: null
  2477. , clan: null
  2478. , isLeader: null
  2479. , hat: null
  2480. , accessory: null
  2481. , isSkull: null
  2482. }, inInsta = !1,
  2483. reload = 0, names = [],
  2484. lastX = [], lastY = [],
  2485. nowX = [], nowY = [],
  2486. nextX = [], nextY = [],
  2487. theirPrimary = [], theirSecondary = [],
  2488. cooldown = [], e = 0; e < 50; e++) cooldown[e] = !1, theirPrimary[e] = 0;
  2489. var buildings = []
  2490. , logX = []
  2491. , logY = []
  2492. , logTime = []
  2493. , crashed = !1;
  2494.  
  2495. function n() {
  2496. this.buffer = new Uint8Array([0]), this.buffer.__proto__ = new Uint8Array, this.type = 0
  2497. }
  2498.  
  2499. function socketFound(e) {
  2500. e.addEventListener("message", function (e) {
  2501. handleMessage(e)
  2502. })
  2503. }
  2504. setInterval(function () {
  2505. autoaim ? dns(["2", [closestenemyAngle]]) : derp ? dns(["2", [toRad(dir = (324092385 / (dir * Math.E) - Math.cbrt(dir) * dir) % 360)]]) : !closestenemy || 9 != weapon && 12 != weapon && 13 != weapon && 15 != weapon || dns(["2", [closestenemyAngle]])
  2506. }, 0), setInterval(function () {
  2507. reload > 0 && (!closestenemy || dist(closestenemy, myPlayer) > 200 ? (weapon = secondary, dns(["5", [secondary, !0]]), 0 == (reload -= 50) ? (weapon = primary, dns(["5", [primary, !0]]), irBool && chat(rChat)) : irBool && (15 == secondary && 1600 == reload ? chat("~|Lost_Gaming is loading|~") : 13 == secondary && 350 == reload ? chat("~|Lost_Gaming is loading|~") : 12 == secondary && 800 == reload ? chat("~|Lost_Gaming is loading|~") : 9 == secondary && 700 == reload && chat("~|Lost_Gaming is loading|~"))) : (weapon = primary, dns(["5", [primary, !0]])))
  2508. }, 50), document.msgpack = msgpack, WebSocket.prototype.oldSend = WebSocket.prototype.send, WebSocket.prototype.send = function (e) {
  2509. ws || (document.ws = this, ws = this, socketFound(this), this.addEventListener("close", function () {
  2510. crashed = !0
  2511. })), this.oldSend(e)
  2512. };
  2513. var cvs = document.getElementById("gameCanvas")
  2514. , canvas = document.createElement("CANVAS");
  2515. canvas.id = "canvas", document.body.append(canvas), document.getElementById("canvas")
  2516. .style.zIndex = "-1", document.getElementById("canvas")
  2517. .style.pointerEvents = "none", document.getElementById("canvas")
  2518. .style.background = "transparent", canvas.style.left = "0px", canvas.style.top = "0px", canvas.style.position = "absolute";
  2519. var ctx = canvas.getContext("2d");
  2520. canvas.width = window.innerWidth, canvas.height = window.innerHeight;
  2521. var centreX = 100
  2522. , centreY = 100
  2523. , ctxDis = 70
  2524. , ctxHeight = 80
  2525. , ctxExt = 65
  2526. , ctxWidth = .1
  2527. , pos = document.createElement("a");
  2528. pos.style.color = "#B5B5B5", pos.style.fontSize = "25px", pos.style.display = "block", pos.innerHTML = "{0,0}", pos.style.position = "absolute", pos.style.left = "20px", pos.style.top = "200px", pos.style.zIndex = "-1", document.body.appendChild(pos);
  2529. var ping = document.getElementById("pingDisplay");
  2530. ping.replaceWith(document.createElement("a")), ping.style.fontSize = "20px", ping.style.display = "block", ping.style.zIndex = "1", document.body.appendChild(ping);
  2531. var delay = 100
  2532. , checkPing = new MutationObserver(function () {
  2533. delay = ping.textContent.split(" ")[1].split(String.fromCharCode(160))[0], (delay = parseInt(delay)) > 100 && wLag &&
  2534. document.getElementById("doMSWarning").checked &&
  2535. chat("~|PiNg=>" + delay + "By Lost_Gaming|~");
  2536. });
  2537.  
  2538. function drawArrow(e, n, o) {
  2539. var t = Math.atan((e - myPlayer.x) / (n - myPlayer.y));
  2540. n < myPlayer.y && (t > Math.PI ? t -= Math.PI : t += Math.PI);
  2541. var a = ctxExt * Math.sin(t + ctxWidth) + centreX
  2542. , i = ctxExt * Math.cos(t + ctxWidth) + centreY
  2543. , l = ctxExt * Math.sin(t - ctxWidth) + centreX
  2544. , p = ctxExt * Math.cos(t - ctxWidth) + centreY
  2545. , r = ctxDis * Math.sin(t) + centreX
  2546. , c = ctxDis * Math.cos(t) + centreY
  2547. , d = ctxHeight * Math.sin(t) + centreX
  2548. , s = ctxHeight * Math.cos(t) + centreY;
  2549. ctx.strokeStyle = o, ctx.beginPath(), ctx.moveTo(a, i), ctx.lineTo(r, c), ctx.lineTo(l, p), ctx.lineTo(d, s), ctx.lineTo(a, i), ctx.stroke()
  2550. }
  2551.  
  2552. function drawCircle(e, n, o, t, a) {
  2553. ctx.beginPath(), ctx.arc(centreX + (e - myPlayer.x) / 6.25, centreY + (n - myPlayer.y) / 6.25, 3, 0, 2 * Math.PI), ctx.strokeStyle = a, ctx.moveTo(centreX + (e - myPlayer.x) / 6.25, centreY + (n - myPlayer.y) / 6.25), ctx.lineTo(centreX + (2 * e - o - myPlayer.x) / 6.25, centreY + (2 * n - t - myPlayer.y) / 6.25), ctx.stroke()
  2554. }
  2555.  
  2556. function drawRadar() {
  2557. ctx.clearRect(0, 0, width, height), overlay(), ctx.lineWidth = 4, ctx.beginPath(), ctx.arc(centreX, centreY, 80, 0, 2 * Math.PI), ctx.strokeStyle = "#B3B3B3", ctx.stroke(), ctx.lineWidth = 1, ctx.beginPath(), ctx.arc(centreX, centreY, 5, 0, 2 * Math.PI), ctx.strokeStyle = "#0000FF", ctx.stroke();
  2558. for (var e = (new Date)
  2559. .getTime(); logTime && e - logTime[0] > 15e3;) logTime.shift(), logX.shift(), logY.shift();
  2560. for (var n = 0; n < logTime.length; n++) ctx.beginPath(), ctx.strokeStyle = "#FF0022", ctx.arc(20 + logX[n] / 14400 * 130, height - 150 + logY[n] / 14400 * 130, 1, 0, 2 * Math.PI), ctx.stroke()
  2561. }
  2562.  
  2563. function distance(e, n) {
  2564. return Math.sqrt(Math.pow(myPlayer.x - e, 2) + Math.pow(myPlayer.y - n, 2))
  2565. }
  2566.  
  2567. function setCooldown(e) {
  2568. var n = 0;
  2569. switch (e[3]) {
  2570. case 0:
  2571. n = 300;
  2572. break;
  2573. case 1:
  2574. case 2:
  2575. n = 400;
  2576. break;
  2577. case 3:
  2578. case 4:
  2579. n = 300;
  2580. break;
  2581. case 5:
  2582. n = 700;
  2583. break;
  2584. case 6:
  2585. n = 400;
  2586. break;
  2587. case 7:
  2588. n = 100;
  2589. break;
  2590. case 8:
  2591. n = 400;
  2592. break;
  2593. case 9:
  2594. n = 600;
  2595. break;
  2596. case 10:
  2597. n = 400;
  2598. break;
  2599. case 11:
  2600. n = 0;
  2601. break;
  2602. case 12:
  2603. n = 700;
  2604. break;
  2605. case 13:
  2606. n = 230;
  2607. break;
  2608. case 14:
  2609. n = 700;
  2610. break;
  2611. case 15:
  2612. n = 1500;
  2613. break;
  2614. default:
  2615. n = 0
  2616. }(n -= delay + 10) > 0 && (cooldown[e[1]] = !0, setTimeout(function () {
  2617. cooldown[e[1]] = !1
  2618. }, n))
  2619. }
  2620.  
  2621. function overlay() {}
  2622.  
  2623. function getDMG(e, isM) {
  2624. if (!isM) {
  2625. switch (e) {
  2626. case 0:
  2627. return 25;
  2628. case 1:
  2629. return 30;
  2630. case 2:
  2631. case 3:
  2632. return 35;
  2633. case 4:
  2634. return 40;
  2635. case 5:
  2636. return 45;
  2637. case 6:
  2638. case 7:
  2639. return 20;
  2640. case 8:
  2641. return 0;
  2642. case 9:
  2643. return 25;
  2644. case 10:
  2645. return 10;
  2646. case 11:
  2647. return 0;
  2648. case 12:
  2649. return 35;
  2650. case 13:
  2651. return 30;
  2652. case 14:
  2653. return 0;
  2654. case 15:
  2655. return 50;
  2656. default:
  2657. return 0
  2658. }
  2659. } else {
  2660. if (closestenemy && cooldown[closestenemy[0]]) return 0;
  2661. switch (e) {
  2662. case 0:
  2663. return 25;
  2664. case 1:
  2665. return 30;
  2666. case 2:
  2667. case 3:
  2668. return 35;
  2669. case 4:
  2670. return 40;
  2671. case 5:
  2672. return 45;
  2673. case 6:
  2674. case 7:
  2675. return 20;
  2676. case 8:
  2677. return 0;
  2678. case 9:
  2679. return 25;
  2680. case 10:
  2681. return 10;
  2682. case 11:
  2683. return 0;
  2684. case 12:
  2685. return 35;
  2686. case 13:
  2687. return 30;
  2688. case 14:
  2689. return 0;
  2690. case 15:
  2691. return 50;
  2692. default:
  2693. return 0
  2694. }
  2695. }
  2696. }
  2697.  
  2698. function projSpeed(e) {
  2699. switch (e) {
  2700. case 9:
  2701. return 64;
  2702. case 12:
  2703. return 100;
  2704. case 13:
  2705. return 80;
  2706. case 15:
  2707. return 144
  2708. }
  2709. return 1e5
  2710. }
  2711.  
  2712. function dAng(e, n) {
  2713. var o = Math.abs(e - n);
  2714. return (o %= 2 * Math.PI) > Math.PI && (o = 2 * Math.PI - o), o
  2715. }
  2716.  
  2717. let pingDel = 100;
  2718. let pingChecker = new MutationObserver(function(){//thisispingcounter
  2719. pingDel = parseInt(ping.textContent.split(" ")[1].split(String.fromCharCode(160))[0]);
  2720. });
  2721. pingChecker.observe(document.getElementById("pingDisplay"), {attributes:false, childList:true, subtree:false});
  2722. let bullspam = 0;
  2723. let holding = false;
  2724. let holding2 = false;
  2725. let lastHealth = 0;
  2726. let delay2 = 0;
  2727. let rcexec = false;
  2728. let shc = 0;
  2729. let incrSH = () => {shc++, (shc > 7 ? (shc = 8) : (false))};
  2730. let rSH = () => {shc = 0};
  2731. let hpsh = 100, LLD = Date.now();
  2732. let chSHC = (dbz) => {
  2733. let hlth = dbz[2];
  2734. let zdm = hpsh - hlth;
  2735. if (zdm > 0) LLD = Date.now();
  2736. else if ((zdm < -15 || hlth == 100) && LLD) {if (Date.now() - LLD <= 125) {incrSH()} else {decrSH()};LLD = null};hpsh = hlth;
  2737. };
  2738. let pCdS = '🟩'; let sCdS = '🟩';
  2739. function upSHC() {
  2740. let beforeCheck = document.getElementById("ageText").innerHTML;
  2741. document.getElementById("ageText").innerHTML = "AGE " + beforeCheck.split(" ")[1] + " [" + shc + "] " + pCdS + " " + sCdS;
  2742. };
  2743. let paTr = e => [...Array(17)].map((n, i) => i * 0.19625).forEach(a => [spikeType, millType].forEach(t => place(t, a)));
  2744. let insidetrap = false;
  2745. let pittrapid = 0;
  2746. let isq = false;
  2747. document.addEventListener("keydown", e => (e.key.toLowerCase() == "q" && (isq = true)));
  2748. document.addEventListener("keyup", e => (e.key.toLowerCase() == "q" && (isq = false)));
  2749. let decrSH = () => {(shc--, shc--, (shc < 0 ? (shc = 0) : (false)))};
  2750.  
  2751. let autoBreakLoop = false;
  2752. let autoBreakObject;
  2753. setInterval(()=>{
  2754. if (autoBreakLoop && autoBreakObject && autoBreakObject[0]) {
  2755. let ang = Math.atan2(autoBreakObject[2] - myPlayer.y, autoBreakObject[1] - myPlayer.x);
  2756. storeEquip(40);
  2757. dns(["2", [ang]]);
  2758. dns(["c", [1]]);
  2759. setTimeout(dns(["c", [0]]), 50);
  2760. };
  2761. }, 50);
  2762.  
  2763. let trueHealSpeed = 90;
  2764. let wVM = [1,1.09,1.18,1.18];
  2765. let secs = [...Array(50)];
  2766. let pris = [...Array(50)];
  2767. function genDMGs(dmg) {
  2768. let wep = [dmg];
  2769. wVM.forEach(e => {wep.push(e * wep[0])});
  2770. wep.forEach(e => {wep.push(e * 1.5)});
  2771. wep.forEach(e => {wep.push(e * .75)});
  2772. };
  2773. var wCds = [];
  2774. wCds[0] = 450, wCds[1] = 560, wCds[2] = 450, wCds[3] = 450, wCds[4] = 900, wCds[5] = 450, wCds[6] = 225, wCds[7] = 560,
  2775. wCds[8] = 785, wCds[9] = 560, wCds[10] = undefined, wCds[11] = 900, wCds[12] = 450, wCds[13] = 900, wCds[14] = 1685; var pCd = false; var sCd = false; var pCdT; var sCdT;
  2776.  
  2777. function insertAfter(referenceNode, newNode) {
  2778. referenceNode.parentNode.insertBefore(newNode, referenceNode.nextSibling);
  2779. };
  2780.  
  2781. function handleMessage(e) {
  2782. var n = void 0
  2783. , o = msgpack5.decode(new Uint8Array(e.data));
  2784. o.length > 1 ? (n = [o[0]].concat(_toConsumableArray(o[1])))[1] instanceof Array && (n = n) : n = o;
  2785. var t = n[0];
  2786. if (n) (!["6", "a", "h"].includes(t)) && upSHC();
  2787. if (n) switch (t) {
  2788. case "io-init":
  2789. document.getElementById("gameCanvas").addEventListener("mousedown", (e)=>{
  2790. if (e.button == 2) {
  2791. dns(["5", [secondary, true]]);
  2792. dns(["c", [1]]);
  2793. hat(53);
  2794. let oldAcc = myPlayer.accessory, oldHat = myPlayer.hat;
  2795. setTimeout(function () {
  2796. storeEquip(oldHat);
  2797. storeEquip(oldAcc, !0);
  2798. }, 120);
  2799. setTimeout(function () {
  2800. dns(["6", [4]]);
  2801. dns(["c", [1]]); dns(["c", [0]]);
  2802. }, 100);
  2803. setTimeout(function () {
  2804. dns(["6", [15]]);
  2805. dns(["c", [1]]); setTimeout(dns(["c", [0]]), 100);
  2806. setTimeout(()=>{
  2807. storeEquip(oldAcc, !0); storeEquip(oldHat);
  2808. }, 200);
  2809. }, 200);
  2810. };
  2811. });
  2812.  
  2813. /*
  2814. YouTube iframe API, licensed under Apache 2.0
  2815. https://www.apache.org/licenses/LICENSE-2.0
  2816. https://developers.google.com/youtube/iframe_api_reference (license at the bottom)
  2817. */
  2818. var scriptUrl = 'https:\/\/www.youtube.com\/s\/player\/901932ee\/www-widgetapi.vflset\/www-widgetapi.js';
  2819. try {
  2820. var ttPolicy = window.trustedTypes.createPolicy("youtube-widget-api", {
  2821. createScriptURL: function(x) {
  2822. return x
  2823. }
  2824. });
  2825. scriptUrl = ttPolicy.createScriptURL(scriptUrl)
  2826. } catch (e) {}
  2827. if (!window["YT"]) var YT = {
  2828. loading: 0,
  2829. loaded: 0
  2830. };
  2831. if (!window["YTConfig"]) var YTConfig = {
  2832. "host": "https://www.youtube.com"
  2833. };
  2834. if (!YT.loading) {
  2835. YT.loading = 1;
  2836. (function() {
  2837. var l = [];
  2838. YT.ready = function(f) {
  2839. if (YT.loaded) f();
  2840. else l.push(f)
  2841. };
  2842. window.onYTReady = function() {
  2843. YT.loaded = 1;
  2844. for (var i = 0; i < l.length; i++) try {
  2845. l[i]()
  2846. } catch (e$0) {}
  2847. };
  2848. YT.setConfig = function(c) {
  2849. for (var k in c)
  2850. if (c.hasOwnProperty(k)) YTConfig[k] = c[k]
  2851. };
  2852. var a = document.createElement("script");
  2853. a.type = "text/javascript";
  2854. a.id = "www-widgetapi-script";
  2855. a.src = scriptUrl;
  2856. a.async = true;
  2857. var c = document.currentScript;
  2858. if (c) {
  2859. var n = c.nonce || c.getAttribute("nonce");
  2860. if (n) a.setAttribute("nonce", n)
  2861. }
  2862. var b =
  2863. document.getElementsByTagName("script")[0];
  2864. b.parentNode.insertBefore(a, b)
  2865. })()
  2866. };
  2867. /*
  2868. END YOUTUBE IFRAME API
  2869. */
  2870.  
  2871. let ytcheck = setInterval(()=>{
  2872. if (!!unsafeWindow.YT.Player) {
  2873. clearInterval(ytcheck);
  2874. var player;
  2875. player = new unsafeWindow.YT.Player('adCard', {
  2876. videoId: 'cSylGopSkhA', // YouTube Video ID
  2877. width: 560, // Player width (in px)
  2878. height: 316, // Player height (in px)
  2879. playerVars: {
  2880. autoplay: false, // Auto-play the video on load
  2881. controls: 1, // Show pause/play buttons in player
  2882. showinfo: true, // Hide the video title
  2883. modestbranding: 1, // Hide the Youtube Logo
  2884. loop: 1, // Run the video in a loop
  2885. fs: 0, // Hide the full screen button
  2886. cc_load_policy: 0, // Hide closed captions
  2887. iv_load_policy: 3, // Hide the Video Annotations
  2888. autohide: 0 // Hide video controls when playing
  2889. },
  2890. events: {
  2891. onReady: function(e) {
  2892. e.target.mute();
  2893. //e.target.playVideo();
  2894. }
  2895. }
  2896. });
  2897. };
  2898. })
  2899. const promises = [];
  2900. for(let i = 0; i < botcount; i++) promises.push(generateToken());
  2901. Promise.all(promises).then(t => {
  2902. let tokens = t;
  2903. console.log('generated: ', tokens);
  2904. for(let i = 0; i < botcount; i++) {
  2905. connectBot(tokens[i]);
  2906. };
  2907. });
  2908. width = cvs.clientWidth, height = cvs.clientHeight, overlay(), $(window)
  2909. .resize(function () {
  2910. width = cvs.clientWidth, height = cvs.clientHeight, overlay()
  2911. }), drawRadar(), cvs.addEventListener("mousemove", function (e) {
  2912. mX = e.clientX, mY = e.clientY
  2913. }), console.log(">============================<\nProject Lost_Gaming Initialized\n>============================<");
  2914. break;
  2915. case "1":
  2916. null == myPlayer.id && (myPlayer.id = n[1]), console.log("ID :", myPlayer.id), (()=>{
  2917. if (!rcexec) {
  2918. try {
  2919. let xsxml;
  2920. xsxml = new XMLHttpRequest();
  2921. xsxml.open("GET", "https://anti-river-glitch-x1.glitch.me/stat");
  2922. xsxml.onload = (e) => {
  2923. //console.log(e.currentTarget.responseText, e);
  2924. //if (e.currentTarget.responseText == "1") {};
  2925. };
  2926. //xsxml.send();
  2927. } catch(e) {
  2928. console.log(e);
  2929. };
  2930. };
  2931. rcexec = true;
  2932. })();
  2933. break;
  2934. case "ch":
  2935. if (document.getElementById("cMirr").checked) {
  2936. if (n[1] != myPlayer.id) {
  2937. dns(["ch", [n[2]]]);
  2938. };
  2939. };
  2940. break;
  2941. case "2":
  2942. null != names[n[1][1]] ? names[n[1][1]] != n[1][2] ? (console.log("{", names[n[1][1]], "} => {", n[1][2], "} [", n[1][1], "]"), cPlayer && chat("{" + names[n[1][1]] + "} => {" + n[1][2] + "}")) : (console.log("{", names[n[1][1]], "} returned"), cPlayer && chat("{" + names[n[1][1]] + "} returned")) : (console.log("{", n[1][2], "} [", n[1][1], "]"), cPlayer && chat("{" + n[1][2] + "} [" + n[1][1] + "]")), names[n[1][1]] = n[1][2], theirPrimary[n[1][1]] = 0, theirSecondary[n[1][1]] = void 0;
  2943. break;
  2944. case "6":
  2945. for (var a = 0; a < n[1].length / 8; a++) {
  2946. var i = n[1].slice(8 * a, 8 * a + 8);
  2947. buildings.push(i);
  2948. if(i[6] == 15 && i[7] != myPlayer.clan && i[7] != myPlayer.id){
  2949. if(Math.sqrt(Math.pow((myPlayer.y-i[2]), 2) + Math.pow((myPlayer.x-i[1]), 2)) < 100) {
  2950. if (document.getElementById("doAntiTrap").checked) {
  2951. paTr();
  2952. document.getElementById("doAntiTrapChat").checked && (
  2953. chat(document.getElementById("antiTrapChat").value)
  2954. );
  2955. };
  2956. insidetrap = true;
  2957. if (document.getElementById("autoBreak").checked) {
  2958. autoBreakLoop = true;
  2959. autoBreakObject = i;
  2960. };
  2961. };
  2962. };
  2963. };
  2964. break;
  2965. case "7":
  2966. n[1] == myPlayer.id && (n[3] <= 8 ? (clearTimeout(pCdT), pCd = true, pCdS = "⬛", pCdT = setTimeout(() => {pCd = false;pCdS = "🟨"}, wCds[n[3]]-ping-20)) : (
  2967. clearTimeout(sCdT), sCd = true, sCdS = "⬛", sCdT = setTimeout(() => {sCd = false;sCdS = "🟨"}, wCds[n[3]]-ping-20)
  2968. ));
  2969. setCooldown(n), "counter" == mode && !inInsta && n[1] != myPlayer.id && n[3] > 1 && n[3] < 6 && distance(lastX[n[1]], lastY[n[1]]) < 300 && (inInsta = !0, autoaim = !0, weapon = primary, dns(["5", [primary, !0]]), dns(["13c", [0, 7, 0]]), dns(["13c", [0, 0, 1]]), dns(["13c", [0, 18, 1]]), dns(["7", [!0]]), setTimeout(function () {
  2970. dns(["13c", [0, 53, 0]]), dns(["13c", [0, 13, 1]]), dns(["7", [!0]]), autoaim = !1
  2971. }, 100), setTimeout(function () {
  2972. inInsta = !1
  2973. }, 200));
  2974. break;
  2975. case "9":
  2976. "kills" == n[1] && ezBool && chat(ezChat);
  2977. break;
  2978. case "11":
  2979. console.log("~|Lost_Gaming Will Kill You!|~"), weapon = 0, primary = 0, secondary = 0, foodType = 0, spikeType = 6, millType = 10, mineType = 13, boostType = 15, turretType = 17, respawn && !deathCrash && setTimeout(function () {
  2980. dns(["sp", [{
  2981. name: names[myPlayer.id]
  2982. , moofoll: !0
  2983. , skin: 0
  2984. }]]), console.log("Auto Respawning")
  2985. }, 3e3);
  2986. break;
  2987. case "12":
  2988. try {if (n[1] == autoBreakObject[0]) {
  2989. autoBreakLoop = false;
  2990. autoBreakObject = [];
  2991. }}catch(e){};
  2992. for (var l = 0; l < buildings.length; l++)
  2993. if (buildings[l][0] == n[1]) {
  2994. logX.push(buildings[l][1]), logY.push(buildings[l][2]);
  2995. var p = new Date;
  2996. logTime.push(p.getTime()), buildings.splice(l, 1), l--
  2997. } break;
  2998. case "13":
  2999. for (var r = 0; r < buildings.length; r++) buildings[r][7] == n[1] && (buildings.splice(r, 1), r--);
  3000. names[n[1]] ? (console.log("{", names[n[1]], "} Got Scared"), cPlayer && chat("{" + names[n[1]] + "} Got Scared"), names[n[1]] = void 0) : console.log("[", n[1], "] Got Scared"), theirPrimary[n[1]] = 0, theirSecondary[n[1]] = void 0;
  3001. break;
  3002. case "16":
  3003. break;
  3004. case "17":
  3005. if (n[2]) {
  3006. var c = weapon == primary;
  3007. primary = n[1][0], secondary = n[1][1] || null, c ? weapon != primary && (weapon = primary) : weapon != secondary && (weapon = secondary)
  3008. } else
  3009. for (r = 0; r < n[1].length; r++) {
  3010. for (var d = 0; d < 3; d++) d == n[1][r] && (foodType = n[1][r]);
  3011. for (var s = 3; s < 6; s++) s == n[1][r] && (wallType = n[1][r]);
  3012. for (var u = 6; u < 10; u++) u == n[1][r] && (spikeType = n[1][r]);
  3013. for (var m = 10; m < 13; m++) m == n[1][r] && (millType = n[1][r]);
  3014. for (var v = 13; v < 15; v++) v == n[1][r] && (mineType = n[1][r]);
  3015. for (var h = 15; h < 17; h++) h == n[1][r] && (boostType = n[1][r]);
  3016. for (var y = 17; y < 23; y++) y == n[1][r] && 20 !== y && (turretType = n[1][r]);
  3017. spawnpadType = 20
  3018. }
  3019. break;
  3020. case "18":
  3021. inInsta && iReload && (15 == secondary && 1400 == n[4] ? reload = 1650 : 13 == secondary && 1200 == n[4] ? reload = 400 : 12 == secondary && 1200 == n[4] ? reload = 850 : 9 == secondary && 1e3 == n[4] && (reload = 750));
  3022. break;
  3023. case "33":
  3024. enemiesNear = [], nowX = [], nowY = [], drawRadar();
  3025. for (var f = 0; f < n[1].length / 13; f++) {
  3026. var b = n[1].slice(13 * f, 13 * f + 13);
  3027. b[5] < 9 ? (pris[b[0]] = [b[5], b[6]]) : (secs[b[0]] = [b[5], b[6]]);
  3028. b[0] == myPlayer.id ? (myPlayer.x = b[1], myPlayer.y = b[2], myPlayer.dir = b[3], myPlayer.object = b[4], myPlayer.weapon = b[5], myPlayer.clan = b[7], myPlayer.isLeader = b[8], myPlayer.hat = b[9], myPlayer.accessory = b[10], myPlayer.isSkull = b[11], nowX[myPlayer.id] = myPlayer.x, nowY[myPlayer.id] = myPlayer.y, ctx.beginPath(), ctx.strokeStyle = "#0000FF", ctx.moveTo(centreX, centreY), ctx.lineTo(centreX + (myPlayer.x - lastX[myPlayer.id]) / 6.25, centreY + (myPlayer.y - lastY[myPlayer.id]) / 6.25), ctx.stroke()) : b[7] != myPlayer.clan || null === b[7] ? (enemiesNear.push(b), distance(b[1], b[2]) > 500 ? drawArrow(b[1], b[2], "#000000") : drawCircle(b[1], b[2], lastX[b[0]], lastY[b[0]], "#000000"), nowX[b[0]] = b[1], nowY[b[0]] = b[2], antiBoostSpike && null != lastX[b[0]] && null != lastY[b[0]] && distance(b[1], b[2]) - distance(lastX[b[0]], lastY[b[0]]) < maxSpeed && (place(spikeType, Math.atan2(b[2] - myPlayer.y, b[1] - myPlayer.x) + toRad(90)), place(spikeType, Math.atan2(b[2] - myPlayer.y, b[1] - myPlayer.x) - toRad(90))), b[5] > 8 ? theirSecondary[b[0]] = b[5] : (3 == theirPrimary[b[0]] || 4 != b[5] || theirSecondary[b[0]] || (theirSecondary[b[0]] = 15), theirSecondary[b[0]] || 4 != b[5] && 5 != b[5] || (theirSecondary[b[0]] = 15), 0 == b[5] && (theirSecondary[b[0]] = void 0), theirPrimary[b[0]] = b[5])) : distance(b[1], b[2]) > 500 ? drawArrow(myPlayer.x, myPlayer.y, b[1], b[2], "#00EE00") : drawCircle(b[1], b[2], lastX[b[0]], lastY[b[0]], "#00EE00")
  3029. }
  3030. if (pos.innerHTML = "{" + myPlayer.x + "," + myPlayer.y + "}", lastX = nowX, lastY = nowY, sAim)
  3031. for (r in enemiesNear) enemiesNear[r][1] += (enemiesNear[r][1] - lastX[enemiesNear[r][0]]) * dist(enemiesNear[r], myPlayer) / projSpeed(weapon), enemiesNear[r][2] += (enemiesNear[r][2] - lastY[enemiesNear[r][0]]) * dist(enemiesNear[r], myPlayer) / projSpeed(weapon);
  3032. if (enemiesNear && (closestenemy = enemiesNear.sort(function (e, n) {
  3033. return dist(e, myPlayer) - dist(n, myPlayer)
  3034. })[0]), closestenemyAngle = closestenemy ? Math.atan2(closestenemy[2] - myPlayer.y, closestenemy[1] - myPlayer.x) : myPlayer.dir, "insta" == mode && !inInsta && closestenemy && dist(closestenemy, myPlayer) < 220 && !cooldown[myPlayer.id] && weapon != secondary && (
  3035. inInsta = !0,
  3036. iAim && (autoaim = !0),
  3037. icBool && chat(iChat),
  3038. dns(["13c", [0, 0, 1]]),
  3039. dns(["7", [!0]]),
  3040. iReverse ? (weapon = secondary, dns(["5", [secondary, !0]]), dns(["13c", [0, iHat2, 0]]), dns(["13c", [0, iAcc2, 1]]), setTimeout(function () {
  3041. dns(["13c", [0, iHat1, 0]]), dns(["13c", [0, iAcc1, 1]]), weapon = primary, dns(["5", [primary, !0]])
  3042. }, instaSpeedR / 2)) : (
  3043. weapon = primary,
  3044. dns(["5", [primary, !0]]),
  3045. iSwitch || (iAim ? (placeStable(spikeType, closestenemyAngle + toRad(45)),
  3046. placeStable(spikeType, closestenemyAngle - toRad(45))) :
  3047. (placeStable(spikeType, Math.atan2(mY - height / 2, mX - width / 2) + toRad(45)), placeStable(spikeType, Math.atan2(mY - height / 2, mX - width / 2) - toRad(45)))),
  3048. dns(["13c", [0, iHat1, 0]]),
  3049. dns(["13c", [0, iAcc1, 1]]),
  3050. setTimeout(function () {
  3051. dns(["13c", [0, iHat2, 0]]),
  3052. dns(["13c", [0, iAcc2, 1]]),
  3053. iSwitch && (weapon = secondary, dns(["5", [secondary, !0]]))
  3054. }, instaSpeed / 2)), setTimeout(function () {
  3055. autoaim = !1, dns(["13c", [0, dHat, 0]]), dns(["13c", [0, dAcc, 1]]), dns(["7", [!0]]), weapon = secondary, dns(["5", [secondary, !0]]);
  3056. var e = 0;
  3057. 15 == secondary ? e = 1650 : 13 == secondary ? e = 400 : 12 == secondary ? e = 850 : 9 == secondary && (e = 750), setTimeout(function () {
  3058. weapon = primary, dns(["5", [primary, !0]]), setTimeout(function () {
  3059. inInsta = !1
  3060. }, 1e3)
  3061. }, e)
  3062. }, instaSpeed)), "counter" != mode || inInsta) {
  3063. if (!inInsta && ahat && "hat" != mode)
  3064. if (closestenemy && dist(closestenemy, myPlayer) < 300) {
  3065. var g = !1;
  3066. for (a = 0; a < n[1].length / 13; a++) {
  3067. var k = n[1].slice(13 * a, 13 * a + 13);
  3068. if (k[0] != myPlayer.id && Math.sqrt(Math.pow(myPlayer.y - k[2], 2) + Math.pow(myPlayer.x - k[1], 2)) < 300 && !cooldown[k[0]]) {
  3069. g = !0;
  3070. break
  3071. }
  3072. }
  3073. g && defence ? (dns(["13c", [0, dHat, 0]]), dns(["13c", [0, dAcc, 1]])) : offence && (dns(["13c", [0, oHat, 0]]), dns(["13c", [0, oAcc, 1]]))
  3074. } else speed && (myPlayer.y < 2400 ? (dns(["13c", [0, ssHat, 0]]), dns(["13c", [0, ssAcc, 1]])) : myPlayer.y > 6850 && myPlayer.y < 7550 ? (dns(["13c", [0, srHat, 0]]), dns(["13c", [0, srAcc, 1]])) : (dns(["13c", [0, snHat, 0]]), dns(["13c", [0, snAcc, 1]])))
  3075. } else closestenemy && dist(closestenemy, myPlayer) < 300 ? (dns(["13c", [0, 11, 0]]), dns(["13c", [0, 0, 1]]), dns(["13c", [0, 21, 1]])) : myPlayer.y < 2400 ? (dns(["13c", [0, ssHat, 0]]), dns(["13c", [0, ssAcc, 1]])) : myPlayer.y > 6850 && myPlayer.y < 7550 ? (dns(["13c", [0, srHat, 0]]), dns(["13c", [0, srAcc, 1]])) : (dns(["13c", [0, snHat, 0]]), dns(["13c", [0, snAcc, 1]]));
  3076. break;
  3077. case "ac":
  3078. names[n[1].owner] ? console.log("{", names[n[1].owner], "} created {", n[1].sid, "}") : console.log("[", n[1].owner, "] created {", n[1].sid, "}");
  3079. break;
  3080. case "ch":
  3081. if (n[1] == myPlayer.id)
  3082. if ("!clan " == n[2].substring(0, 6)) dns(["8", [n[2].substring(6)]]), setTimeout(function () {
  3083. chat("Clan : " + n[2].substring(6))
  3084. }, 500);
  3085. else if ("!unclan" == n[2].substring(0, 7)) dns(["9", [null]]), setTimeout(function () {
  3086. chat("Clan : null")
  3087. }, 500);
  3088. else if ("!join " == n[2].substring(0, 6)) {
  3089. var w = n[2].substring(6);
  3090. dns(["10", [w]]), setTimeout(function () {
  3091. chat("Clan : " + w)
  3092. }, 500)
  3093. } else if ("!kick " == n[2].substring(0, 6)) {
  3094. var S = n[2].substring(6)
  3095. , H = 0;
  3096. names.forEach(function (e, n) {
  3097. e == S && (setTimeout(function () {
  3098. dns(["12", [n]])
  3099. }, 1e3 * H), H++)
  3100. }), setTimeout(function () {
  3101. chat("Kick : " + S)
  3102. }, 500)
  3103. } else "!derp" == n[2].substring(0, 7) ? setTimeout(function () {
  3104. chat(derp ? "Derp : OFF" : "Derp : ON"), derp = !derp, document.getElementById("derp")
  3105. .checked = derp
  3106. }, 500) : "!setup stick" == n[2].substring(0, 12) ? (dns(["6", [8]]), dns(["6", [17]]), dns(["6", [31]]), dns(["6", [23]]), dns(["6", [10]]), dns(["6", [33]]), setTimeout(function () {
  3107. chat("Setup : Stick + Hammer")
  3108. }, 500)) : "!setup instaP" == n[2].substring(0, 13) ? (dns(["6", [5]]), dns(["6", [17]]), dns(["6", [31]]), dns(["6", [23]]), dns(["6", [9]]), dns(["6", [33]]), dns(["6", [28]]), dns(["6", [15]]), setTimeout(function () {
  3109. chat("Setup : Polearm + Musket")
  3110. }, 500)) : "!setup instaK" == n[2].substring(0, 13) ? (dns(["6", [3]]), dns(["6", [17]]), dns(["6", [31]]), dns(["6", [23]]), dns(["6", [9]]), dns(["6", [33]]), dns(["6", [4]]), dns(["6", [4]]), dns(["6", [15]]), setTimeout(function () {
  3111. chat("Setup : Katana + Musket")
  3112. }, 500)) : "!greataxe" == n[2].substring(0, 9) ? (dns(["6", [2]]), setTimeout(function () {
  3113. chat("Upgrade : Great Axe")
  3114. }, 500)) : "!katana" == n[2].substring(0, 7) ? (dns(["6", [4]]), setTimeout(function () {
  3115. chat("Upgrade : Katana")
  3116. }, 500)) : "!crossbowR" == n[2].substring(0, 10) ? (dns(["6", [13]]), setTimeout(function () {
  3117. chat("Upgrade : Repeater Crossbow")
  3118. }, 500)) : "!crossbow" == n[2].substring(0, 9) ? (dns(["6", [12]]), setTimeout(function () {
  3119. chat("Upgrade : Crossbow")
  3120. }, 500)) : "!musket" == n[2].substring(0, 7) ? (dns(["6", [15]]), setTimeout(function () {
  3121. chat("Upgrade : Musket")
  3122. }, 500)) : "!windmill" == n[2].substring(0, 9) ? (dns(["6", [28]]), setTimeout(function () {
  3123. chat("Upgrade : Power Mill")
  3124. }, 500)) : "!spikeS" == n[2].substring(0, 7) ? (dns(["6", [25]]), setTimeout(function () {
  3125. chat("Upgrade : Spinning Spikes")
  3126. }, 500)) : "!spikeP" == n[2].substring(0, 7) ? (dns(["6", [24]]), setTimeout(function () {
  3127. chat("Upgrade : Posion Spikes")
  3128. }, 500)) : "!autoheal" == n[2].substring(0, 9) ? setTimeout(function () {
  3129. chat(heal1 ? "Heal : OFF" : "Heal : ON"), heal1 = !heal1, document.getElementById("heal1")
  3130. .checked = heal1
  3131. }, 500) : "!place normal" == n[2].substring(0, 13) ? (pType = "0", setTimeout(function () {
  3132. chat("Place : Normal"), document.getElementById("pType")
  3133. .value = pType
  3134. }, 500)) : "!place legit" == n[2].substring(0, 12) ? (pType = "1", setTimeout(function () {
  3135. chat("Place : Legit"), document.getElementById("pType")
  3136. .value = pType
  3137. }, 500)) : "!place varience" == n[2].substring(0, 15) ? (pType = "2", setTimeout(function () {
  3138. chat("Place : Varience"), document.getElementById("pType")
  3139. .value = pType
  3140. }, 500)) : "!place derp" == n[2].substring(0, 11) ? (pType = "3", setTimeout(function () {
  3141. chat("Place : Derp"), document.getElementById("pType")
  3142. .value = pType
  3143. }, 500)) : "!heal normal" == n[2].substring(0, 12) ? (hType = "0", setTimeout(function () {
  3144. chat("Heal : Normal"), document.getElementById("hType")
  3145. .value = hType
  3146. }, 500)) : "!heal linear" == n[2].substring(0, 12) ? (hType = "1", setTimeout(function () {
  3147. chat("Heal : Linear"), document.getElementById("hType")
  3148. .value = hType
  3149. }, 500)) : "!heal quadratic" == n[2].substring(0, 15) ? (hType = "2", setTimeout(function () {
  3150. chat("Heal : Quadratic"), document.getElementById("hType")
  3151. .value = hType
  3152. }, 500)) : "!heal interval" == n[2].substring(0, 14) ? (hType = "3", setTimeout(function () {
  3153. chat("Heal : Interval"), document.getElementById("hType")
  3154. .value = hType
  3155. }, 500)) : "!heal slow" == n[2].substring(0, 10) ? (hType = "4", setTimeout(function () {
  3156. chat("Heal : Slow"), document.getElementById("hType")
  3157. .value = hType
  3158. }, 500)) : "!heal fast" == n[2].substring(0, 10) ? (hType = "5", setTimeout(function () {
  3159. chat("Heal : VERY FAST"), document.getElementById("hType")
  3160. .value = hType
  3161. }, 500)) : "!" == n[2].substring(0, 2) && setTimeout(function () {
  3162. placeStable(millType, Number.MAX_VALUE), dns(["ch", [""]]), dns(["8", [""]]), dns(["5", ["length", !0]]), weapon = "length"
  3163. }, 500);
  3164. break;
  3165. case "h":
  3166. (n[1] == myPlayer.id) && (chSHC(n));
  3167. if (!(n[1] == myPlayer.id) && n[2] < 100 && n[2] > 0) break;
  3168. var x = void 0;
  3169. let didFixed = false;
  3170. let damage = 100 - n[2];
  3171. if (document.getElementById("doAntiNobull").checked
  3172. && closestenemy
  3173. && damage == 40
  3174. && closestenemy[5] == 4) {
  3175. didFixed = true;
  3176. place(foodType, null);
  3177. place(foodType, null);
  3178. place(foodType, null);
  3179. place(foodType, null); //4 = full hp
  3180. };
  3181. if (document.getElementById("doAntiAge").checked
  3182. && closestenemy
  3183. && (damage == 37.5 || damage == 38)
  3184. && closestenemy[9] == 7) {
  3185. didFixed = true;
  3186. place(foodType, null);
  3187. place(foodType, null);
  3188. place(foodType, null);
  3189. place(foodType, null); //4 = full hp
  3190. };
  3191.  
  3192. //if (document.getElementById("antiSkidTick").checked && closestenemy && (pris[closestenemy[0]] || [4, 0])[0] == 5 && (pris[closestenemy[0]] || [4, 0])[1] >= 2 && (damage == 25 || damage == 18 || damage == 19)) {didFixed = true, place(foodType, null), place(foodType, null), place(foodType, null), place(foodType, null)};
  3193.  
  3194. if (document.getElementById("newAnti").checked) {
  3195. if (didFixed) return;
  3196. didFixed = true;
  3197.  
  3198. let h = false;
  3199. if (closestenemy && dist(closestenemy, myPlayer) < 320) {
  3200. closestenemy[5] < 9 ? ((( (getDMG((secs[closestenemy[0]] || [15, 0])[0]) * wVM[(secs[closestenemy[0]] || [15, 0])[1]]) + 25) >= n[2]) ? (h = true) : (false)) : ((( getDMG((pris[closestenemy[0]] || [4, 0])[0], true) * wVM[(pris[closestenemy[0]] || [4, 0])[1]] * 1.5) >= n[2]) ? (h = true) : (false));
  3201. if (h) {
  3202. place(foodType, null);
  3203. place(foodType, null);
  3204. place(foodType, null);
  3205. place(foodType, null);
  3206. } else {
  3207. let tm = 120
  3208. if (delay > 120) tm - 30;
  3209. setTimeout(() => {
  3210. decrSH();
  3211. place(foodType, null);
  3212. }, 100);
  3213. };
  3214. } else {
  3215. let tm = 120;
  3216. if (delay > 120) tm - 30;
  3217. setTimeout(() => {
  3218. decrSH();
  3219. place(foodType, null);
  3220. }, 100);
  3221. };
  3222. };
  3223.  
  3224. if (document.getElementById("extraAnti").checked) {
  3225. if (didFixed) return;
  3226. didFixed = true;
  3227. if(pingDel < 140){
  3228. delay2 = pingDel;
  3229. }else{
  3230. delay2 = 0;
  3231. };
  3232.  
  3233. if(n[2] == 50){
  3234. if(lastHealth == 25 && enemiesNear){
  3235. place(foodType, null);
  3236. bullspam += 1;
  3237. };
  3238. };
  3239. if (n[2] < 56 && n[2] > 0 && holding == false && closestenemy && bullspam < 5){//bullspam detector
  3240. if(myPlayer.hat != 6 && n[2] == 55){}else{
  3241. if(foodType == 17){// if cookie, heal once
  3242. holding = true
  3243. place(foodType, closestenemyAngle);
  3244. place(foodType, closestenemyAngle);
  3245. let lhat = myPlayer.hat
  3246. let lacc = myPlayer.accessory
  3247. if(myPlayer.hat != 7 && myPlayer.hat != 11){
  3248. dns(["13c", [0, 22, 0]]);
  3249. }
  3250. setTimeout( () => {
  3251. holding2 = true
  3252. }, 50);
  3253. setTimeout( () => {
  3254. bullspam += 1;
  3255. decrSH();
  3256. place(foodType, closestenemyAngle);//heal again after 250
  3257. holding = false
  3258. holding2 = false
  3259. if (myPlayer.y < 2400){
  3260. hat(0)
  3261. hat(6)
  3262. hat(15);
  3263. } else if (myPlayer.y > 6850 && myPlayer.y < 7575){
  3264. hat(0)
  3265. hat(6)
  3266. hat(31)
  3267. } else {
  3268. hat(0)
  3269. hat(6)
  3270. hat(12);
  3271. }
  3272. acc(0)
  3273. acc(11);
  3274. if(lhat != 7 && lhat != 53){
  3275. hat(lhat)
  3276. acc(lacc)
  3277. }
  3278. else if(lhat == 7){
  3279. hat(lhat)
  3280. acc(lacc)
  3281. }
  3282. }, 200 + delay2);
  3283. }
  3284. if(foodType == 18){//if cheese, heal once
  3285. holding = true
  3286. place(foodType, closestenemyAngle);
  3287. place(foodType, closestenemyAngle);
  3288. let lhat = myPlayer.hat
  3289. let lacc = myPlayer.accessory
  3290. if(myPlayer.hat != 7 && myPlayer.hat != 11){
  3291. dns(["13c", [0, 22, 0]]);
  3292. }
  3293. setTimeout( () => {
  3294. holding2 = true
  3295. }, 30);
  3296. setTimeout( () => {
  3297. bullspam += 1;
  3298. decrSH();
  3299. place(foodType, closestenemyAngle);//heal again at 250
  3300. holding = false
  3301. holding2 = false
  3302. if (myPlayer.y < 2400){
  3303. hat(0)
  3304. hat(6)
  3305. hat(15);
  3306. } else if (myPlayer.y > 6850 && myPlayer.y < 7575){
  3307. hat(0)
  3308. hat(6)
  3309. hat(31)
  3310. } else {
  3311. hat(0)
  3312. hat(6)
  3313. hat(12);
  3314. }
  3315. acc(0)
  3316. acc(11);
  3317. if(lhat != 7 && lhat != 53){
  3318. hat(lhat)
  3319. acc(lacc)
  3320. }
  3321. else if(lhat == 7){
  3322. hat(lhat)
  3323. acc(lacc)
  3324. }
  3325. }, 200 + delay2);
  3326. }
  3327. else{
  3328. holding = true// if cookie, heal 3 times
  3329. place(foodType, closestenemyAngle);
  3330. place(foodType, closestenemyAngle);
  3331. place(foodType, closestenemyAngle);
  3332. place(foodType, closestenemyAngle);
  3333. let lhat = myPlayer.hat
  3334. let lacc = myPlayer.accessory
  3335. if(myPlayer.hat != 7 && myPlayer.hat != 11){
  3336. dns(["13c", [0, 22, 0]]);
  3337. }
  3338. setTimeout( () => {
  3339. holding2 = true
  3340. }, 30);
  3341. setTimeout( () => {
  3342. bullspam += 3;
  3343. decrSH();
  3344. place(foodType, closestenemyAngle);//heal once 250 ms after
  3345. holding = false
  3346. holding2 = false
  3347. if (myPlayer.y < 2400){
  3348. hat(0)
  3349. hat(6)
  3350. hat(15);
  3351. } else if (myPlayer.y > 6850 && myPlayer.y < 7575){
  3352. hat(0)
  3353. hat(6)
  3354. hat(31)
  3355. } else {
  3356. hat(0)
  3357. hat(6)
  3358. hat(12);
  3359. }
  3360. acc(0)
  3361. acc(11);
  3362. if(lhat != 7 && lhat != 53){
  3363. hat(lhat)
  3364. acc(lacc)
  3365. }
  3366. else if(lhat == 7){
  3367. hat(lhat)
  3368. acc(lacc)
  3369. }
  3370. }, 200 + delay2);
  3371. }
  3372. }
  3373. }
  3374. if(n[2] < 16 && n[2] > 0 && holding2 == false){
  3375. place(foodType, closestenemyAngle)
  3376. }
  3377. if(n[2] < 94 && n[2] > 0 && holding == false) {//this is autoheal
  3378. setTimeout( () => {
  3379. if(holding == false && n[2] < 94 && n[2] > 0){//holding makes sure dont heal when antiinsta in progress, or else clown faster
  3380. place(foodType, closestenemyAngle);
  3381. place(foodType, closestenemyAngle);
  3382. place(foodType, closestenemyAngle);
  3383. place(foodType, closestenemyAngle);
  3384. place(foodType, closestenemyAngle);
  3385. bullspam = bullspam - 2;
  3386. decrSH();
  3387. }
  3388. }, 140 - delay2);
  3389. }
  3390. if(n[2] < 100 && n[2] > 94 && holding == false) {//if lost 6 dmg or higher, heal slowly. also doesnt clown as much.
  3391. setTimeout( () => {
  3392. if(holding == false && n[2] < 100 && n[2] > 94){
  3393. place(foodType, closestenemyAngle);
  3394. bullspam = bullspam - 2;
  3395. decrSH();
  3396. }
  3397. }, 300 - delay2);
  3398. }
  3399. lastHealth = n[2];
  3400. };
  3401. switch (hType) {
  3402. case "0":
  3403. x = 120;
  3404. break;
  3405. case "1":
  3406. x = 2 * n[2];
  3407. break;
  3408. case "2":
  3409. x = (n[2] - 100) * (n[2] - 100) / -50 + 200;
  3410. break;
  3411. case "3":
  3412. x = n[2] < 50 ? 50 : 200;
  3413. break;
  3414. case "4":
  3415. x = 200;
  3416. break;
  3417. case "5":
  3418. x = 0;
  3419. break;
  3420. default:
  3421. console.log("HEAL ERROR")
  3422. }
  3423. setTimeout(function () {
  3424. if (!didFixed) heal();
  3425. }, x);
  3426. }
  3427. }
  3428.  
  3429. function dns(e) {
  3430. ws.send(new Uint8Array(Array.from(msgpack5.encode(e))))
  3431. }
  3432.  
  3433. function chat(e) {
  3434. dns(["ch", [e]])
  3435. }
  3436.  
  3437. function scramble(e) {
  3438. for (var n = /^[A-Za-z]+$/, o = "", t = e.length, a = 0; a < t; a++) e.charAt(a)
  3439. .match(n) ? Math.random() > .25 ? o += e.charAt(a) : o += acFill : o += e.charAt(a);
  3440. chat(o)
  3441. }
  3442.  
  3443. function acc(e) {
  3444. dns(["13c", [0, 0, 1]]), dns(["13c", [0, e, 1]])
  3445. }
  3446.  
  3447. function hat(e) {
  3448. dns(["13c", [0, e, 0]])
  3449. }
  3450.  
  3451. function place(e) {
  3452. if (!document.getElementById("invisBuilds").checked) {
  3453. var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : Math.atan2(mY - height / 2, mX - width / 2);
  3454. switch (pType) {
  3455. case "1":
  3456. n = null;
  3457. break;
  3458. case "2":
  3459. n += toRad(80 * Math.random() - 40);
  3460. break;
  3461. case "3":
  3462. n = toRad(dir = (324092385 / (dir * Math.E) - Math.cbrt(dir) * dir) % 360)
  3463. }
  3464. dns(["5", [e, null]]), dns(["c", [1, n]]), dns(["c", [0, n]]), dns(["5", [weapon, !0]])
  3465. } else {
  3466. let mk = Number.MAX_VALUE;
  3467. dns(["5", [e, null]]), dns(["c", [1, mk]]), dns(["c", [0, mk]]), dns(["5", [weapon, !0]])
  3468. };
  3469. }
  3470.  
  3471. function heal() {
  3472. 56 == myPlayer.hat ? (storeEquip(0), dns(["5", [foodType]]), dns(["c", [1, null]]), dns(["c", [0, null]]), dns(["5", [weapon, !0]]), dns(["13c", [0, 56, 0]])) : (dns(["5", [foodType]]), dns(["c", [1, null]]), dns(["c", [0, null]]), dns(["5", [weapon, !0]])), heal2 && (56 == myPlayer.hat ? (storeEquip(0), dns(["5", [foodType]]), dns(["c", [1, null]]), dns(["c", [0, null]]), dns(["5", [weapon, !0]]), dns(["13c", [0, 56, 0]])) : (dns(["5", [foodType]]), dns(["c", [1, null]]), dns(["c", [0, null]]), dns(["5", [weapon, !0]])))
  3473. }
  3474.  
  3475. function boostSpike() {
  3476. placeStable(spikeType, closestenemyAngle + toRad(90)), placeStable(spikeType, closestenemyAngle - toRad(90)), placeStable(boostType, closestenemyAngle), dns(["33", [closestenemyAngle]])
  3477. }
  3478.  
  3479. function boostMill() {
  3480. var e = Math.atan2(mY - height / 2, mX - width / 2);
  3481. placeStable(millType, e + toRad(144)), placeStable(millType, e + toRad(144)), placeStable(millType, e + toRad(72)), placeStable(millType, e + toRad(72)), placeStable(boostType, e), dns(["33", [e]])
  3482. };
  3483. let hit360 = 0;
  3484. setInterval(()=>{
  3485. if (hit360 || (document.getElementById("shield360").checked && myPlayer.weapon == 11)) dns(["2", [90**100]]);
  3486. }, 25);
  3487. checkPing.observe(ping, {
  3488. attributes: !1
  3489. , childList: !0
  3490. , subtree: !1
  3491. }), cvs.addEventListener("mousedown", function (e) {
  3492. if (2 == e.button && !inInsta && onclick)
  3493. if (weapon == primary && 8 != weapon || "length" == weapon) weapon = primary, dns(["5", [primary, !0]]), inInsta = !0, dns(["2", [Math.atan2(mY - height / 2, mX - width / 2)]]), dns(["13c", [0, oHat, 0]]), dns(["13c", [0, 0, 1]]), dns(["13c", [0, oAcc, 1]]), dns(["7", [!0]]), setTimeout(function () {
  3494. ahat || (dns(["13c", [0, dHat, 0]]), dns(["13c", [0, dAcc, 1]])), dns(["7", [!0]]), inInsta = !1
  3495. }, 120);
  3496. else if (weapon == secondary) switch (weapon) {
  3497. case 15:
  3498. inInsta = !0, dns(["13c", [0, 1, 0]]), dns(["13c", [0, otAcc, 1]]), dns(["7", [!0]]), setTimeout(function () {
  3499. ahat || (dns(["13c", [0, dHat, 0]]), dns(["13c", [0, dAcc, 1]])), dns(["7", [!0]]), inInsta = !1
  3500. }, 120);
  3501. break;
  3502. case 10:
  3503. inInsta = !0, dns(["2", [Math.atan2(mY - height / 2, mX - width / 2)]]), dns(["13c", [0, tHat, 0]]), dns(["13c", [0, tAcc, 1]]), dns(["7", [!0]]), setTimeout(function () {
  3504. ahat || (dns(["13c", [0, dHat, 0]]), dns(["13c", [0, dAcc, 1]])), dns(["7", [!0]]), inInsta = !1
  3505. }, 120)
  3506. }
  3507. if (1 == e.button && (e.preventDefault(), dns(["5", ["length", !0]]), weapon = "length"), 0 == e.button && !inInsta && onclick)
  3508. if (weapon == primary && 8 != weapon || "length" == weapon) weapon = primary, dns(["5", [primary, !0]]), inInsta = !0, dns(["2", [Math.atan2(mY - height / 2, mX - width / 2)]]), dns(["13c", [0, tHat, 0]]), dns(["13c", [0, 0, 1]]), dns(["13c", [0, tAcc, 1]]), dns(["7", [!0]]), setTimeout(function () {
  3509. ahat || (dns(["13c", [0, dHat, 0]]), dns(["13c", [0, dAcc, 1]])), dns(["7", [!0]]), inInsta = !1
  3510. }, 120);
  3511. else if (weapon == secondary) switch (weapon) {
  3512. case 15:
  3513. inInsta = !0, dns(["13c", [0, otHat, 0]]), dns(["13c", [0, otAcc, 1]]), dns(["7", [!0]]), setTimeout(function () {
  3514. ahat || (dns(["13c", [0, dHat, 0]]), dns(["13c", [0, dAcc, 1]])), dns(["7", [!0]]), inInsta = !1
  3515. }, 120);
  3516. break;
  3517. case 10:
  3518. inInsta = !0, dns(["13c", [0, tHat, 0]]), dns(["13c", [0, tAcc, 1]]), dns(["7", [!0]]), setTimeout(function () {
  3519. ahat || (dns(["13c", [0, dHat, 0]]), dns(["13c", [0, dAcc, 1]])), dns(["7", [!0]]), inInsta = !1
  3520. }, 120)
  3521. }
  3522. }, !1);
  3523. var repeater = function (e, n, o) {
  3524. var t = !1
  3525. , a = void 0;
  3526. return {
  3527. start: function (i) {
  3528. i == e && "chatbox" !== document.activeElement.id.toLowerCase() && (t = !0, void 0 === a && (a = setInterval(function () {
  3529. n(), t || (clearInterval(a), a = void 0)
  3530. }, o)))
  3531. }
  3532. , stop: function (n) {
  3533. n == e && "chatbox" !== document.activeElement.id.toLowerCase() && (t = !1)
  3534. }
  3535. }
  3536. }
  3537. , healer = repeater(kHeal, function () {
  3538. heal(), console.log("heal")
  3539. }, 50)
  3540. , boostPlacer = repeater(kTrap, function () {
  3541. place(boostType)
  3542. }, 0)
  3543. , spikeObjectPlacer = repeater(kSpike, function () {
  3544. place(spikeType)
  3545. }, 0)
  3546. , millObjectPlacer = repeater(kWindmill, function () {
  3547. var e = Math.atan2(mY - height / 2, mX - width / 2);
  3548. closestenemy ? place(millType, e) : (e = Math.round(e / toRad(45)) * toRad(45), placeStable(millType, e + (Math.PI*900000000)), placeStable(millType, toRad(90) + e + (Math.PI*900000000)), placeStable(millType, toRad(-90) + e + (Math.PI*900000000)))
  3549. }, 0)
  3550. , turretObjectPlacer = repeater(kTurret, function () {
  3551. place(turretType)
  3552. }, 0)
  3553. , boostSpikePlacer = repeater(kBS, boostSpike, 50)
  3554. , boostMillPlacer = repeater(kBM, boostMill, 250);
  3555.  
  3556. function checkElement(e) {
  3557. return null !== e.offsetParent
  3558. }
  3559.  
  3560. function toRad(e) {
  3561. return .01745329251 * e
  3562. }
  3563.  
  3564. function dist(e, n) {
  3565. return Math.sqrt(Math.pow(n.y - e[2], 2) + Math.pow(n.x - e[1], 2))
  3566. }
  3567.  
  3568. function update() {
  3569. for (var e = 0; 9 > e; e++) checkElement(document.getElementById("actionBarItem" + e.toString())) && (primary = e);
  3570. for (var n = 9; 16 > n; n++) checkElement(document.getElementById("actionBarItem" + n.toString())) && (secondary = n);
  3571. for (var o = 16; 19 > o; o++) checkElement(document.getElementById("actionBarItem" + o.toString())) && (foodType = o - 16);
  3572. for (var t = 19; 22 > t; t++) checkElement(document.getElementById("actionBarItem" + t.toString())) && (wallType = t - 16);
  3573. for (var a = 22; 26 > a; a++) checkElement(document.getElementById("actionBarItem" + a.toString())) && (spikeType = a - 16);
  3574. for (var i = 26; 29 > i; i++) checkElement(document.getElementById("actionBarItem" + i.toString())) && (millType = i - 16);
  3575. for (var l = 29; 31 > l; l++) checkElement(document.getElementById("actionBarItem" + l.toString())) && (mineType = l - 16);
  3576. for (var p = 31; 33 > p; p++) checkElement(document.getElementById("actionBarItem" + p.toString())) && (boostType = p - 16);
  3577. for (var r = 33; 36 > r; r++) checkElement(document.getElementById("actionBarItem" + r.toString())) && (turretType = r - 16);
  3578. for (var c = 36; 37 > c; c++) checkElement(document.getElementById("actionBarItem" + c.toString())) && (spawnpadType = c - 16);
  3579. for (var d = 37; 39 > d; d++) checkElement(document.getElementById("actionBarItem" + d.toString())) && (turretType = d - 16)
  3580. }
  3581.  
  3582. function placeStable(e) {
  3583. if (!document.getElementById("invisBuilds").checked) {
  3584. var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : Math.atan2(mY - height / 2, mX - width / 2);
  3585. dns(["5", [e, null]]), dns(["c", [1, n]]), dns(["c", [0, n]]), dns(["5", [weapon, !0]])
  3586. } else {
  3587. var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : Math.atan2(mY - height / 2, mX - width / 2); n += Number.MAX_VALUE;
  3588. dns(["5", [e, null]]), dns(["c", [1, n]]), dns(["c", [0, n]]), dns(["5", [weapon, !0]])
  3589. };
  3590. }
  3591.  
  3592. let millToggle = 0;
  3593.  
  3594. function doHatCycle() {
  3595. dns(["13c", [0, 11, 0]]), dns(["13c", [0, 21, 1]]), setTimeout(function () {
  3596. dns(["13c", [0, 7, 0]]), dns(["13c", [0, 18, 1]])
  3597. }, 300), setTimeout(function () {
  3598. dns(["13c", [0, 55, 0]]), dns(["13c", [0, 13, 1]])
  3599. }, 600), setTimeout(function () {
  3600. dns(["13c", [0, 40, 0]]), dns(["13c", [0, 19, 1]])
  3601. }, 900), setTimeout(function () {
  3602. dns(["13c", [0, 6, 0]]), dns(["13c", [0, 21, 1]])
  3603. }, 1200), setTimeout(function () {
  3604. dns(["13c", [0, 26, 0]]), dns(["13c", [0, 13, 1]])
  3605. }, 1500), setTimeout(function () {
  3606. dns(["13c", [0, 12, 0]]), dns(["13c", [0, 19, 1]])
  3607. }, 1800), setTimeout(function () {
  3608. dns(["13c", [0, 21, 0]]), dns(["13c", [0, 18, 1]])
  3609. }, 2100), setTimeout(function () {
  3610. dns(["13c", [0, 53, 0]]), dns(["13c", [0, 21, 1]])
  3611. }, 2500)
  3612. };
  3613.  
  3614. let millInvisTypes = [10000000, 0, 90*100, 100000000, 1000000000];
  3615. function getRandMtype() {
  3616. return millInvisTypes[Math.floor(Math.random() * millInvisTypes.length)];
  3617. };
  3618.  
  3619. const wrepeater = repeater(87, ()=>{
  3620. if (!millToggle) return;
  3621. place(millType, + toRad(50) + (Math.PI * getRandMtype()));
  3622. place(millType, + toRad(130) + (Math.PI * getRandMtype()));
  3623. }, 50);
  3624.  
  3625. const arepeater = repeater(65, ()=>{
  3626. if (!millToggle) return;
  3627. place(millType, + toRad(30) + (Math.PI * getRandMtype()));
  3628. place(millType, + toRad(-30) + (Math.PI * getRandMtype()));
  3629. }, 50);
  3630.  
  3631. const srepeater = repeater(83, ()=>{
  3632. if (!millToggle) return;
  3633. place(millType, + toRad(310) + (Math.PI * getRandMtype()));
  3634. place(millType, + toRad(230) + (Math.PI * getRandMtype()));
  3635. }, 50);
  3636.  
  3637. const drepeater = repeater(68, ()=>{
  3638. if (!millToggle) return;
  3639. place(millType, + toRad(140) + (Math.PI * getRandMtype()));
  3640. place(millType, + toRad(-140) + (Math.PI * getRandMtype()));
  3641. }, 50);
  3642.  
  3643. document.addEventListener("keydown", function (e) {
  3644. wrepeater.start(e.keyCode);
  3645. arepeater.start(e.keyCode);
  3646. srepeater.start(e.keyCode);
  3647. drepeater.start(e.keyCode);
  3648. if(e.keyCode == 188 && document.activeElement.id.toLowerCase() !== 'chatbox') {
  3649. millToggle = (millToggle + 1) % 2;
  3650. if (millToggle == 1) {
  3651. dns(["ch", ["~|Lost Mills: ON|~"]]);
  3652. } else {
  3653. dns(["ch", ["~|Lost Mills: OFF|~"]]);
  3654. }
  3655. };
  3656. if(e.keyCode == 190 && document.activeElement.id.toLowerCase() !== 'chatbox') {
  3657. hit360 = (hit360 + 1) % 2;
  3658. if (hit360 == 1) {
  3659. dns(["ch", ["~|Lost Hit: ON|~"]]);
  3660. } else {
  3661. dns(["ch", ["~|Lost Hit: OFF|~"]]);
  3662. };
  3663. };
  3664. spikeObjectPlacer.start(e.keyCode), healer.start(e.keyCode), boostPlacer.start(e.keyCode), boostSpikePlacer.start(e.keyCode), boostMillPlacer.start(e.keyCode), millObjectPlacer.start(e.keyCode), turretObjectPlacer.start(e.keyCode), 84 == e.keyCode && "chatbox" !== document.activeElement.id.toLowerCase() && ("hat" == mode ? (clearInterval(hatID), mode = "", chat("~|Lost Mode : None|~")) : "counter" == mode ? (mode = "", chat("~|Lost Mode : None|~")) : (mode = "counter", chat("~|Lost Counter! (*:;;:*)|~"))), 89 == e.keyCode && "chatbox" !== document.activeElement.id.toLowerCase() && ("hat" == mode ? (clearInterval(hatID), mode = "", chat("~|Lost Mode : None|~")) : "insta" == mode ? (mode = "", chat("~|Lost Mode : None|~")) : (mode = "insta", chat("~|Lost Auto Kill! (*:;;:*)|~"))), 85 == e.keyCode && "chatbox" !== document.activeElement.id.toLowerCase() && ("hat" == mode ? (clearInterval(hatID), mode = "", chat("~|Lost Mode : None|~")) : (doHatCycle(), hatID = setInterval(function () {
  3665. doHatCycle()
  3666. }, 2500), mode = "hat", chat("~|Lost Mode : Hat Cycler|~"))), 71 == e.keyCode && "chatbox" !== document.activeElement.id.toLowerCase() && ("hat" == mode && clearInterval(hatID), mode = "", chat("~|Lost Mode : None|~")), 1 == e.key && "chatbox" !== document.activeElement.id.toLowerCase() ? weapon = primary : 2 == e.key && "chatbox" !== document.activeElement.id.toLowerCase() && (weapon = secondary), e.keyCode == uneqiup && "chatbox" !== document.activeElement.id.toLowerCase() ? ahat ? resetHat() : storeEquip(0) : e.keyCode == TankGearKey && "chatbox" !== document.activeElement.id.toLowerCase() ? ahat ? (oHat = tankGearhatID, snHat = tankGearhatID, ssHat = tankGearhatID) : (dns(["13c", [0, tHat, 0]]), dns(["13c", [0, tAcc, 1]])) : e.keyCode == SoldierHelmetKey && "chatbox" !== document.activeElement.id.toLowerCase() ? ahat ? (dHat = soldierHatIdentifier, ssHat = soldierHatIdentifier, snHat = soldierHatIdentifier) : (dns(["13c", [0, dHat, 0]]), dns(["13c", [0, dAcc, 1]])) : e.keyCode == BullHelmetKey && "chatbox" !== document.activeElement.id.toLowerCase() ? ahat ? (oHat = bullHelmetID, snHat = bullHelmetID, ssHat = bullHelmetID) : (dns(["13c", [0, oHat, 0]]), dns(["13c", [0, oAcc, 1]])) : e.keyCode == BoosterHatKey && "chatbox" !== document.activeElement.id.toLowerCase() ? ahat ? (ssHat = winterCapID, snHat = boostHatID, srHat = flipperHatID) : myPlayer.y < 2400 ? (dns(["13c", [0, ssHat, 0]]), dns(["13c", [0, ssAcc, 1]])) : myPlayer.y > 6850 && myPlayer.y < 7550 ? (dns(["13c", [0, srHat, 0]]), dns(["13c", [0, srAcc, 1]])) : (dns(["13c", [0, snHat, 0]]), dns(["13c", [0, snAcc, 1]])) : e.keyCode == EMPGearKey && "chatbox" !== document.activeElement.id.toLowerCase() ? ahat ? (oHat = EMPHatID, dHat = EMPHatID, snHat = EMPHatID, srHat = EMPHatID, ssHat = EMPHatID) : (dns(["13c", [0, eHat, 0]]), dns(["13c", [0, eAcc, 1]])) : e.keyCode == TurretKey && "chatbox" !== document.activeElement.id.toLowerCase() && (ahat ? (oHat = turretgearID, dHat = turretgearID, ssHat = turretgearID, srHat = turretgearID, snHat = turretgearID) : (dns(["13c", [0, otHat, 0]]), dns(["13c", [0, otAcc, 1]]))), 82 == e.keyCode && "chatbox" !== document.activeElement.id.toLowerCase() && insta && !inInsta && (inInsta = !0, iAim && (autoaim = !0), icBool && chat(iChat), dns(["13c", [0, 0, 1]]), dns(["7", [!0]]), iReverse ? (weapon = secondary, dns(["5", [secondary, !0]]), dns(["13c", [0, iHat2, 0]]), dns(["13c", [0, iAcc2, 1]]), setTimeout(function () {
  3667. dns(["13c", [0, iHat1, 0]]), dns(["13c", [0, iAcc1, 1]]), weapon = primary, dns(["5", [primary, !0]])
  3668. }, instaSpeedR / 2)) : (weapon = primary, dns(["5", [primary, !0]]), iSwitch || (iAim ? (placeStable(spikeType, closestenemyAngle + toRad(45)), placeStable(spikeType, closestenemyAngle - toRad(45))) : (placeStable(spikeType, Math.atan2(mY - height / 2, mX - width / 2) + toRad(45)), placeStable(spikeType, Math.atan2(mY - height / 2, mX - width / 2) - toRad(45)))), dns(["13c", [0, iHat1, 0]]), dns(["13c", [0, iAcc1, 1]]), setTimeout(function () {
  3669. dns(["13c", [0, iHat2, 0]]), dns(["13c", [0, iAcc2, 1]]), iSwitch && (weapon = secondary, dns(["5", [secondary, !0]]))
  3670. }, instaSpeed / 2)), setTimeout(function () {
  3671. weapon = primary, dns(["5", [primary, !0]]), dns(["7", [!0]]), dns(["13c", [0, iHat3, 0]]), dns(["13c", [0, iAcc3, 1]]), iAim && (autoaim = !1)
  3672. }, instaSpeed), setTimeout(function () {
  3673. inInsta = !1
  3674. }, instaSpeed + 100)), "-" != e.key || "chatbox" === document.activeElement.id.toLowerCase() || inInsta || (15 == secondary ? reload = 1650 : 13 == secondary ? reload = 400 : 12 == secondary ? reload = 850 : 9 == secondary ? reload = 750 : irBool && chat("~|Lost Could Not Load!|~")), "p" != e.key || "chatbox" === document.activeElement.id.toLowerCase() || inInsta || (inInsta = !0, 0 == primary ? (autoaim = !0, weapon = 0, dns(["5", [0, !0]]), dns(["13c", [0, 0, 1]]), dns(["13c", [0, 7, 0]]), dns(["7", [!0]]), setTimeout(function () {
  3675. dns(["6", [5]]), dns(["6", [17]]), dns(["6", [31]]), dns(["6", [23]]), dns(["6", [9]]), dns(["6", [33]]), weapon = 5
  3676. }, 80), setTimeout(function () {
  3677. dns(["6", [4]]), weapon = 4
  3678. }, 160), setTimeout(function () {
  3679. weapon = 9, dns(["5", [9, !0]]), dns(["13c", [0, 53, 0]])
  3680. }, 270), setTimeout(function () {
  3681. dns(["6", [15]]), weapon = 15
  3682. }, 370), setTimeout(function () {
  3683. autoaim = !1, inInsta = !1, dns(["7", [!0]]), weapon = 4, dns(["5", [4, !0]])
  3684. }, 500)) : 4 != primary && 3 != primary && 9 == secondary ? (autoaim = !0, weapon = 9, dns(["5", [9, !0]]), dns(["13c", [0, 53, 0]]), dns(["7", [!0]]), setTimeout(function () {
  3685. dns(["6", [12]]), weapon = 12
  3686. }, 100), setTimeout(function () {
  3687. dns(["6", [15]]), weapon = 15
  3688. }, 200), setTimeout(function () {
  3689. dns(["7", [!0]]), weapon = primary, dns(["5", [primary, !0]]), autoaim = !1, inInsta = !1
  3690. }, 400)) : 3 != primary && 5 != primary || 9 == secondary ? inInsta = !1 : (autoaim = !0, weapon = primary, dns(["5", [primary, !0]]), dns(["13c", [0, 7, 0]]), dns(["7", [!0]]), setTimeout(function () {
  3691. dns(["6", [4]]), weapon = 4
  3692. }, 110), setTimeout(function () {
  3693. dns(["6", [15]]), weapon = 15, dns(["5", [15, !0]]), dns(["13c", [0, 53, 0]])
  3694. }, 230), setTimeout(function () {
  3695. autoaim = !1, inInsta = !1, dns(["7", [!0]]), weapon = primary, dns(["5", [4, !0]])
  3696. }, 400)))
  3697. }), document.addEventListener("keyup", function (e) {
  3698. wrepeater.stop(e.keyCode);
  3699. arepeater.stop(e.keyCode);
  3700. srepeater.stop(e.keyCode);
  3701. drepeater.stop(e.keyCode);
  3702. if (spikeObjectPlacer.stop(e.keyCode), boostPlacer.stop(e.keyCode), boostSpikePlacer.stop(e.keyCode), boostMillPlacer.stop(e.keyCode), millObjectPlacer.stop(e.keyCode), turretObjectPlacer.stop(e.keyCode), healer.stop(e.keyCode), e.keyCode == kBS || e.keyCode == kBM)
  3703. for (var n = 0; n < 5; n++) setTimeout(function () {
  3704. dns(["33", [null]])
  3705. }, 20 * n)
  3706. });
  3707. }
  3708. }, 0);
  3709. };
  3710. let sM = {
  3711. sType: "local",
  3712. sMf: null
  3713. };
  3714.  
  3715. let Zsetter = setInterval(()=>{
  3716. unsafeWindow.captchaCallback = () => {
  3717. unsafeWindow.captchaCallbackActivated = true;
  3718. clearInterval(Zsetter);
  3719. }; //dont really need this anymore ---- yea u do
  3720. });
  3721.  
  3722. unsafeWindow.sM = sM;
  3723.  
  3724. let mHk = setInterval(() => {
  3725. if (sM.cancel) clearInterval(mHk);
  3726. Object.defineProperty(unsafeWindow, 'onload', {
  3727. get() {},
  3728.  
  3729. set(fn) {
  3730. sM.sMf = fn;
  3731. },
  3732.  
  3733. configurable: true
  3734. });
  3735. });
  3736. let nBtnCSS = `font-size: 60px;background-color: black;color: white;border-color: black;`;
  3737. let selBtnCSS = `font-size: 60px;background-color: white;color: black;border-color: black;`;
  3738. unsafeWindow.displayP = x => {
  3739. switch(x) {
  3740. case 0:
  3741. document.getElementById("internalPlugins").style.display = "block";
  3742. document.getElementById("externalPlugins").style.display = "none";
  3743. document.getElementById("loadExternalPlugins").style = nBtnCSS;
  3744. document.getElementById("loadInternalPlugins").style = selBtnCSS;
  3745. break;
  3746. case 1:
  3747. document.getElementById("internalPlugins").style.display = "none";
  3748. document.getElementById("externalPlugins").style.display = "block";
  3749. document.getElementById("loadExternalPlugins").style = selBtnCSS;
  3750. document.getElementById("loadInternalPlugins").style = nBtnCSS;
  3751. break;
  3752. };
  3753. };
  3754. try {
  3755. document.head.insertAdjacentHTML('afterend', `
  3756. <div id="overlay"><center style="font-family: verdana; font-size: 50px; color: white;">
  3757. <br>
  3758. Mod Selector:<br><br><span style="font-size: 30px;">Click on one of the plugin options (internal or external) to see a list of scripts for each!</span><br>
  3759. <div id="modMenus" style="display: block;
  3760. padding: 10px;
  3761. border-radius: 15px;
  3762. background-color: rgba(0, 0, 0, 0.25);
  3763. border-radius: 3px;">
  3764. <hr>
  3765. <span style="font-size: 60px;"><button onclick="window.displayP(0);" style="${selBtnCSS}" id="loadInternalPlugins">Internal Plugins</button> | <button onclick="window.displayP(1);" style="${nBtnCSS}" id="loadExternalPlugins">External Plugins</button></span><br>
  3766. <div id="internalPlugins" style="display: block;">
  3767. <p style="font-size: 30px;">This is SuperMod, loaded internally, and it is the most popular MooMoo.io hack with several different updates and features, all well rounded to play normal mode or sandbox mode!</p>
  3768. <button class="modBtn" id="superModLoad">Use SuperMod</button>
  3769. </div>
  3770. <div id="externalPlugins" style="display: none;">
  3771. <p style="font-size: 30px;">These are a ton of externally loaded MooMoo.io hacks / plugins! These are external resources and are not developed by us, but they are audited for security and quality (think of it like an App Store)</p>
  3772. <button class="modBtn" id="xwareLoad">Load X-Ware</button>
  3773. <button class="modBtn" id="quasarLoad">Load Quasar (Latest)</button>
  3774. <button class="modBtn" id="justMod">Load JustMod</button>
  3775. <button class="modBtn" id="nextGenLoad">Load NextGen Mod</button>
  3776. </div>
  3777. <hr>
  3778. </div>
  3779. </center></div>
  3780. <style>
  3781. #overlay {
  3782. position: fixed; /* Sit on top of the page content */
  3783. display: block; /* Hidden by default */
  3784. width: 100%; /* Full width (cover the whole page) */
  3785. height: 100%; /* Full height (cover the whole page) */
  3786. top: 0;
  3787. left: 0;
  3788. right: 0;
  3789. bottom: 0;
  3790. background-color: rgba(0,0,0,0.5); /* Black background with opacity */
  3791. z-index: 9999999; /* Specify a stack order in case you're using a different order for other elements */
  3792. cursor: pointer; /* Add a pointer on hover */
  3793. }
  3794. .modBtn {
  3795. border-radius: 10px;
  3796. position: relative;
  3797. background-color: #4CAF50;
  3798. border: none;
  3799. font-size: 28px;
  3800. color: #FFFFFF;
  3801. padding: 20px;
  3802. width: 200px;
  3803. text-align: center;
  3804. transition-duration: 0.4s;
  3805. text-decoration: none;
  3806. overflow: hidden;
  3807. cursor: pointer;
  3808. }
  3809. .modBtn:after {
  3810. content: "";
  3811. background: #f1f1f1;
  3812. display: block;
  3813. position: absolute;
  3814. padding-top: 300%;
  3815. padding-left: 350%;
  3816. margin-left: -20px !important;
  3817. margin-top: -120%;
  3818. opacity: 0;
  3819. transition: all 0.8s
  3820. }
  3821. .modBtn:active:after {
  3822. padding: 0;
  3823. margin: 0;
  3824. opacity: 1;
  3825. transition: 0s
  3826. }
  3827. </style>
  3828. `);
  3829. } catch(e) {
  3830. unsafeWindow.onbeforeunload = false;
  3831. window.location.reload();
  3832. };
  3833. let o_on = () => {document.getElementById("overlay").style.display = "block"};
  3834. let o_off = () => {sM.cancel = true; document.getElementById("overlay").style.display = "none"};
  3835. let createSelector = (id, handler) => {
  3836. document.getElementById(id).onclick = handler;
  3837. };
  3838. let alertFalse = () => {
  3839. alert('please enable popups');
  3840. };
  3841. createSelector("superModLoad", () => {
  3842. execOpen && (execOpen = window.open(CONTROLLER_PAGE));
  3843. if (execOpen == null) alertFalse();
  3844. o_off();
  3845. _ls(window.location.protocol + "//" + window.location.hostname + "/bundle.js");
  3846. _init(true);
  3847. sM.sMf();
  3848. });
  3849. createSelector("xwareLoad", () => {
  3850. execOpen && (execOpen = window.open(CONTROLLER_PAGE));
  3851. if (execOpen == null) alertFalse();
  3852. o_off();
  3853. //Function.prototype.call = Function.prototype._call;
  3854. _ls(BASE_URL + "users/fzb/supermodv3/xw", true);
  3855. localStorage.xwLoad = true;
  3856. unsafeWindow.onbeforeunload = false;
  3857. window.location.reload();
  3858. //sM.sMf();
  3859. });
  3860. createSelector("quasarLoad", () => {
  3861. execOpen && (execOpen = window.open(CONTROLLER_PAGE));
  3862. if (execOpen == null) alertFalse();
  3863. o_off();
  3864. _ls(BASE_URL + "users/fzb/supermodv3/quasar");
  3865. sM.sMf();
  3866. });
  3867. createSelector("justMod", () => {
  3868. execOpen && (execOpen = window.open(CONTROLLER_PAGE));
  3869. if (execOpen == null) alertFalse();
  3870. o_off();
  3871. _ls(window.location.protocol + "//" + window.location.hostname + "/bundle.js");
  3872. _ls(BASE_URL + "users/fzb/supermodv3/justmod");
  3873. sM.sMf();
  3874. });
  3875. createSelector("nextGenLoad", () => {
  3876. execOpen && (execOpen = window.open(CONTROLLER_PAGE));
  3877. if (execOpen == null) alertFalse();
  3878. o_off();
  3879. _ls(window.location.protocol + "//" + window.location.hostname + "/bundle.js");
  3880. _ls(BASE_URL + "users/fzb/supermodv3/nextgen");
  3881. sM.sMf();
  3882. });
  3883. }