// ==UserScript==
// @name - AI Client
// @version 44
// @description Best Mod
// @author skrip2810 & GPT
// @match *://*.moomoo.io/*
// @grant none
// @namespace https://greasyfork.org/users/1463718
// @downloadURL https://update.greasyfork.icu/scripts/534418/-%20AI%20Client.user.js
// @updateURL https://update.greasyfork.icu/scripts/534418/-%20AI%20Client.meta.js
// ==/UserScript==
let whereverifybutton = document.querySelector("#altcha_checkbox")
function clicktheverify() {
if (whereverifybutton) {
whereverifybutton.click()
}
}
setInterval(clicktheverify, 1);
let hathubirthday = true;
let haibaythang4 = true;
let hathuxinhgaidangyeu = true;
let hathucongyeu = true;
//welcomemsg
const welcomemsg = document.createElement("div"); //start
welcomemsg.textContent = "AI Client v44"; //hello message
welcomemsg.style.position = "fixed"; //position
welcomemsg.style.top = "-100px"; //top position
welcomemsg.style.left = "50%"; //left position
welcomemsg.style.transform = "translateX(-50%)";
welcomemsg.style.backgroundColor = "black"; //backgr color
welcomemsg.style.color = "white";// color
welcomemsg.style.padding = "15px";// padding
welcomemsg.style.fontSize = "15px"; //font size
welcomemsg.style.borderRadius = "10px"; //border
welcomemsg.style.transition = "top 1s, opacity 1s"; //timer
welcomemsg.style.zIndex = "9999"; //zIndex
document.body.appendChild(welcomemsg); //timer
setTimeout(() => {
welcomemsg.style.top = "0";
welcomemsg.style.opacity = "1";
}, 500);
setTimeout(() => {
welcomemsg.style.opacity = "0";
setTimeout(() => {
welcomemsg.remove();
}, 1000);
}, 3000);
//welcomemsg 2
const welcomemsg2 = document.createElement("div"); //start
welcomemsg2.textContent = "Welcome To GPT.js"; //hello message
welcomemsg2.style.position = "fixed"; //position
welcomemsg2.style.top = "-200px"; //top position
welcomemsg2.style.left = "50%"; //left position
welcomemsg2.style.transform = "translateX(-50%)"; //Animate(transform)
welcomemsg2.style.backgroundColor = "black"; //backgr color
welcomemsg2.style.color = "white"; // color
welcomemsg2.style.padding = "15px"; // padding
welcomemsg2.style.fontSize = "15px"; //font size
welcomemsg2.style.borderRadius = "10px"; //border
welcomemsg2.style.transition = "top 1s, opacity 1s"; //timer
welcomemsg2.style.zIndex = "9999"; //zIndex
document.body.appendChild(welcomemsg2); //timer
setTimeout(() => { //-----------
welcomemsg2.style.top = "45px"; //Moves down 45 px
welcomemsg2.style.opacity = "1"; //Opacity lol
}, 1500); //----------
setTimeout(() => { //----------
welcomemsg2.style.top = "0"; //Moves Top
welcomemsg2.style.opacity = "1"; // Opacity lol
}, 3000); //---------
//---------
setTimeout(() => { //---------
welcomemsg2.style.opacity = "0"; //Opaciti lol
setTimeout(() => { //---------
welcomemsg2.remove(); //remove hello message :(
}, 1000);
}, 5000);
document.getElementById("mainMenu").style.backgroundImage = "url('https://cdn.discordapp.com/attachments/929143814487146547/1207465690517217400/IMG_2031.png?ex=65dfbf0e&is=65cd4a0e&hm=3854f02e521483a9b0ac0d5c6e4a233755d37aa51fc9b71d7548ad8978844bae&')";
document.getElementById("mainMenu").style.backgroundRepeat = "no-repeat";
document.getElementById("mainMenu").style.backgroundSize = "contain";
window.reloadedColor = "#a5974c";
window.middleReloadedColor = "#a5974c";
window.notReloadedColor = "#a5974c";
document.getElementById("loadingText").innerText="";
document.getElementById("loadingText").style.color = "black"; // Цвет текста черный
document.getElementById("loadingText").style.textShadow = "black -2px -2px 10px, black 0px -5px 1px, black 0px -5px 10px"; // Цвет тени черный
var gameNameElement = document.getElementById("gameName");
gameNameElement.style.backgroundImage = "linear-gradient(to right, red, yellow)";
gameNameElement.style.WebkitBackgroundClip = "text";
gameNameElement.style.color = "black"; // Цвет текста черный
gameNameElement.style.textShadow = "0 0 2px black, 0 0 5px black"; // Цвет тени черный
gameNameElement.style.webkitTextFillColor = "transparent";
gameNameElement.style.webkitTextStroke = "1px black"; // Обводка черная
gameNameElement.style.animation = "popIn 1.5s ease-out";
// T岷 animation keyframes
var styleSheet = document.styleSheets[0];
var keyframes = "\
@keyframes popIn {\
0% {\
transform: scale(0.5);\
opacity: 0;\
}\
100% {\
transform: scale(1);\
opacity: 1;\
}\
}";
styleSheet.insertRule(keyframes, styleSheet.cssRules.length);
var getElement = document.querySelector('#enterGame');
({'position':'absolute','bottom':'72px','left':'20px','width':'420px','height':'236.25px','padding-bottom':'18px','margin-top':'0px'});
$("#gameCanvas").css('cursor', 'url(http://cur.cursors-4u.net/games/gam-15/gam1422.gif), default');
$('.menuCard').css({'color':'#808080'});
$('#menuContainer').css({'white-space': 'normal'});
$('#guideCard').css({'color': '#FFFFF'});
$('.killCounter').css({'color': '#000000'});
$('#nativeResolution').css({'cursor': 'pointer'});
$('#playMusic').css({'cursor': 'pointer'});
$('#skinColorHolder').css({'margin-bottom': '30.75px'});
$('.settingRadio').css({'margin-bottom': '30.75px'});
$('#nameInput').css({'border-radius': '0px',
'-moz-border-radius': '0px',
'-webkit-border-radius': '0px',
'border': 'hidden'});
$('#serverSelect').css({'cursor': 'pointer',
'color': '#000000',
'background-color': '#808080',
'border': 'hidden',
'font-size': '20px'});
$('.menuButton').css({'border-radius': '0px',
'-moz-border-radius': '0px',})
var moomooVer = $('#linksContainer2 .menuLink').html(),
hideSelectors = ['#mobileDownloadButtonContainer',
'#followText',
'#smallLinks',
'#linksContainer1',
'#twitterFollow',
'#youtubeFollow',
'#cdm-zone-02',
'#youtuberOf',
'#promoImg',
'#downloadButtonContainer',
'.menuHeader',
'.menuLink',
'.menuHeader:nth-child(5)',
'.menuHeader:nth-child(6)',
'.menuText'
],
css = '#rightCardHolder {display: block!important}',
head = document.head || document.getElementsByTagName('head')[0],
style = document.createElement('style');
style.type = 'text/css';
if (style.styleSheet){
style.styleSheet.cssText = css;
} else {
style.appendChild(document.createTextNode(css));
}
for ( let i = 0; i < hideSelectors.length; i++ ) {
$(hideSelectors[i]).hide();
}
head.appendChild(style);
$('#linksContainer2').html('');
let nameColor = "#9268f2";
let enemyNameColor = "#9268f2";
let reloadBarColor = "#000000";
let healthBarColor = "#000000";
let shameBarColor = "";
let enemyHealthBarColor = "#9268f2";
let damageTextColor = "#9268f2";
let healTextColor = "#9268f2";
let myObjectHealth = "";
let enemyObjectHealth = "#9268f2";
let autoPushLine = "#9268f2";
let hathuxinggai = true;
let ping = 0;
document.addEventListener("keydown", function(event) {
if (event.keyCode === 9) {
const chatHolder = document.getElementById("menuChatDiv");
if (chatHolder) {
const currentDisplay = chatHolder.style.display;
chatHolder.style.display = currentDisplay === "none" ? "block" : "none";
}
}
if (event.keyCode === 192) {
const chatHolder = document.getElementById("gameUI");
if (chatHolder) {
const currentDisplay = chatHolder.style.display;
chatHolder.style.display = currentDisplay === "none" ? "block" : "none";
}
}
if (event.keyCode === 99) {
const chatHolder = document.getElementById("gameCanvas");
if (chatHolder) {
const currentDisplay = chatHolder.style.display;
chatHolder.style.display = currentDisplay === "none" ? "block" : "none";
}
}
});
function getRandomRGBColor() {
const r = Math.floor(Math.random() * 256);
const g = Math.floor(Math.random() * 256);
const b = Math.floor(Math.random() * 256);
return `rgb(${r}, ${g}, ${b})`;
}
function getRandomBrightRGBColor() {
const r = Math.floor(Math.random() * 128) + 128; // Red component (between 128 and 255)
const g = Math.floor(Math.random() * 128) + 128; // Green component (between 128 and 255)
const b = Math.floor(Math.random() * 128) + 128; // Blue component (between 128 and 255)
return `rgb(${r}, ${g}, ${b})`;
}
// Define a function to generate a random rainbowish color
function getRandomRainbowishColor() {
const hue = Math.floor(Math.random() * 360); // Random hue between 0 and 360 (for the entire color spectrum)
const saturation = '100%'; // Full saturation for vibrant colors
const lightness = '50%'; // Balanced lightness
return `hsl(${hue}, ${saturation}, ${lightness})`;
}
// AUTO RELOAD
setInterval(() => window.follmoo && follmoo(), 10);
window.location.native_resolution = true;
var autoreloadloop;
var autoreloadenough = 0;
autoreloadloop = setInterval(function() {
if (autoreloadenough < 200) {
if (document.getElementById("loadingText").innerHTML == `disconnectedreload`) {
document.title = "Reloading";
clearInterval(autoreloadloop);
setTimeout(function() { document.title = "Moo Moo"; }, 1000)
location.reload();
}
autoreloadenough++;
}
else if (autoreloadenough >= 300) {
clearInterval(autoreloadloop);
document.title = "Reloaded";
setTimeout(function() { document.title = "Moo Moo"; }, 1000)
}
}, 50);
let useHack = true;
let log = console.log;
let testMode = window.location.hostname == "127.0.0.1";
let circleScale = 1.5
let namechanger = false;
let inantiantibull = false;
let spin = {
degree: 45,
toggle: false,
angle: 0
}
// Rainbow Color HEX
var RainbowCycle = 0;
var cycle = 0;
var HPBarColor = "black";
var NameBarColor = "black";
setInterval(() => {
if (RainbowCycle > 359) {
// If Rainbow Reached Maximum
RainbowCycle = 0; // Restart ();
} else {
RainbowCycle++;
HPBarColor = `hsla(${RainbowCycle}, 100%, 50%, 30)`;
}
}, 0);
function getEl(id) {
return document.getElementById(id);
}
var EasyStar = function(e) {
var o = {};
function r(t) {
if (o[t]) return o[t].exports;
var n = o[t] = {
i: t,
l: !1,
exports: {}
};
return e[t].call(n.exports, n, n.exports, r), n.l = !0, n.exports
}
return r.m = e, r.c = o, r.d = function(t, n, e) {
r.o(t, n) || Object.defineProperty(t, n, {
enumerable: !0,
get: e
})
}, r.r = function(t) {
"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {
value: "Module"
}), Object.defineProperty(t, "__esModule", {
value: !0
})
}, r.t = function(n, t) {
if (1 & t && (n = r(n)), 8 & t) return n;
if (4 & t && "object" == typeof n && n && n.__esModule) return n;
var e = Object.create(null);
if (r.r(e), Object.defineProperty(e, "default", {
enumerable: !0,
value: n
}), 2 & t && "string" != typeof n)
for (var o in n) r.d(e, o, function(t) {
return n[t]
}.bind(null, o));
return e
}, r.n = function(t) {
var n = t && t.__esModule ? function() {
return t.default
} : function() {
return t
};
return r.d(n, "a", n), n
}, r.o = function(t, n) {
return Object.prototype.hasOwnProperty.call(t, n)
}, r.p = "/bin/", r(r.s = 0)
}([function(t, n, e) {
var P = {},
M = e(1),
_ = e(2),
A = e(3);
t.exports = P;
var E = 1;
P.js = function() {
var c, i, f, s = 1.4,
p = !1,
u = {},
o = {},
r = {},
l = {},
a = !0,
h = {},
d = [],
y = Number.MAX_VALUE,
v = !1;
this.setAcceptableTiles = function(t) {
t instanceof Array ? f = t : !isNaN(parseFloat(t)) && isFinite(t) && (f = [t])
}, this.enableSync = function() {
p = !0
}, this.disableSync = function() {
p = !1
}, this.enableDiagonals = function() {
v = !0
}, this.disableDiagonals = function() {
v = !1
}, this.setGrid = function(t) {
c = t;
for (var n = 0; n < c.length; n++)
for (var e = 0; e < c[0].length; e++) o[c[n][e]] || (o[c[n][e]] = 1)
}, this.setTileCost = function(t, n) {
o[t] = n
}, this.setAdditionalPointCost = function(t, n, e) {
void 0 === r[n] && (r[n] = {}), r[n][t] = e
}, this.removeAdditionalPointCost = function(t, n) {
void 0 !== r[n] && delete r[n][t]
}, this.removeAllAdditionalPointCosts = function() {
r = {}
}, this.setDirectionalCondition = function(t, n, e) {
void 0 === l[n] && (l[n] = {}), l[n][t] = e
}, this.removeAllDirectionalConditions = function() {
l = {}
}, this.setIterationsPerCalculation = function(t) {
y = t
}, this.avoidAdditionalPoint = function(t, n) {
void 0 === u[n] && (u[n] = {}), u[n][t] = 1
}, this.stopAvoidingAdditionalPoint = function(t, n) {
void 0 !== u[n] && delete u[n][t]
}, this.enableCornerCutting = function() {
a = !0
}, this.disableCornerCutting = function() {
a = !1
}, this.stopAvoidingAllAdditionalPoints = function() {
u = {}
}, this.findPath = function(t, n, e, o, r) {
function i(t) {
p ? r(t) : setTimeout(function() {
r(t)
})
}
if (void 0 === f) throw new Error("You can't set a path without first calling setAcceptableTiles() on EasyStar.");
if (void 0 === c) throw new Error("You can't set a path without first calling setGrid() on EasyStar.");
if (t < 0 || n < 0 || e < 0 || o < 0 || t > c[0].length - 1 || n > c.length - 1 || e > c[0].length - 1 || o > c.length - 1) throw new Error("Your start or end point is outside the scope of your grid.");
if (t !== e || n !== o) {
for (var s = c[o][e], u = !1, l = 0; l < f.length; l++)
if (s === f[l]) {
u = !0;
break
} if (!1 !== u) {
var a = new M;
a.openList = new A(function(t, n) {
return t.bestGuessDistance() - n.bestGuessDistance()
}), a.isDoneCalculating = !1, a.nodeHash = {}, a.startX = t, a.startY = n, a.endX = e, a.endY = o, a.callback = i, a.openList.push(O(a, a.startX, a.startY, null, 1));
o = E++;
return h[o] = a, d.push(o), o
}
i(null)
} else i([])
}, this.cancelPath = function(t) {
return t in h && (delete h[t], !0)
}, this.calculate = function() {
if (0 !== d.length && void 0 !== c && void 0 !== f)
for (i = 0; i < y; i++) {
if (0 === d.length) return;
p && (i = 0);
var t = d[0],
n = h[t];
if (void 0 !== n)
if (0 !== n.openList.size()) {
var e = n.openList.pop();
if (n.endX !== e.x || n.endY !== e.y) (e.list = 0) < e.y && T(n, e, 0, -1, +b(e.x, e.y - 1)), e.x < c[0].length - 1 && T(n, e, 1, 0, +b(e.x + 1, e.y)), e.y < c.length - 1 && T(n, e, 0, 1, +b(e.x, e.y + 1)), 0 < e.x && T(n, e, -1, 0, +b(e.x - 1, e.y)), v && (0 < e.x && 0 < e.y && (a || g(c, f, e.x, e.y - 1, e) && g(c, f, e.x - 1, e.y, e)) && T(n, e, -1, -1, s * b(e.x - 1, e.y - 1)), e.x < c[0].length - 1 && e.y < c.length - 1 && (a || g(c, f, e.x, e.y + 1, e) && g(c, f, e.x + 1, e.y, e)) && T(n, e, 1, 1, s * b(e.x + 1, e.y + 1)), e.x < c[0].length - 1 && 0 < e.y && (a || g(c, f, e.x, e.y - 1, e) && g(c, f, e.x + 1, e.y, e)) && T(n, e, 1, -1, s * b(e.x + 1, e.y - 1)), 0 < e.x && e.y < c.length - 1 && (a || g(c, f, e.x, e.y + 1, e) && g(c, f, e.x - 1, e.y, e)) && T(n, e, -1, 1, s * b(e.x - 1, e.y + 1)));
else {
var o = [];
o.push({
x: e.x,
y: e.y
});
for (var r = e.parent; null != r;) o.push({
x: r.x,
y: r.y
}), r = r.parent;
o.reverse(), n.callback(o), delete h[t], d.shift()
}
} else n.callback(null), delete h[t], d.shift();
else d.shift()
}
};
var T = function(t, n, e, o, r) {
e = n.x + e, o = n.y + o;
void 0 !== u[o] && void 0 !== u[o][e] || !g(c, f, e, o, n) || (void 0 === (o = O(t, e, o, n, r)).list ? (o.list = 1, t.openList.push(o)) : n.costSoFar + r < o.costSoFar && (o.costSoFar = n.costSoFar + r, o.parent = n, t.openList.updateItem(o)))
},
g = function(t, n, e, o, r) {
var i = l[o] && l[o][e];
if (i) {
var s = x(r.x - e, r.y - o);
if (! function() {
for (var t = 0; t < i.length; t++)
if (i[t] === s) return !0;
return !1
}()) return !1
}
for (var u = 0; u < n.length; u++)
if (t[o][e] === n[u]) return !0;
return !1
},
x = function(t, n) {
if (0 === t && -1 === n) return P.TOP;
if (1 === t && -1 === n) return P.TOP_RIGHT;
if (1 === t && 0 === n) return P.RIGHT;
if (1 === t && 1 === n) return P.BOTTOM_RIGHT;
if (0 === t && 1 === n) return P.BOTTOM;
if (-1 === t && 1 === n) return P.BOTTOM_LEFT;
if (-1 === t && 0 === n) return P.LEFT;
if (-1 === t && -1 === n) return P.TOP_LEFT;
throw new Error("These differences are not valid: " + t + ", " + n)
},
b = function(t, n) {
return r[n] && r[n][t] || o[c[n][t]]
},
O = function(t, n, e, o, r) {
if (void 0 !== t.nodeHash[e]) {
if (void 0 !== t.nodeHash[e][n]) return t.nodeHash[e][n]
} else t.nodeHash[e] = {};
var i = m(n, e, t.endX, t.endY),
r = null !== o ? o.costSoFar + r : 0,
i = new _(o, n, e, r, i);
return t.nodeHash[e][n] = i
},
m = function(t, n, e, o) {
var r, i;
return v ? (r = Math.abs(t - e)) < (i = Math.abs(n - o)) ? s * r + i : s * i + r : (r = Math.abs(t - e)) + (i = Math.abs(n - o))
}
}, P.TOP = "TOP", P.TOP_RIGHT = "TOP_RIGHT", P.RIGHT = "RIGHT", P.BOTTOM_RIGHT = "BOTTOM_RIGHT", P.BOTTOM = "BOTTOM", P.BOTTOM_LEFT = "BOTTOM_LEFT", P.LEFT = "LEFT", P.TOP_LEFT = "TOP_LEFT"
}, function(t, n) {
t.exports = function() {
this.pointsToAvoid = {}, this.startX, this.callback, this.startY, this.endX, this.endY, this.nodeHash = {}, this.openList
}
}, function(t, n) {
t.exports = function(t, n, e, o, r) {
this.parent = t, this.x = n, this.y = e, this.costSoFar = o, this.simpleDistanceToTarget = r, this.bestGuessDistance = function() {
return this.costSoFar + this.simpleDistanceToTarget
}
}
}, function(t, n, e) {
t.exports = e(4)
}, function(u, T, t) {
var g, x;
(function() {
var t, p, l, h, d, n, a, e, y, v, o, r, i, c, f;
function s(t) {
this.cmp = null != t ? t : p, this.nodes = []
}
l = Math.floor, v = Math.min, p = function(t, n) {
return t < n ? -1 : n < t ? 1 : 0
}, y = function(t, n, e, o, r) {
var i;
if (null == e && (e = 0), null == r && (r = p), e < 0) throw new Error("lo must be non-negative");
for (null == o && (o = t.length); e < o;) r(n, t[i = l((e + o) / 2)]) < 0 ? o = i : e = i + 1;
return [].splice.apply(t, [e, e - e].concat(n)), n
}, n = function(t, n, e) {
return null == e && (e = p), t.push(n), c(t, 0, t.length - 1, e)
}, d = function(t, n) {
var e, o;
return null == n && (n = p), e = t.pop(), t.length ? (o = t[0], t[0] = e, f(t, 0, n)) : o = e, o
}, e = function(t, n, e) {
var o;
return null == e && (e = p), o = t[0], t[0] = n, f(t, 0, e), o
}, a = function(t, n, e) {
var o;
return null == e && (e = p), t.length && e(t[0], n) < 0 && (n = (o = [t[0], n])[0], t[0] = o[1], f(t, 0, e)), n
}, h = function(e, t) {
var n, o, r, i, s, u;
for (null == t && (t = p), s = [], o = 0, r = (i = function() {
u = [];
for (var t = 0, n = l(e.length / 2); 0 <= n ? t < n : n < t; 0 <= n ? t++ : t--) u.push(t);
return u
}.apply(this).reverse()).length; o < r; o++) n = i[o], s.push(f(e, n, t));
return s
}, i = function(t, n, e) {
if (null == e && (e = p), -1 !== (n = t.indexOf(n))) return c(t, 0, n, e), f(t, n, e)
}, o = function(t, n, e) {
var o, r, i, s, u;
if (null == e && (e = p), !(r = t.slice(0, n)).length) return r;
for (h(r, e), i = 0, s = (u = t.slice(n)).length; i < s; i++) o = u[i], a(r, o, e);
return r.sort(e).reverse()
}, r = function(t, n, e) {
var o, r, i, s, u, l, a, c, f;
if (null == e && (e = p), 10 * n <= t.length) {
if (!(i = t.slice(0, n).sort(e)).length) return i;
for (r = i[i.length - 1], s = 0, l = (a = t.slice(n)).length; s < l; s++) e(o = a[s], r) < 0 && (y(i, o, 0, null, e), i.pop(), r = i[i.length - 1]);
return i
}
for (h(t, e), f = [], u = 0, c = v(n, t.length); 0 <= c ? u < c : c < u; 0 <= c ? ++u : --u) f.push(d(t, e));
return f
}, c = function(t, n, e, o) {
var r, i, s;
for (null == o && (o = p), r = t[e]; n < e && o(r, i = t[s = e - 1 >> 1]) < 0;) t[e] = i, e = s;
return t[e] = r
}, f = function(t, n, e) {
var o, r, i, s, u;
for (null == e && (e = p), r = t.length, i = t[u = n], o = 2 * n + 1; o < r;)(s = o + 1) < r && !(e(t[o], t[s]) < 0) && (o = s), t[n] = t[o], o = 2 * (n = o) + 1;
return t[n] = i, c(t, u, n, e)
}, s.push = n, s.pop = d, s.replace = e, s.pushpop = a, s.heapify = h, s.updateItem = i, s.nlargest = o, s.nsmallest = r, s.prototype.push = function(t) {
return n(this.nodes, t, this.cmp)
}, s.prototype.pop = function() {
return d(this.nodes, this.cmp)
}, s.prototype.peek = function() {
return this.nodes[0]
}, s.prototype.contains = function(t) {
return -1 !== this.nodes.indexOf(t)
}, s.prototype.replace = function(t) {
return e(this.nodes, t, this.cmp)
}, s.prototype.pushpop = function(t) {
return a(this.nodes, t, this.cmp)
}, s.prototype.heapify = function() {
return h(this.nodes, this.cmp)
}, s.prototype.updateItem = function(t) {
return i(this.nodes, t, this.cmp)
}, s.prototype.clear = function() {
return this.nodes = []
}, s.prototype.empty = function() {
return 0 === this.nodes.length
}, s.prototype.size = function() {
return this.nodes.length
}, s.prototype.clone = function() {
var t = new s;
return t.nodes = this.nodes.slice(0), t
}, s.prototype.toArray = function() {
return this.nodes.slice(0)
}, s.prototype.insert = s.prototype.push, s.prototype.top = s.prototype.peek, s.prototype.front = s.prototype.peek, s.prototype.has = s.prototype.contains, s.prototype.copy = s.prototype.clone, t = s, g = [], void 0 === (x = "function" == typeof (x = function() {
return t
}) ? x.apply(T, g) : x) || (u.exports = x)
}).call(this)
}]);
let easystar = new EasyStar.js();
!function(run) {
if (!run) return;
let codes = {
setup: () => {
"use strict";
let newFont = document.createElement("link");
newFont.rel = "stylesheet";
newFont.href = "https://fonts.googleapis.com/css?family=Ubuntu:700";
newFont.type = "text/css";
document.body.append(newFont);
let min = document.createElement("script");
min.src = "https://rawgit.com/kawanet/msgpack-lite/master/dist/msgpack.min.js";
document.body.append(min);
},
main: () => {
if (!useHack) {
return;
}
"use strict";
window.oncontextmenu = function() {
return false;
};
let config = window.config;
// CLIENT:
config.clientSendRate = 0; // Aim Packet Send Rate
config.serverUpdateRate = 9;
// UI:
config.deathFadeout = 0;
// CHECK IN SANDBOX:
config.isSandbox = window.location.hostname == "sandbox.moomoo.io";
// CUSTOMIZATION:
config.skinColors = ["#bf8f54", "#cbb091", "#896c4b",
"#fadadc", "#ececec", "#c37373", "#4c4c4c", "#ecaff7", "#738cc3",
"#8bc373", "#91b2db"
];
config.weaponVariants = [{
id: 0,
src: "",
xp: 0,
val: 1,
}, {
id: 1,
src: "_g",
xp: 3000,
val: 1.1,
}, {
id: 2,
src: "_d",
xp: 7000,
val: 1.18,
}, {
id: 3,
src: "_r",
poison: true,
xp: 12000,
val: 1.18,
}, {
id: 4,
src: "_e",
poison: true,
heal: true,
xp: 24000,
val: 1.18,
}];
// VISUAL:
config.anotherVisual = false;
config.useWebGl = false;
config.resetRender = false;
function waitTime(timeout) {
return new Promise((done) => {
setTimeout(() => {
done();
}, timeout);
});
}
let changed = false;
let botSkts = [];
// STORAGE:
let canStore;
if (typeof (Storage) !== "undefined") {
canStore = true;
}
function saveVal(name, val) {
if (canStore)
localStorage.setItem(name, val);
}
function deleteVal(name) {
if (canStore)
localStorage.removeItem(name);
}
function getSavedVal(name) {
if (canStore)
return localStorage.getItem(name);
return null;
}
// CONFIGS:
let gC = function(a, b) {
try {
let res = JSON.parse(getSavedVal(a));
if (typeof res === "object") {
return b;
} else {
return res;
}
} catch (e) {
alert("dieskid");
return b;
}
};
function setConfigs() {
return {
autoPlay: false,
killChat: true,
autoBuy: false,
autoBuyEquip: true,
alwaysFlipper: false,
autoQonSync: false,
autoPush: true,
revTick: false,
revInsta: false,
doSpikeOnReverse: true,
spikeTick: true,
predictTick: true,
counterInsta: true,
secondaryOnCounter: true,
autoPlace: true,
autoReplace: true,
antiTrap: true,
slowOT: false,
attackDir: false,
noDir: false,
showDir: true,
autoRespawn: true
// autoplacer: false
};
}
let configs = setConfigs();
window.removeConfigs = function() {
for (let cF in configs) {
deleteVal(cF, configs[cF]);
}
};
for (let cF in configs) {
configs[cF] = gC(cF, configs[cF]);
}
// MENU FUNCTIONS:
window.changeMenu = function() { };
window.debug = function() { };
window.toggleNight = function() { };
window.wasdMode = function() { };
// PAGE 1:
window.startGrind = function() { };
// PAGE 3:
window.connectFillBots = function() { };
window.destroyFillBots = function() { };
window.tryConnectBots = function() { };
window.destroyBots = function() { };
window.resBuild = function() { };
window.toggleBotsCircle = function() { };
window.toggleVisual = function() { };
// SOME FUNCTIONS:
window.prepareUI = function() { };
window.leave = function() { };
// nah hahahahahhh why good ping
window.ping = hathuxinggai ? 86 : 0;
class HtmlAction {
constructor(element) {
this.element = element;
};
add(code) {
if (!this.element) return undefined;
this.element.innerHTML += code;
};
newLine(amount) {
let result = `
`;
if (amount > 0) {
result = ``;
for (let i = 0; i < amount; i++) {
result += `
`;
}
}
this.add(result);
};
checkBox(setting) {
let newCheck = ``;
this.add(newCheck);
};
text(setting) {
let newText = ``;
this.add(newText);
};
select(setting) {
let newSelect = ``;
this.add(newSelect);
};
button(setting) {
let newButton = ``;
this.add(newButton);
};
selectMenu(setting) {
let newSelect = ``;
this.add(newSelect);
i = 0;
for (let options in setting.menu) {
window[options + "Func"] = function() {
setting.menu[options] = getEl("check_" + options).checked ? true : false;
saveVal(options, setting.menu[options]);
getEl("O_" + options).style.color = setting.menu[options] ? "#000" : "#fff";
getEl("O_" + options).style.background = setting.menu[options] ? "#8ecc51" : "#cc5151";
//getEl(setting.id).style.color = setting.menu[options] ? "#8ecc51" : "#cc5151";
};
this.checkBox({
id: "check_" + options,
style: `display: ${i == 0 ? "inline-block" : "none"};`,
class: "checkB",
onclick: `window.${options + "Func"}()`,
checked: setting.menu[options]
});
i++;
}
last = "check_" + getEl(setting.id).value.split("_")[1];
window[setting.id + "Func"] = function() {
getEl(last).style.display = "none";
last = "check_" + getEl(setting.id).value.split("_")[1];
getEl(last).style.display = "inline-block";
//getEl(setting.id).style.color = setting.menu[last.split("_")[1]] ? "#8ecc51" : "#fff";
};
};
};
class Html {
constructor() {
this.element = null;
this.action = null;
this.divElement = null;
this.startDiv = function(setting, func) {
let newDiv = document.createElement("div");
setting.id && (newDiv.id = setting.id);
setting.style && (newDiv.style = setting.style);
setting.class && (newDiv.className = setting.class);
this.element.appendChild(newDiv);
this.divElement = newDiv;
let addRes = new HtmlAction(newDiv);
typeof func == "function" && func(addRes);
};
this.addDiv = function(setting, func) {
let newDiv = document.createElement("div");
setting.id && (newDiv.id = setting.id);
setting.style && (newDiv.style = setting.style);
setting.class && (newDiv.className = setting.class);
setting.appendID && getEl(setting.appendID).appendChild(newDiv);
this.divElement = newDiv;
let addRes = new HtmlAction(newDiv);
typeof func == "function" && func(addRes);
};
};
set(id) {
this.element = getEl(id);
this.action = new HtmlAction(this.element);
};
resetHTML(text) {
if (text) {
this.element.innerHTML = ``;
} else {
this.element.innerHTML = ``;
}
};
setStyle(style) {
this.element.style = style;
};
setCSS(style) {
this.action.add(``);
};
};
let HTML = new Html();
let nightMode = document.createElement("div");
nightMode.id = "nightMode";
document.body.appendChild(nightMode);
HTML.set("nightMode");
HTML.setStyle(`
display: none;
position: absolute;
pointer-events: none;
background-color: rgb(0, 0, 100);
opacity: 0;
top: 0%;
width: 100%;
height: 100%;
animation-duration: 1.5s;
animation-name: night2;
`);
HTML.resetHTML();
HTML.setCSS(`
@keyframes night1 {
from {opacity: 0;}
to {opacity: 0.25;}
}
@keyframes night2 {
from {opacity: 0.25;}
to {opacity: 0;}
}
`);
let menuDiv = document.createElement("div");
menuDiv.id = "menuDiv";
document.body.appendChild(menuDiv);
HTML.set("menuDiv");
HTML.setStyle(`
position: absolute;
left: 20px;
top: 20px;
`);
HTML.resetHTML();
HTML.setCSS(`
.menuClass {
color: #fff;
font-size: 31px;
text-align: left;
padding: 10px;
padding-top: 7px;
padding-bottom: 5px;
width: 300px; /* 膼岷穞 膽峄?r峄檔g b岷 mong mu峄憂 */
background-color: rgba(0, 0, 0, 0.25);
border-radius: 15px;
position: absolute;
left: 50%; /* 膼岷穞 峄?gi峄痑 theo chi峄乽 ngang */
top: 50%; /* 膼岷穞 峄?gi峄痑 theo chi峄乽 d峄峜 */
cursor: move;
user-select: none;
}
.menuB {
text-align: center;
background-color: rgb(25, 25, 25);
color: #fff;
border-radius: 15px;
border: 2px solid #000;
cursor: pointer;
display: block;
margin-top: 10px;
width: 100%;
padding: 8px 0;
}
.menuB:hover {
border: 2px solid #fff;
}
.menuB:active {
color: rgb(25, 25, 25);
background-color: rgb(200, 200, 200);
}
.menuC {
display: none;
font-family: "Hammersmith One";
font-size: 12px;
max-height: 180px;
overflow-y: scroll;
background-color: rgba(0, 0, 0, 0.5);
border-radius: 15px;
padding: 10px;
margin-top: 10px;
}
.menuC::-webkit-scrollbar {
width: 10px;
background-color: transparent; /* Set scrollbar background to transparent */
}
.menuC::-webkit-scrollbar-thumb {
background-color: rgb(25, 25, 25);
border-radius: 4px;
}
.menuC::-webkit-scrollbar-thumb:active {
background-color: rgb(230, 230, 230);
}
.customText {
border-radius: 4px;
border: 2px solid #000;
padding: 5px;
}
.customText:focus {
background-color: yellow;
}
/* Add more styles as needed */
`);
HTML.startDiv({ id: "menuHeadLine", class: "menuClass" }, (html) => {
html.add(`AI Menu`);
html.button({ id: "menuChanger", class: "menuB", innerHTML: `Change Menu`, onclick: "window.changeMenu()" });
HTML.addDiv({ id: "menuButtons", style: "display: none; overflow-y: visible;", class: "menuC", appendID: "menuHeadLine" }, (html) => {
html.button({ class: "menuB", innerHTML: "Debug", onclick: "window.debug()" });
html.button({ class: "menuB", innerHTML: "Night Mode", onclick: "window.toggleNight()" });
});
HTML.addDiv({ id: "menuMain", style: "display: block", class: "menuC", appendID: "menuHeadLine" }, (html) => {
html.button({ class: "menuB", innerHTML: "Toggle Wasd Mode", onclick: "window.wasdMode()" });
html.newLine();
html.add(`Weapon Grinder: `);
html.checkBox({ id: "weaponGrind", class: "checkB", onclick: "window.startGrind()" });
html.newLine(2);
HTML.addDiv({ style: "font-size: 20px; color: #99ee99;", appendID: "menuMain" }, (html) => {
html.add(`Settings:`);
});
html.add(`Beta Healing:`);
html.checkBox({ id: "healingBeta", class: "checkB", checked: true });
html.add(`Render Placers:`);
html.checkBox({ id: "placeVis", class: "checkB", checked: true });
html.newLine();
html.add(`Play Styles: `);
html.select({
id: "visualType", class: "Cselect", option: {
"zf": {
id: "lonely",
selected: true
},
}
});
});
HTML.addDiv({ id: "menuConfig", class: "menuC", appendID: "menuHeadLine" }, (html) => {
html.add(`AutoPlacer Placement Tick: `);
html.text({ id: "autoPlaceTick", class: "customText", value: "2", size: "2em", maxLength: "1" });
html.newLine();
html.add(`AutoPlaceType: `);
html.select({
id: "autoPlacetype", class: "Cselect", option: {
Smart: {
id: "smart",
selected: true
},
MagicPlace: {
id: "magicplace",
},
NewPlaceTest: {
id: "aiplace",
},
Spamtrap: {
id: "spamtrap",
},
Spamtrap2: {
id: "spamtrap2",
},
HaThu: {
id: "HaThu",
}
}
});
html.newLine();
html.add(`Configs: `);
html.selectMenu({ id: "configsChanger", class: "Cselect", menu: configs });
html.newLine();
html.add(`InstaKill Type: `);
html.select({
id: "instaType", class: "Cselect", option: {
OneShot: {
id: "oneShot",
selected: true
},
Spammer: {
id: "spammer"
}
}
});
html.newLine();
html.add(`AntiBull Type: `);
html.select({
id: "antiBullType", class: "Cselect", option: {
"Disable AntiBull": {
id: "noab",
},
"When Reloaded": {
id: "abreload",
selected: true
},
"Primary Reloaded": {
id: "abalway",
}
}
});
html.newLine();
html.add(`VISUAL CHANGER:`);// VISUAL CHANGER
html.select({
id: "VISUAL", class: "value", option: {
"v1": {
id: "OBLI",
},
"v2": {
id: "RV4",
},
"v3": {
id: "RV3",
},
"v4": {
id: "SIMPL",
},
"v5": {
id: "IWR",
},
"v6": {
id: "DARK",
},
"v7": {
id: "ZK",
},
"v8": {
id: "PACIFIST",
},
"v9": {
id: "ZIKA",
},
}
});
// SONG
html.newLine();// LoL (Worlds 2020) - Take Over Initial D - Gas Gas Gas
html.add(`SONG:`);
html.select({
id: "autochats", class: "Cselect", option: {
"Initial D - The Top": {
id: "thetop",
},
"Crypt x Joey Nato - Invincible": {
id: "inv",
},
"Initial D - Gas Gas Gas": {
id: "gas",
},
"League of Legends - Take Over (Lyrics) ft. Jeremy McKinnon, MAX, Henry": {
id: "thetop",
}
}
});
html.newLine();
html.add(`AutoPlay:`);
html.checkBox({ id: "autoPlay", class: "checkB", checked: false });
html.newLine();
html.add(`Backup Nobull Insta: `);
html.checkBox({ id: "backupNobull", class: "checkB", checked: true });
html.newLine();
html.add(`Turret Gear Combat Assistance: `);
html.checkBox({ id: "turretCombat", class: "checkB", checked: false });
html.newLine();
html.add(`Safe AntiSpikeTick: `);
html.checkBox({ id: "safeAntiSpikeTick", class: "checkB", checked: true });
html.newLine();
html.add(`Player Follower: `);
html.text({ id: "playerSid", class: "customText", value: "0", size: "2em", maxLength: "2" });
html.checkBox({ id: "togglePlayerFollower", class: "checkB", onclick: "window.startFollow()", checked: false });
html.newLine()
html.add(`Boost Tick Distance: `);
html.text({ id: "boosttickdistance", class: "customText", value: "200", size: "4em", maxLength: "3" });
html.newLine();
html.add(`Show Grid: `);
html.checkBox({ id: "gridshow", class: "checkB", checked: false });
html.newLine();
});
HTML.addDiv({ id: "menuOther", class: "menuC", appendID: "menuHeadLine" }, (html) => {
html.button({ class: "menuB", innerHTML: "Connect Bots", onclick: "window.tryConnectBots()" });
html.button({ class: "menuB", innerHTML: "Disconnect Bots", onclick: "window.destroyBots()" });
html.newLine();
html.button({ class: "menuB", innerHTML: "Connect FBots", onclick: "window.connectFillBots()" });
html.button({ class: "menuB", innerHTML: "Disconnect FBots", onclick: "window.destroyFillBots()" });
html.newLine();
html.button({ class: "menuB", innerHTML: "Reset Break Objects", onclick: "window.resBuild()" });
html.newLine();
html.add(`Bot Mode: `);
html.select({
id: "mode",
class: "Cselect",
option: {
"Clear Building": {
id: "clear",
selected: true
},
"Sync": {
id: "zync",
},
"Search": {
id: "zearch"
},
"Clear Everything": {
id: "radiusclear"
},
"Flex": {
id: "flex"
}
}
});
html.newLine();
html.add(`Bot Setup Type: `);
html.select({
id: "setup",
class: "Cselect",
option: {
"Dagger Musket": {
id: "dm",
selected: true
},
"Katana Hammer": {
id: "kh"
},
"Dagger Repeater-Crossbow": {
id: "dr"
},
"Short-Sword Muzket": {
id: "zd"
}
}
});
html.newLine();
html.add(`BotsSpamChat: `);
html.checkBox({id: "botspamchat", class: "checkB", checked: false});
html.newLine()
html.add(`Bots Create Own Team: `);
html.checkBox({id: "botcreateownclan", class: "checkB", checked: false});
html.newLine();
html.add(`Break Objects Range: `);
html.text({ id: "breakRange", class: "customText", value: "700", size: "3em", maxLength: "4" });
html.newLine();
html.add(`Predict Movement Type: `);
html.select({
id: "predictType", class: "Cselect", option: {
"Disable Render": {
id: "disableRender",
selected: true
},
"X/Y and 2": {
id: "pre2",
},
"X/Y and 3": {
id: "pre3"
}
}
});
html.newLine();
html.button({ class: "menuB", innerHTML: "Toggle Fbots Circle", onclick: "window.toggleBotsCircle()" });
html.newLine();
html.add(`Circle Rad: `);
html.text({ id: "circleRad", class: "customText", value: "200", size: "3em", maxLength: "4" });
html.newLine();
html.add(`Rad Speed: `);
html.text({ id: "radSpeed", class: "customText", value: "0.1", size: "2em", maxLength: "3" });
html.newLine(2);
html.add(`Cross World: `);
html.checkBox({ id: "funni", class: "checkB" });
html.newLine();
html.button({ class: "menuB", innerHTML: "Toggle Another Visual", onclick: "window.toggleVisual()" });
html.newLine();
});
});
let menuChatDiv = document.createElement("div");
menuChatDiv.id = "menuChatDiv";
document.body.appendChild(menuChatDiv);
HTML.set("menuChatDiv");
HTML.setStyle(`
position: absolute;
display: none;
left: 0px;
top: 0px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.65);
`);
HTML.resetHTML();
HTML.setCSS(`
.chDiv{
color: #fff;
padding: 5px;
width: 340px;
height: 280px;
background-color: rgba(0, 0, 0, 0.35);
}
.chMainDiv{
font-family: "Ubuntu";
font-size: 12px;
max-height: 235px;
overflow-y: scroll;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.chMainDiv::-webkit-scrollbar {
width: 10px;
background-color: transparent; /* Set scrollbar background to transparent */
}
.chMainDiv::-webkit-scrollbar-thumb {
background-color: rgb(25, 25, 25);
border-radius: 4px;
}
.chMainDiv::-webkit-scrollbar-thumb:active {
background-color: rgb(230, 230, 230);
}
.chMainBox{
position: absolute;
left: 5px;
bottom: 10px;
width: 335px;
height: 30px;
background-color: rgba(128, 128, 128, 0.35);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
color: #fff;
font-family: "Ubuntu";
font-size: 12px;
border: none;
outline: none;
}
`);
HTML.startDiv({
id: "mChDiv",
class: "chDiv"
}, (html) => {
HTML.addDiv({
id: "mChMain",
class: "chMainDiv",
appendID: "mChDiv"
}, (html) => {});
html.text({
id: "mChBox",
class: "chMainBox",
placeHolder: `sub to zf `
});
});
let menuChats = getEl("mChMain");
let menuChatBox = getEl("mChBox");
let menuCBFocus = false;
let menuChCounts = 0;
menuChatBox.value = "";
menuChatBox.addEventListener("focus", () => {
menuCBFocus = true;
});
menuChatBox.addEventListener("blur", () => {
menuCBFocus = false;
});
function addMenuChText(name, message, color, noTimer) {
// Check if the message contains an iframe tag
if (message && message.includes("