Greasy Fork is available in English.
Aimbot and ESP only minimal client for Kour.io
// ==UserScript==
// @name GoonerHack Lite
// @match *://kour.io/*
// @version 1.0.0
// @author 4cedInduct1oN
// @description Aimbot and ESP only minimal client for Kour.io
// @run-at document-start
// @grant unsafeWindow
// @license GNU GPLv3
// @namespace https://greatest.deepsurf.us/users/1601288
// ==/UserScript==
(function () {
'use strict';
if (typeof window === 'undefined')
return;
let a = {
'aimbotEnabled': !![],
'aimbotTriggerMode': 'mouse',
'aimbotSpeed': 1.2,
'colorTolerance': 0x3c,
'espEnabled': !![],
'espColor': {
'r': 0x0,
'g': 0x0,
'b': 0xff
},
'menuTheme': 'default'
}, c = {
'toggleMenu': 'shiftright',
'aimbotToggleKey': 'none',
'espToggleKey': 'none',
'aimbotKey': 'none'
};
const d = localStorage['getItem']('GoonerHackLiteKeybinds');
if (d)
try {
Object['assign'](c, JSON['parse'](d));
} catch (z) {
}
const f = () => localStorage['setItem']('GoonerHackLiteKeybinds', JSON['stringify'](c));
window['espEnabled'] = a['espEnabled'], window['espColor'] = a['espColor'], window['espDepthHackState'] = !![];
let h = {
'left': ![],
'right': ![]
}, i = {};
const j = (A, B) => {
if (!A['isTrusted'])
return;
if (A['button'] === 0x0)
h['left'] = B;
if (A['button'] === 0x2)
h['right'] = B;
};
document['addEventListener']('mousedown', A => j(A, !![]), !![]), document['addEventListener']('mouseup', A => j(A, ![]), !![]), document['addEventListener']('keydown', A => {
if (A['target']['tagName'] === 'INPUT' || A['target']['tagName'] === 'TEXTAREA')
return;
i[A['key']['toLowerCase']()] = !![], i[A['code']['toLowerCase']()] = !![];
}, !![]), document['addEventListener']('keyup', A => {
i[A['key']['toLowerCase']()] = ![], i[A['code']['toLowerCase']()] = ![];
}, !![]);
let k = null;
const l = [
{
'min': 0x5c9,
'max': 0x5cb
},
{
'min': 0x611,
'max': 0x613
},
{
'min': 0x15ef,
'max': 0x15f1
},
{
'min': 0xf23,
'max': 0xf25
}
], m = WebGL2RenderingContext['prototype'];
HTMLCanvasElement['prototype']['getContext'] = new Proxy(HTMLCanvasElement['prototype']['getContext'], {
'apply'(A, B, C) {
return (C[0x0] === 'webgl' || C[0x0] === 'webgl2') && (C[0x1] = C[0x1] || {}, C[0x1]['preserveDrawingBuffer'] = !![]), Reflect['apply'](...arguments);
}
});
let n = null;
const o = HTMLCanvasElement['prototype']['requestPointerLock'];
HTMLCanvasElement['prototype']['requestPointerLock'] = function () {
return n = this, o['apply'](this, arguments);
};
function p() {
return document['pointerLockElement'] || n || k && k['canvas'] || document;
}
const q = {
'apply'(A, B, C) {
const D = C[0x1], E = B['getParameter'](B['CURRENT_PROGRAM']);
if (E) {
if (!E['uniforms']) {
const F = G => B['getUniformLocation'](E, G);
E['uniforms'] = {
'vertexCount': F('vertexCount'),
'espToggle': F('espToggle'),
'gnilgnim': F('gnilgnim'),
'espColor': F('espColor'),
'espDepthHack': F('espDepthHack')
};
}
if (E['uniforms']['espToggle']) {
k = B;
const G = (H, I) => H && B['uniform1f'](H, I);
G(E['uniforms']['vertexCount'], D), G(E['uniforms']['espToggle'], window['espEnabled'] ? 0x1 : 0x0), G(E['uniforms']['espDepthHack'], window['espDepthHackState'] ? 0x1 : 0x0), G(E['uniforms']['gnilgnim'], 0xcc07c9);
if (E['uniforms']['espColor'] && window['espColor']) {
const {
r: H,
g: I,
b: J
} = window['espColor'];
B['uniform3f'](E['uniforms']['espColor'], H / 0xff, I / 0xff, J / 0xff);
}
}
}
return Reflect['apply'](...arguments);
}
};
m['drawElements'] = new Proxy(m['drawElements'], q), m['drawElementsInstanced'] = new Proxy(m['drawElementsInstanced'], q);
function s(A) {
return l['map'](({
min: B,
max: C
}) => '(' + A + '\x20>=\x20' + B + '.0\x20&&\x20' + A + '\x20<=\x20' + C + '.0)')['join']('\x20||\x20');
}
m['shaderSource'] = new Proxy(m['shaderSource'], {
'apply'(A, B, C) {
let [D, E] = C;
if (E['includes']('gl_Position')) {
const F = s('vertexCount');
E = E['replace'](/void\s+main\s*\(\s*\)\s*\{/, 'uniform\x20float\x20vertexCount,\x20espToggle,\x20gnilgnim,\x20espDepthHack;\x0auniform\x20vec3\x20espColor;\x0aout\x20float\x20vVertexCount;\x0avoid\x20main()\x20{\x0avVertexCount\x20=\x20vertexCount;\x0a')['replace'](/(gl_Position\s*=.+;)/, '$1\x0aif\x20(espToggle\x20>\x200.5\x20&&\x20espDepthHack\x20>\x200.5\x20&&\x20(' + F + '))\x20gl_Position.z\x20=\x200.01\x20+\x20gl_Position.z\x20*\x200.1;\x0aif\x20(espToggle\x20>\x200.5\x20&&\x20gnilgnim\x20==\x2013371337.0)\x20gl_Position.z\x20*=\x201.0;');
}
if (E['includes']('SV_Target0')) {
const G = s('vVertexCount');
E = E['replace'](/void\s+main\s*\(\s*\)\s*\{/, 'uniform\x20float\x20espToggle,\x20gnilgnim,\x20espDepthHack;\x0auniform\x20vec3\x20espColor;\x0ain\x20float\x20vVertexCount;\x0avoid\x20main()\x20{')['replace'](/return;/, 'if\x20(espToggle\x20>\x200.5\x20&&\x20(' + G + ')\x20&&\x20SV_Target0.a\x20>\x200.5)\x20SV_Target0\x20=\x20vec4(espColor,\x201.0);\x0aif\x20(gnilgnim\x20==\x2013371337.0)\x20SV_Target0.rgb\x20*=\x201.0;\x0areturn;');
}
return C[0x1] = E, Reflect['apply'](...arguments);
}
});
function t() {
if (a['aimbotTriggerMode'] === 'always')
return document['pointerLockElement'] !== null;
else {
if (a['aimbotTriggerMode'] === 'key') {
const A = c['aimbotKey']['toLowerCase']();
return A !== 'none' && i[A];
} else
return h['left'] || h['right'];
}
}
function u(A, B, C, D, E, F) {
if (D === 0x0)
return ![];
const G = A - F['r'], H = B - F['g'], I = C - F['b'];
return G * G + H * H + I * I <= E * E;
}
function v() {
if (!a['aimbotEnabled'] || !k?.['canvas'] || !t() || !document['pointerLockElement'])
return null;
const {
width: A,
height: B
} = k['canvas'], C = 0x64, D = 0x64, E = A / 0x2, F = B / 0x2, G = Math['floor'](E - C / 0x2), H = Math['floor'](F - D / 0x2), I = new Uint8Array(C * D * 0x4);
let J = null;
try {
J = k['getParameter'](k['FRAMEBUFFER_BINDING']), k['bindFramebuffer'](k['FRAMEBUFFER'], null), k['readPixels'](G, H, C, D, k['RGBA'], k['UNSIGNED_BYTE'], I);
} catch (P) {
return null;
} finally {
try {
k['bindFramebuffer'](k['FRAMEBUFFER'], J);
} catch (Q) {
}
}
let K = Infinity, L = 0x0, M = 0x0;
const N = a['colorTolerance'] || 0x3c, O = window['espColor'];
for (let R = 0x0; R < I['length']; R += 0x10) {
const S = I[R], T = I[R + 0x1], U = I[R + 0x2], V = I[R + 0x3];
if (u(S, T, U, V, N, O)) {
const W = R / 0x4, X = W % C, Y = Math['floor'](W / C), Z = G + X - E, a0 = -(H + Y - F), a1 = Math['hypot'](Z, a0);
a1 < K && (K = a1, L = Z, M = a0);
}
}
if (K < Infinity)
return {
'bestDX': L,
'bestDY': M
};
return null;
}
function w(A) {
if (!A)
return;
let B = parseFloat(a['aimbotSpeed']) * 0.15;
if (isNaN(B))
B = 0.15;
if (B > 0x3 * 0.15)
B = 0x3 * 0.15;
const C = p();
C['dispatchEvent'](new MouseEvent('mousemove', {
'movementX': Math['round'](A['bestDX'] * B),
'movementY': Math['round'](A['bestDY'] * B),
'bubbles': !![],
'cancelable': !![],
'composed': !![]
}));
}
function x() {
try {
k && (k['isContextLost']() || !k['canvas']?.['isConnected']) && (k = null), a['aimbotEnabled'] && w(v());
} catch (A) {
}
requestAnimationFrame(x);
}
requestAnimationFrame(x);
function y() {
const A = document['createElement']('style');
A['textContent'] = [
'@import\x20url(\x27https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap\x27);',
'@import\x20url(\x27https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:[email protected]&display=swap\x27);',
':root\x20{',
'\x20\x20--kour-theme-bg:\x20rgba(11,\x2013,\x2018,\x200.86);',
'\x20\x20--kour-theme-accent1:\x20#6ee7f9;',
'\x20\x20--kour-theme-accent2:\x20#8b5cf6;',
'\x20\x20--kour-theme-highlight:\x20rgba(110,\x20231,\x20249,\x200.14);',
'\x20\x20--kour-theme-header:\x20linear-gradient(135deg,\x20rgba(110,\x20231,\x20249,\x200.16),\x20rgba(139,\x2092,\x20246,\x200.14));',
'}',
'#Menu,\x20#Menu\x20*\x20{\x20box-sizing:\x20border-box;\x20}',
'#Menu\x20{\x20background:\x20var(--kour-theme-bg)\x20!important;\x20color:\x20#eef2ff;\x20font-family:\x20\x27Inter\x27,\x20sans-serif;\x20}',
'.kour-shell\x20{\x20display:\x20flex;\x20width:\x20700px;\x20height:\x20500px;\x20max-width:\x20calc(100vw\x20-\x2036px);\x20border:\x201px\x20solid\x20rgba(255,255,255,0.12);\x20border-radius:\x2016px;\x20overflow:\x20hidden;\x20box-shadow:\x200\x2024px\x2070px\x20rgba(0,0,0,0.55),\x20inset\x200\x201px\x200\x20rgba(255,255,255,0.06);\x20backdrop-filter:\x20blur(22px);\x20-webkit-backdrop-filter:\x20blur(22px);\x20}',
'.kour-rail\x20{\x20width:\x2076px;\x20flex:\x200\x200\x2076px;\x20padding:\x2014px\x2010px;\x20background:\x20linear-gradient(180deg,\x20rgba(255,255,255,0.08),\x20rgba(255,255,255,0.02));\x20border-right:\x201px\x20solid\x20rgba(255,255,255,0.1);\x20display:\x20flex;\x20flex-direction:\x20column;\x20align-items:\x20center;\x20gap:\x2014px;\x20}',
'.kour-brand\x20{\x20width:\x2046px;\x20height:\x2046px;\x20display:\x20grid;\x20place-items:\x20center;\x20border-radius:\x2014px;\x20background:\x20var(--kour-theme-header);\x20color:\x20#fff;\x20font-size:\x2015px;\x20font-weight:\x20800;\x20border:\x201px\x20solid\x20rgba(255,255,255,0.14);\x20cursor:\x20move;\x20}',
'.kour-nav\x20{\x20display:\x20flex;\x20flex-direction:\x20column;\x20align-items:\x20center;\x20gap:\x209px;\x20width:\x20100%;\x20}',
'.kour-nav-button\x20{\x20position:\x20relative;\x20width:\x2046px;\x20height:\x2046px;\x20display:\x20grid;\x20place-items:\x20center;\x20border:\x201px\x20solid\x20rgba(255,255,255,0.08);\x20border-radius:\x2012px;\x20color:\x20#9ca3af;\x20background:\x20rgba(255,255,255,0.035);\x20cursor:\x20pointer;\x20transition:\x20all\x20.18s\x20ease;\x20}',
'.kour-nav-button:hover\x20{\x20color:\x20#fff;\x20background:\x20rgba(255,255,255,0.08);\x20}',
'.kour-nav-button.active\x20{\x20color:\x20#fff;\x20background:\x20linear-gradient(135deg,\x20color-mix(in\x20srgb,\x20var(--kour-theme-accent1)\x2022%,\x20transparent),\x20color-mix(in\x20srgb,\x20var(--kour-theme-accent2)\x2018%,\x20transparent));\x20border-color:\x20color-mix(in\x20srgb,\x20var(--kour-theme-accent1)\x2045%,\x20transparent);\x20}',
'.kour-panel\x20{\x20flex:\x201;\x20display:\x20flex;\x20flex-direction:\x20column;\x20background:\x20linear-gradient(180deg,\x20rgba(255,255,255,0.035),\x20rgba(255,255,255,0.015));\x20}',
'.kour-topbar\x20{\x20cursor:\x20move;\x20padding:\x2017px\x2020px\x2014px;\x20background:\x20var(--kour-theme-header);\x20border-bottom:\x201px\x20solid\x20rgba(255,255,255,0.09);\x20display:\x20flex;\x20align-items:\x20center;\x20justify-content:\x20space-between;\x20}',
'.kour-title\x20{\x20margin:\x200;\x20font-size:\x2018px;\x20font-weight:\x20800;\x20color:\x20#fff;\x20}',
'.kour-subtitle\x20{\x20margin-top:\x204px;\x20color:\x20#a7b0c0;\x20font-size:\x2012px;\x20font-weight:\x20500;\x20}',
'.kour-pill\x20{\x20padding:\x206px\x209px;\x20border-radius:\x20999px;\x20background:\x20rgba(0,0,0,0.25);\x20border:\x201px\x20solid\x20rgba(255,255,255,0.08);\x20font-size:\x2011px;\x20font-weight:\x20700;\x20color:\x20#cbd5e1;\x20}',
'.kour-content\x20{\x20padding:\x2016px;\x20overflow-y:\x20auto;\x20flex:\x201;\x20}',
'.kour-section\x20{\x20margin-bottom:\x2013px;\x20padding:\x2012px;\x20border:\x201px\x20solid\x20rgba(255,255,255,0.08);\x20border-radius:\x2012px;\x20background:\x20rgba(255,255,255,0.045);\x20}',
'.kour-section-title\x20{\x20margin:\x200\x200\x2010px;\x20color:\x20#dbeafe;\x20font-size:\x2012px;\x20font-weight:\x20800;\x20text-transform:\x20uppercase;\x20}',
'.kour-row\x20{\x20min-height:\x2042px;\x20display:\x20flex;\x20align-items:\x20center;\x20justify-content:\x20space-between;\x20padding:\x208px\x209px;\x20border-radius:\x2010px;\x20}',
'.kour-row:hover\x20{\x20background:\x20rgba(255,255,255,0.055);\x20}',
'.kour-label\x20{\x20display:\x20flex;\x20flex-direction:\x20column;\x20font-size:\x2013px;\x20font-weight:\x20650;\x20}',
'.kour-switch\x20{\x20position:\x20relative;\x20width:\x2042px;\x20height:\x2024px;\x20cursor:\x20pointer;\x20}',
'.kour-switch\x20input\x20{\x20opacity:\x200;\x20position:\x20absolute;\x20}',
'.kour-switch\x20span\x20{\x20position:\x20absolute;\x20inset:\x200;\x20border-radius:\x20999px;\x20background:\x20rgba(148,163,184,0.18);\x20border:\x201px\x20solid\x20rgba(255,255,255,0.12);\x20transition:\x20all\x20.18s;\x20}',
'.kour-switch\x20span:before\x20{\x20content:\x20\x27\x27;\x20position:\x20absolute;\x20width:\x2018px;\x20height:\x2018px;\x20left:\x202px;\x20top:\x202px;\x20border-radius:\x2050%;\x20background:\x20#d1d5db;\x20transition:\x20all\x20.18s;\x20}',
'.kour-switch\x20input:checked\x20+\x20span\x20{\x20background:\x20linear-gradient(135deg,\x20var(--kour-theme-accent1),\x20var(--kour-theme-accent2));\x20border-color:\x20rgba(255,255,255,0.2);\x20}',
'.kour-switch\x20input:checked\x20+\x20span:before\x20{\x20transform:\x20translateX(18px);\x20background:\x20#fff;\x20}',
'.kour-slider\x20{\x20-webkit-appearance:\x20none;\x20width:\x20190px;\x20height:\x206px;\x20border-radius:\x20999px;\x20background:\x20rgba(148,163,184,0.18);\x20}',
'.kour-slider::-webkit-slider-thumb\x20{\x20-webkit-appearance:\x20none;\x20width:\x2016px;\x20height:\x2016px;\x20border-radius:\x2050%;\x20background:\x20#fff;\x20border:\x203px\x20solid\x20var(--kour-theme-accent1);\x20cursor:\x20pointer;\x20}',
'.kour-value\x20{\x20color:\x20#cbd5e1;\x20font-size:\x2012px;\x20font-weight:\x20800;\x20min-width:\x2036px;\x20text-align:\x20right;\x20}',
'.kour-control-group\x20{\x20display:\x20flex;\x20align-items:\x20center;\x20gap:\x2010px;\x20}',
'.kour-select,\x20.kour-text-input\x20{\x20min-width:\x20178px;\x20background:\x20rgba(3,7,18,0.45);\x20color:\x20#fff;\x20border:\x201px\x20solid\x20rgba(255,255,255,0.12);\x20border-radius:\x209px;\x20padding:\x208px\x2010px;\x20font-size:\x2012px;\x20}',
'.kour-color-picker\x20{\x20width:\x2036px;\x20height:\x2028px;\x20border:\x201px\x20solid\x20rgba(255,255,255,0.18);\x20border-radius:\x209px;\x20background:\x20rgba(3,7,18,0.45);\x20cursor:\x20pointer;\x20}',
'.kour-keybind-key\x20{\x20min-width:\x2086px;\x20text-align:\x20center;\x20padding:\x207px\x2010px;\x20border-radius:\x209px;\x20background:\x20rgba(255,255,255,0.08);\x20border:\x201px\x20solid\x20rgba(255,255,255,0.12);\x20color:\x20#dbeafe;\x20font-size:\x2011px;\x20font-weight:\x20800;\x20cursor:\x20pointer;\x20}',
'.kour-modal-backdrop\x20{\x20position:\x20fixed;\x20inset:\x200;\x20z-index:\x2010002;\x20display:\x20grid;\x20place-items:\x20center;\x20padding:\x2020px;\x20background:\x20rgba(0,0,0,0.6);\x20backdrop-filter:\x20blur(6px);\x20-webkit-backdrop-filter:\x20blur(6px);\x20opacity:\x200;\x20visibility:\x20hidden;\x20transition:\x20opacity\x20.16s\x20ease,\x20visibility\x20.16s\x20ease;\x20}',
'.kour-modal\x20{\x20width:\x20min(420px,\x20calc(100vw\x20-\x2036px));\x20border:\x201px\x20solid\x20rgba(255,255,255,0.13);\x20border-radius:\x2016px;\x20background:\x20var(--kour-theme-bg);\x20color:\x20#eef2ff;\x20box-shadow:\x200\x2024px\x2070px\x20rgba(0,0,0,0.58),\x20inset\x200\x201px\x200\x20rgba(255,255,255,0.07);\x20overflow:\x20hidden;\x20font-family:\x20\x27Inter\x27,\x20sans-serif;\x20transform:\x20translateY(8px)\x20scale(.98);\x20transition:\x20all\x20.18s\x20ease;\x20}',
'.kour-modal.show\x20{\x20opacity:\x201;\x20transform:\x20translateY(0)\x20scale(1);\x20}',
'.kour-modal-head\x20{\x20padding:\x2016px\x2018px\x2012px;\x20background:\x20var(--kour-theme-header);\x20border-bottom:\x201px\x20solid\x20rgba(255,255,255,0.1);\x20}',
'.kour-modal-title\x20{\x20margin:\x200;\x20color:\x20#fff;\x20font-size:\x2016px;\x20font-weight:\x20800;\x20}',
'.kour-modal-body\x20{\x20padding:\x2016px\x2018px\x2018px;\x20display:\x20flex;\x20flex-direction:\x20column;\x20gap:\x2012px;\x20font-size:\x2013px;\x20color:\x20#cbd5e1;\x20line-height:\x201.45;\x20}',
'.kour-modal-actions\x20{\x20display:\x20flex;\x20justify-content:\x20flex-end;\x20gap:\x2010px;\x20margin-top:\x208px;\x20}',
'.kour-btn\x20{\x20border:\x201px\x20solid\x20color-mix(in\x20srgb,\x20var(--kour-theme-accent1)\x2035%,\x20transparent);\x20border-radius:\x2010px;\x20padding:\x209px\x2012px;\x20color:\x20#fff;\x20background:\x20linear-gradient(135deg,\x20color-mix(in\x20srgb,\x20var(--kour-theme-accent1)\x2072%,\x20#111827),\x20color-mix(in\x20srgb,\x20var(--kour-theme-accent2)\x2072%,\x20#111827));\x20font-weight:\x20800;\x20font-size:\x2012px;\x20cursor:\x20pointer;\x20transition:\x20all\x20.16s\x20ease;\x20}',
'.kour-btn.secondary\x20{\x20background:\x20rgba(255,255,255,0.08);\x20border-color:\x20rgba(255,255,255,0.13);\x20}'
]['join']('\x0a'), document['head']['appendChild'](A);
const B = [
{
'id': 'Combat',
'title': 'Combat',
'subtitle': 'ESP\x20and\x20Aimbot'
},
{
'id': 'Settings',
'title': 'Settings',
'subtitle': 'Keybinds'
}
], C = document['createElement']('div');
C['id'] = 'kour-menu-backdrop', Object['assign'](C['style'], {
'position': 'fixed',
'inset': '0',
'background': 'rgba(0,0,0,0.46)',
'backdropFilter': 'blur(5px)',
'zIndex': '9999',
'opacity': '0',
'visibility': 'hidden',
'transition': 'opacity\x20.22s\x20ease'
}), document['body']['appendChild'](C);
const D = document['createElement']('div');
D['className'] = 'kour-modal-backdrop';
const E = document['createElement']('div');
E['className'] = 'kour-modal';
const F = document['createElement']('div');
F['className'] = 'kour-modal-head', F['innerHTML'] = '<h3\x20class=\x27kour-modal-title\x27>Upgrade\x20to\x20Pro</h3>';
const G = document['createElement']('div');
G['className'] = 'kour-modal-body', G['innerHTML'] = '<p>You\x20are\x20currently\x20using\x20<b>GoonerHack\x20Lite</b>.</p><p>Upgrade\x20to\x20the\x20Pro\x20version\x20to\x20unlock\x20premium\x20features\x20like\x20<b>SpinBot</b>,\x20<b>Triggerbot</b>,\x20<b>Profile\x20Modder</b>,\x20<b>Instant\x20Kill</b>,\x20and\x20<b>Custom\x20Themes</b>!</p><p>Would\x20you\x20like\x20to\x20upgrade\x20now?</p>';
const H = document['createElement']('div');
H['className'] = 'kour-modal-actions';
const I = document['createElement']('button');
I['className'] = 'kour-btn\x20secondary', I['textContent'] = 'Later', I['onclick'] = () => {
D['style']['visibility'] = 'hidden', D['style']['opacity'] = '0', E['classList']['remove']('show');
};
const J = document['createElement']('button');
J['className'] = 'kour-btn', J['textContent'] = 'Upgrade\x20Now', J['onclick'] = () => {
window['open']('https://discord.gg/8ymVgWB2BK', '_blank'), D['style']['visibility'] = 'hidden', D['style']['opacity'] = '0', E['classList']['remove']('show');
}, H['append'](I, J), G['appendChild'](H), E['append'](F, G), D['appendChild'](E), document['body']['appendChild'](D);
const K = document['createElement']('div');
K['id'] = 'Menu', Object['assign'](K['style'], {
'position': 'fixed',
'top': '50%',
'left': '50%',
'transform': 'translate(-50%,\x20-50%)',
'zIndex': '10000',
'opacity': '0',
'visibility': 'hidden',
'transition': 'opacity\x20.22s\x20ease'
});
const L = document['createElement']('div');
L['className'] = 'kour-shell';
const M = document['createElement']('div');
M['className'] = 'kour-rail';
const N = document['createElement']('div');
N['className'] = 'kour-brand', N['textContent'] = 'LITE';
const O = document['createElement']('div');
O['className'] = 'kour-nav', M['append'](N, O);
const P = document['createElement']('div');
P['className'] = 'kour-panel';
const Q = document['createElement']('div');
Q['className'] = 'kour-topbar';
const R = document['createElement']('div'), S = document['createElement']('h2');
S['className'] = 'kour-title';
const T = document['createElement']('div');
T['className'] = 'kour-subtitle', R['append'](S, T);
const U = document['createElement']('div');
U['className'] = 'kour-pill', U['textContent'] = 'Toggle:\x20' + c['toggleMenu']['toUpperCase'](), Q['append'](R, U);
const V = document['createElement']('div');
V['className'] = 'kour-content', P['append'](Q, V), L['append'](M, P), K['appendChild'](L);
let W = 'Combat';
const X = {};
function Y() {
O['innerHTML'] = '', B['forEach'](ab => {
const ac = document['createElement']('button');
ac['className'] = 'kour-nav-button' + (ab['id'] === W ? '\x20active' : ''), ac['textContent'] = ab['id']['charAt'](0x0), ac['onclick'] = () => {
W = ab['id'], a4();
}, O['appendChild'](ac), ab['id'] === W && (S['textContent'] = ab['title'], T['textContent'] = ab['subtitle']);
}), U['textContent'] = 'Toggle:\x20' + c['toggleMenu']['toUpperCase']();
}
function Z(ab) {
const ac = document['createElement']('div');
ac['className'] = 'kour-row';
const ad = document['createElement']('div');
return ad['className'] = 'kour-label', ad['textContent'] = ab, ac['appendChild'](ad), ac;
}
function a0(ab, ac, ad) {
const ae = Z(ab), af = document['createElement']('label');
af['className'] = 'kour-switch';
const ag = document['createElement']('input');
ag['type'] = 'checkbox', ag['checked'] = ac;
const ah = document['createElement']('span');
return ag['onchange'] = function () {
ad(this['checked']);
}, af['append'](ag, ah), ae['appendChild'](af), ae;
}
function a1(ab, ac, ad, ae) {
const af = Z(ab), ag = document['createElement']('select');
return ag['className'] = 'kour-select', ad['forEach'](ah => {
const ai = document['createElement']('option');
ai['value'] = String(ah['value']), ai['textContent'] = ah['label'], ag['appendChild'](ai);
}), ag['value'] = String(ac), ag['onchange'] = () => ae(ag['value']), af['appendChild'](ag), af;
}
function a2(ab, ac, ad, ae, af, ag) {
const ah = Z(ab), ai = document['createElement']('div');
ai['className'] = 'kour-control-group';
const aj = document['createElement']('input');
aj['type'] = 'range', aj['min'] = ad, aj['max'] = ae, aj['step'] = af, aj['value'] = ac, aj['className'] = 'kour-slider';
const ak = document['createElement']('span');
return ak['className'] = 'kour-value', ak['textContent'] = ac, aj['oninput'] = () => {
ak['textContent'] = aj['value'], ag(parseFloat(aj['value']));
}, ai['append'](aj, ak), ah['appendChild'](ai), ah;
}
function a3(ab, ac) {
const ad = Z(ab), ae = document['createElement']('span');
return ae['className'] = 'kour-keybind-key', ae['textContent'] = c[ac]['toUpperCase'](), ae['onclick'] = () => {
const af = prompt('Enter\x20new\x20key\x20(or\x20\x27none\x27):', c[ac]);
af && (c[ac] = af['toLowerCase'](), f(), ae['textContent'] = c[ac]['toUpperCase'](), Y());
}, ad['appendChild'](ae), ad;
}
function a4() {
Y(), V['innerHTML'] = '';
if (W === 'Combat') {
const ab = document['createElement']('div');
ab['className'] = 'kour-section', ab['innerHTML'] = '<h3\x20class=\x27kour-section-title\x27>Aimbot</h3>', ab['appendChild'](a0('Enable\x20Aimbot', a['aimbotEnabled'], ad => a['aimbotEnabled'] = ad)), ab['appendChild'](a1('Trigger\x20Mode', a['aimbotTriggerMode'], [
{
'value': 'mouse',
'label': 'Mouse'
},
{
'value': 'always',
'label': 'Always\x20On'
},
{
'value': 'key',
'label': 'Key\x20Bind'
}
], ad => a['aimbotTriggerMode'] = ad)), ab['appendChild'](a2('Aimbot\x20Speed', a['aimbotSpeed'], 0.1, 0x3, 0.1, ad => a['aimbotSpeed'] = ad));
const ac = document['createElement']('div');
ac['className'] = 'kour-section', ac['innerHTML'] = '<h3\x20class=\x27kour-section-title\x27>ESP</h3>', ac['appendChild'](a0('Enable\x20ESP', a['espEnabled'], ad => {
a['espEnabled'] = ad, window['espEnabled'] = ad;
})), V['append'](ab, ac);
} else {
if (W === 'Settings') {
const ad = document['createElement']('div');
ad['className'] = 'kour-section', ad['innerHTML'] = '<h3\x20class=\x27kour-section-title\x27>Keybinds</h3>', ad['appendChild'](a3('Toggle\x20Menu', 'toggleMenu')), ad['appendChild'](a3('Aimbot\x20Toggle\x20Key', 'aimbotToggleKey')), ad['appendChild'](a3('ESP\x20Toggle\x20Key', 'espToggleKey')), ad['appendChild'](a3('Aimbot\x20Trigger\x20Key', 'aimbotKey')), V['appendChild'](ad);
}
}
}
let a5 = ![], a6, a7, a8, a9;
function aa(ab) {
if (ab['target']['closest']('input,\x20select,\x20button,\x20.kour-switch,\x20.kour-keybind-key'))
return;
a5 = !![], a6 = ab['clientX'], a7 = ab['clientY'], a8 = K['offsetLeft'], a9 = K['offsetTop'], ab['preventDefault']();
}
Q['onmousedown'] = aa, N['onmousedown'] = aa, window['addEventListener']('mousemove', ab => {
a5 && (K['style']['left'] = a8 + (ab['clientX'] - a6) + 'px', K['style']['top'] = a9 + (ab['clientY'] - a7) + 'px');
}), window['addEventListener']('mouseup', () => a5 = ![]), document['body']['appendChild'](K), a4(), document['addEventListener']('keydown', ab => {
if (ab['target']?.['matches']?.('input,\x20textarea'))
return;
const ac = ab['key']['toLowerCase'](), ad = ab['code']['toLowerCase'](), ae = c['toggleMenu']['toLowerCase'](), af = c['aimbotToggleKey']['toLowerCase'](), ag = c['espToggleKey']['toLowerCase']();
if (af !== 'none' && (ac === af || ad === af)) {
a['aimbotEnabled'] = !a['aimbotEnabled'], a4();
return;
}
if (ag !== 'none' && (ac === ag || ad === ag)) {
a['espEnabled'] = !a['espEnabled'], window['espEnabled'] = a['espEnabled'], a4();
return;
}
if (ac === ae || ad === ae) {
const ah = K['style']['visibility'] === 'hidden';
K['style']['visibility'] = ah ? 'visible' : 'hidden', K['style']['opacity'] = ah ? '1' : '0', C['style']['visibility'] = ah ? 'visible' : 'hidden', C['style']['opacity'] = ah ? '1' : '0', ah ? (D['style']['visibility'] = 'visible', D['style']['opacity'] = '1', E['classList']['add']('show')) : (D['style']['visibility'] = 'hidden', D['style']['opacity'] = '0', E['classList']['remove']('show'));
}
});
}
y();
}());