// ==UserScript== // @name Effortless - Moomoo.io Legit Macros & Interactive Menu // @author Seryo // @description Press L to toggle macros: (Spike, Trap, Mill, Turret/Teleport, Heal). Use the "Esc" key to toggle the menu. // @version 0.2 // @match *://*.moomoo.io/* // @namespace https://greasyfork.org/users/1190411 // @icon https://cdn.glitch.com/82ae8945-dcc6-4276-98a9-665381b4cd2b/cursor12.png // @license MIT // @grant none // @require https://cdn.jsdelivr.net/npm/msgpack-lite@0.1.26/dist/msgpack.min.js // @require http://code.jquery.com/jquery-3.3.1.min.js // @require https://code.jquery.com/ui/1.12.0/jquery-ui.min.js // ==/UserScript== var pi = Math.PI, date = new Date(), old = Date.now(), cos = Math.cos, sin = Math.sin, abs = Math.abs, pow = Math.pow, min = Math.min, max = Math.max, atan2 = Math.atan2, sqrt = Math.sqrt, random = Math.random, floor = Math.floor; function rdm(a,b) { return Math.floor(Math.random() *(b - a + 1)) + a; } function isChatOpen() { return document.activeElement.id.toLowerCase() === 'chatbox'; } function isAllianceInputActive() { return document.activeElement.id.toLowerCase() === 'allianceinput'; } function shhk() { return !isChatOpen() && !isAllianceInputActive(); } $("body").after(`
`); $("body").after(`