Mazean King

Basic Player ESP

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Mazean King
// @namespace    http://tampermonkey.net/
// @version      2024-08-18
// @description  Basic Player ESP
// @author       November2246
// @match        https://mazean.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=mazean.com
// @grant        none
// @run-at       document-start
// @license      ISC
// ==/UserScript==

const enableESP = true;

/////

const { log, warn, error, debug } = window.console;

if (enableESP) {
    WebGL2RenderingContext.prototype.shaderSource = new Proxy(WebGL2RenderingContext.prototype.shaderSource, {
        apply(target, thisArgs, args) {
            let [shader, src] = args;
            if (src.includes('gl_Position')) {
                if (src.includes('vPosition = (model * position).xyz;')) {
                    src = src.replace('}',
`
    if (gl_Position.z > 0.4) {
        gl_Position.z = 0.01 + gl_Position.z * 0.1;
    }
}`);
                }
            }
            args[1] = src;
            return Reflect.apply(...arguments);
        }
    });
}