Lost Mod

all my mods in one script!

目前为 2022-02-01 提交的版本。查看 最新版本

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