// ==UserScript== // @name Cheats for Poxel.io | W cheats // @namespace http://tampermonkey.net/ // @version 1.1 // @description Best Cheat for Poxel.io Menu Key ----> INSERT key (a big credit to YOU KNOW (author) ) // @match https://poxel.io/* // @grant none // @run-at document-start // @license Friends // @downloadURL https://update.greasyfork.icu/scripts/568623/Cheats%20for%20Poxelio%20%7C%20W%20cheats.user.js // @updateURL https://update.greasyfork.icu/scripts/568623/Cheats%20for%20Poxelio%20%7C%20W%20cheats.meta.js // ==/UserScript== (() => { 'use strict'; // ============================================ // CONFIG // ============================================ const config = { esp: true, wireframe: false, aimbot: false, aimbotSpeed: 0.45, aimbotFOV: 500, aimbotSmoothing: false, headOffset: 0.12, minVertices: 192, maxVertices: 192, depthThreshold: 4.5, aimbotPrediction: true, aimbotSnapDistance: 30, aimbotLockOn: true, infiniteAmmo: false, noRecoil: false, rapidFire: false, rapidFireRate: 30, autoShoot: false, triggerBot: false, triggerDelay: 10, speedHack: false, speedMultiplier: 2.0, bunnyHop: false, autoStrafe: false, infiniteJump: false, noFallDamage: false, flyHack: false, fovCircle: false, tracers: false, crosshairCustom: false, crosshairColor: '#ff0000', crosshairSize: 12, fullBright: false, noFog: false, enemyGlow: true, xray: false, autoRespawn: false, antiAFK: false, spinBot: false, spinSpeed: 15, fpsBoost: false, hitMarker: true, killSound: true, statsOverlay: true, gameSpeed: 1.0, gameSpeedEnabled: false }; let gl = null; let menuOpen = false; let lastMoveX = 0, lastMoveY = 0; let rightMouseDown = false; let gameSocket = null; let killCount = 0; let lastTargetPos = null; let prevTargetPos = null; let targetLocked = false; let frameCounter = 0; const intervals = {}; // ============================================ // GAME SPEED ENGINE // ============================================ const GameSpeedEngine = { _origRAF: window.requestAnimationFrame.bind(window), _origSetInterval: window.setInterval.bind(window), _origSetTimeout: window.setTimeout.bind(window), _origClearInterval: window.clearInterval.bind(window), _origClearTimeout: window.clearTimeout.bind(window), _origDateNow: Date.now.bind(Date), _origPerfNow: performance.now.bind(performance), _startTime: Date.now(), _startPerf: performance.now(), _enabled: false, _speed: 1.0, _timeOffset: 0, _perfOffset: 0, enable(speed) { if (this._enabled && this._speed === speed) return; const realNow = this._origDateNow(); const realPerf = this._origPerfNow(); if (this._enabled) { this._timeOffset = this.getModifiedTime() - realNow; this._perfOffset = this.getModifiedPerf() - realPerf; } this._speed = speed; this._startTime = realNow; this._startPerf = realPerf; this._enabled = true; this._patchTimers(); }, disable() { this._enabled = false; this._speed = 1.0; this._timeOffset = 0; this._perfOffset = 0; this._unpatchTimers(); }, getModifiedTime() { if (!this._enabled) return this._origDateNow(); const elapsed = this._origDateNow() - this._startTime; return this._startTime + this._timeOffset + (elapsed * this._speed); }, getModifiedPerf() { if (!this._enabled) return this._origPerfNow(); const elapsed = this._origPerfNow() - this._startPerf; return this._startPerf + this._perfOffset + (elapsed * this._speed); }, _patchTimers() { const self = this; Date.now = function() { return Math.floor(self.getModifiedTime()); }; performance.now = function() { return self.getModifiedPerf(); }; window.setInterval = function(fn, delay, ...args) { const modDelay = Math.max(1, Math.floor(delay / self._speed)); return self._origSetInterval(fn, modDelay, ...args); }; window.setTimeout = function(fn, delay, ...args) { const modDelay = Math.max(1, Math.floor(delay / self._speed)); return self._origSetTimeout(fn, modDelay, ...args); }; window.clearInterval = function(id) { return self._origClearInterval(id); }; window.clearTimeout = function(id) { return self._origClearTimeout(id); }; }, _unpatchTimers() { Date.now = this._origDateNow; performance.now = this._origPerfNow.bind(performance); window.setInterval = this._origSetInterval; window.setTimeout = this._origSetTimeout; window.clearInterval = this._origClearInterval; window.clearTimeout = this._origClearTimeout; } }; // Sağ tık koruma document.addEventListener('mousedown', e => { if (e.button === 2) rightMouseDown = true; }); document.addEventListener('mouseup', e => { if (e.button === 2) rightMouseDown = false; }); document.addEventListener('contextmenu', e => { if (document.querySelector('canvas')?.style.cursor === 'none') e.preventDefault(); }); // ============================================ // WEBSOCKET HOOK // ============================================ const OrigWS = window.WebSocket; window.WebSocket = function(...args) { const ws = new OrigWS(...args); ws.addEventListener('open', () => { gameSocket = ws; console.log('%c[YK] WebSocket hooked ✧', 'color:#ff6b9d'); }); const origSend = ws.send.bind(ws); ws.send = function(data) { if (data instanceof ArrayBuffer || data instanceof Uint8Array) { const modified = processOutgoing(data); if (modified === null) return; return origSend(modified); } return origSend(data); }; ws.addEventListener('message', e => processIncoming(e.data)); return ws; }; window.WebSocket.prototype = OrigWS.prototype; Object.assign(window.WebSocket, { CONNECTING: 0, OPEN: 1, CLOSING: 2, CLOSED: 3 }); function processOutgoing(data) { let bytes = data instanceof ArrayBuffer ? new Uint8Array(data) : data; if (bytes.length < 1) return data; if (config.infiniteAmmo) { if (bytes[0] === 0x07 || bytes[0] === 0x08 || bytes[0] === 0x09) return data; } if (config.noRecoil && bytes.length >= 8) { if (bytes[0] === 0x05 || bytes[0] === 0x06) { const view = new DataView(bytes.buffer); for (let i = 4; i < Math.min(bytes.length, 16); i += 4) { try { view.setFloat32(i, 0, true); } catch(e) {} } } } if (config.speedHack && bytes.length >= 12) { if (bytes[0] === 0x03 || bytes[0] === 0x04 || bytes[0] === 0x02) { try { const view = new DataView(bytes.buffer.slice(0)); const newBytes = new Uint8Array(bytes.length); newBytes.set(bytes); const newView = new DataView(newBytes.buffer); for (let offset = 1; offset + 3 < bytes.length; offset += 4) { try { const val = view.getFloat32(offset, true); if (Math.abs(val) > 0.001 && Math.abs(val) < 100) { newView.setFloat32(offset, val * config.speedMultiplier, true); } } catch(e) {} } return newBytes.buffer; } catch(e) {} } } if (config.noFallDamage && bytes.length >= 4) { if (bytes[0] === 0x0A || bytes[0] === 0x0B) return null; } return bytes.buffer || data; } function processIncoming(data) { if (config.hitMarker || config.killSound) { try { let bytes; if (data instanceof ArrayBuffer) bytes = new Uint8Array(data); else if (data instanceof Uint8Array) bytes = data; if (bytes && bytes[0] === 0x10) { if (config.hitMarker) showHitMarker(); } if (bytes && bytes[0] === 0x11) { killCount++; if (config.killSound) playKillSound(); updateStats(); } } catch(e) {} } } // ============================================ // WebGL HOOKS // ============================================ const WebGL = WebGL2RenderingContext.prototype; HTMLCanvasElement.prototype.getContext = new Proxy(HTMLCanvasElement.prototype.getContext, { apply(target, thisArg, args) { if (args[1]) { args[1].preserveDrawingBuffer = true; if (config.fpsBoost) { args[1].antialias = false; args[1].powerPreference = 'high-performance'; } } return Reflect.apply(...arguments); } }); WebGL.shaderSource = new Proxy(WebGL.shaderSource, { apply(target, thisArg, args) { let [shader, source] = args; if (source.indexOf('gl_Position') > -1) { if (source.indexOf('unity_ObjectToWorld') > -1) shader.isPlayerShader = true; source = source .replace('void main', `out float vDepth; out vec3 vWorldPos; uniform bool uESP; uniform float uDepthCut; void main`) .replace(/return;/, `vDepth = gl_Position.z; vWorldPos = gl_Position.xyz; if (uESP && vDepth > uDepthCut) { gl_Position.z = 1.0; } `); if (config.fullBright) source = source.replace(/ambient/gi, '1.0'); if (config.noFog) source = source.replace(/fog/gi, '0.0'); } else if (source.indexOf('SV_Target0') > -1) { source = source .replace('void main', `in float vDepth; in vec3 vWorldPos; uniform bool uESP; uniform float uDepthCut; void main`) .replace(/return;/, `if (uESP && vDepth > uDepthCut) { SV_Target0 = vec4(1.0, 0.3, 0.5, 1.0); } `); } args[1] = source; return Reflect.apply(...arguments); } }); WebGL.attachShader = new Proxy(WebGL.attachShader, { apply(target, thisArg, [program, shader]) { if (shader.isPlayerShader) program.isPlayerProgram = true; return Reflect.apply(...arguments); } }); WebGL.getUniformLocation = new Proxy(WebGL.getUniformLocation, { apply(target, thisArg, [program, name]) { const loc = Reflect.apply(...arguments); if (loc) { loc.name = name; loc.program = program; } return loc; } }); WebGL.uniform4fv = new Proxy(WebGL.uniform4fv, { apply(target, thisArg, [loc]) { const n = loc?.name; if (n === 'unity_ObjectToWorld' || n === 'unity_ObjectToWorld[0]') loc.program.isUIProgram = true; return Reflect.apply(...arguments); } }); const drawHandler = { apply(target, thisArg, args) { const prog = thisArg.getParameter(thisArg.CURRENT_PROGRAM); if (!prog._u) { prog._u = { esp: thisArg.getUniformLocation(prog, 'uESP'), depth: thisArg.getUniformLocation(prog, 'uDepthCut') }; } const vc = args[1]; const isPlayer = prog.isPlayerProgram && vc >= config.minVertices && vc <= config.maxVertices; if (prog._u.esp) thisArg.uniform1i(prog._u.esp, (config.esp || config.aimbot) && isPlayer); if (prog._u.depth) thisArg.uniform1f(prog._u.depth, config.depthThreshold); if (config.wireframe && !prog.isUIProgram && vc > 6) args[0] = thisArg.LINES; if (config.xray && !prog.isUIProgram) thisArg.disable(thisArg.DEPTH_TEST); if (isPlayer) gl = thisArg; const result = Reflect.apply(...arguments); if (config.xray && !prog.isUIProgram) thisArg.enable(thisArg.DEPTH_TEST); return result; } }; WebGL.drawElements = new Proxy(WebGL.drawElements, drawHandler); WebGL.drawElementsInstanced = new Proxy(WebGL.drawElementsInstanced, drawHandler); // ============================================ // SUPER AIMBOT // ============================================ function superAimbot() { if (rightMouseDown || !config.aimbot || !gl) return; const canvas = document.querySelector('canvas'); if (!canvas || canvas.style.cursor !== 'none') return; const cw = gl.canvas.width, ch = gl.canvas.height; const cx = cw / 2, cy = ch / 2; const scanW = Math.min(config.aimbotFOV, cw); const scanH = Math.min(config.aimbotFOV, ch); const sx = Math.floor(cx - scanW / 2); const sy = Math.floor(cy - scanH / 2); const pixels = new Uint8Array(scanW * scanH * 4); gl.readPixels(sx, sy, scanW, scanH, gl.RGBA, gl.UNSIGNED_BYTE, pixels); const redPixels = []; for (let i = 0; i < pixels.length; i += 4) { if (pixels[i] === 255 && pixels[i+1] <= 80 && pixels[i+2] <= 130 && pixels[i+3] === 255) { const idx = i / 4; redPixels.push({ x: idx % scanW, y: Math.floor(idx / scanW) }); } } if (redPixels.length < 5) { targetLocked = false; lastTargetPos = null; gl = null; return; } const clusters = clusterPixels(redPixels, 30); if (clusters.length === 0) { gl = null; return; } let bestCluster = null, bestDist = Infinity; for (const cluster of clusters) { if (cluster.pixels.length < 5) continue; const screenDX = (sx + cluster.centerX) - cx; const screenDY = -((sy + cluster.centerY) - cy); const dist = Math.sqrt(screenDX * screenDX + screenDY * screenDY); if (config.aimbotLockOn && targetLocked && lastTargetPos) { const lockDist = Math.sqrt(Math.pow(cluster.centerX - lastTargetPos.x, 2) + Math.pow(cluster.centerY - lastTargetPos.y, 2)); if (lockDist < 60) { bestCluster = cluster; bestDist = dist; break; } } if (dist < bestDist) { bestDist = dist; bestCluster = cluster; } } if (!bestCluster || bestDist > config.aimbotFOV / 2) { targetLocked = false; gl = null; return; } let targetX, targetY; const clusterHeight = bestCluster.maxY - bestCluster.minY; if (clusterHeight > 5) { const headY = bestCluster.maxY - (clusterHeight * config.headOffset); const headPixels = bestCluster.pixels.filter(p => p.y >= headY); if (headPixels.length >= 2) { targetX = headPixels.reduce((s, p) => s + p.x, 0) / headPixels.length; targetY = headPixels.reduce((s, p) => s + p.y, 0) / headPixels.length; } else { targetX = bestCluster.centerX; targetY = bestCluster.maxY; } } else { targetX = bestCluster.centerX; targetY = bestCluster.centerY; } let deltaX = (sx + targetX) - cx; let deltaY = -((sy + targetY) - cy); if (config.aimbotPrediction && lastTargetPos) { deltaX += (targetX - lastTargetPos.x) * 2.5; deltaY -= (targetY - lastTargetPos.y) * 2.5; } const targetDist = Math.sqrt(deltaX * deltaX + deltaY * deltaY); if (targetDist < config.aimbotSnapDistance) { deltaX *= 0.8; deltaY *= 0.8; } else if (config.aimbotSmoothing) { deltaX = lastMoveX * 0.15 + deltaX * config.aimbotSpeed * 0.85; deltaY = lastMoveY * 0.15 + deltaY * config.aimbotSpeed * 0.85; } else { deltaX *= config.aimbotSpeed; deltaY *= config.aimbotSpeed; } if (Math.abs(deltaX) < 0.1 && Math.abs(deltaY) < 0.1) { gl = null; return; } lastMoveX = deltaX; lastMoveY = deltaY; prevTargetPos = lastTargetPos; lastTargetPos = { x: targetX, y: targetY }; targetLocked = true; window.dispatchEvent(new MouseEvent('mousemove', { movementX: deltaX, movementY: deltaY })); if (config.triggerBot && targetDist < config.aimbotSnapDistance * 2) { setTimeout(() => { if (!canvas) return; canvas.dispatchEvent(new MouseEvent('mousedown', { bubbles: true, button: 0 })); setTimeout(() => canvas.dispatchEvent(new MouseEvent('mouseup', { bubbles: true, button: 0 })), 25); }, config.triggerDelay); } gl = null; } function clusterPixels(pixels, threshold) { if (pixels.length === 0) return []; const clusters = [], visited = new Set(); for (let i = 0; i < pixels.length; i++) { if (visited.has(i)) continue; const cluster = { pixels: [], minY: Infinity, maxY: -Infinity, centerX: 0, centerY: 0 }; const queue = [i]; visited.add(i); while (queue.length > 0) { const idx = queue.shift(); const p = pixels[idx]; cluster.pixels.push(p); if (p.y < cluster.minY) cluster.minY = p.y; if (p.y > cluster.maxY) cluster.maxY = p.y; for (let j = 0; j < pixels.length; j++) { if (visited.has(j)) continue; const q = pixels[j]; if (Math.abs(p.x - q.x) + Math.abs(p.y - q.y) < threshold) { visited.add(j); queue.push(j); } } } cluster.centerX = cluster.pixels.reduce((s, p) => s + p.x, 0) / cluster.pixels.length; cluster.centerY = cluster.pixels.reduce((s, p) => s + p.y, 0) / cluster.pixels.length; clusters.push(cluster); } return clusters; } function checkAutoShoot() { if (!config.autoShoot || !gl) return; const canvas = document.querySelector('canvas'); if (!canvas || canvas.style.cursor !== 'none') return; const cx = gl.canvas.width / 2, cy = gl.canvas.height / 2, sz = 24; const pixels = new Uint8Array(sz * sz * 4); gl.readPixels(Math.floor(cx - sz/2), Math.floor(cy - sz/2), sz, sz, gl.RGBA, gl.UNSIGNED_BYTE, pixels); let red = 0; for (let i = 0; i < pixels.length; i += 4) { if (pixels[i] === 255 && pixels[i+1] === 0 && pixels[i+2] === 0 && pixels[i+3] === 255) red++; } if (red > 5) { canvas.dispatchEvent(new MouseEvent('mousedown', { bubbles: true, button: 0 })); setTimeout(() => canvas.dispatchEvent(new MouseEvent('mouseup', { bubbles: true, button: 0 })), 20); } } // ============================================ // EXPLOIT FUNCTIONS // ============================================ function startSpeedHack() { if (intervals.speed) return; const pressed = new Set(); const downH = e => { if ('wasd'.includes(e.key.toLowerCase())) pressed.add(e.key.toLowerCase()); }; const upH = e => { if ('wasd'.includes(e.key.toLowerCase())) pressed.delete(e.key.toLowerCase()); }; document.addEventListener('keydown', downH); document.addEventListener('keyup', upH); intervals.speed = setInterval(() => { if (!config.speedHack) return; const c = document.querySelector('canvas'); if (!c || c.style.cursor !== 'none') return; const extra = Math.floor(config.speedMultiplier) - 1; pressed.forEach(key => { for (let i = 0; i < extra; i++) { document.dispatchEvent(new KeyboardEvent('keydown', { key, code: `Key${key.toUpperCase()}`, bubbles: true, repeat: true })); } }); }, 8); } function stopSpeedHack() { if (intervals.speed) { clearInterval(intervals.speed); intervals.speed = null; } } function startRapidFire() { if (intervals.rapid) return; let md = false; document.addEventListener('mousedown', e => { if (e.button === 0) md = true; }); document.addEventListener('mouseup', e => { if (e.button === 0) md = false; }); intervals.rapid = setInterval(() => { if (!config.rapidFire || !md) return; const c = document.querySelector('canvas'); if (!c || c.style.cursor !== 'none') return; c.dispatchEvent(new MouseEvent('mouseup', { bubbles: true, button: 0 })); setTimeout(() => c.dispatchEvent(new MouseEvent('mousedown', { bubbles: true, button: 0 })), 3); }, config.rapidFireRate); } function stopRapidFire() { if (intervals.rapid) { clearInterval(intervals.rapid); intervals.rapid = null; } } function startBunnyHop() { if (intervals.bhop) return; intervals.bhop = setInterval(() => { if (!config.bunnyHop) return; const c = document.querySelector('canvas'); if (!c || c.style.cursor !== 'none') return; document.dispatchEvent(new KeyboardEvent('keydown', { key: ' ', code: 'Space', bubbles: true })); setTimeout(() => document.dispatchEvent(new KeyboardEvent('keyup', { key: ' ', code: 'Space', bubbles: true })), 40); }, 100); } function stopBunnyHop() { if (intervals.bhop) { clearInterval(intervals.bhop); intervals.bhop = null; } } function startInfiniteJump() { if (intervals.ijump) return; intervals.ijump = true; document.addEventListener('keydown', e => { if (!config.infiniteJump || e.code !== 'Space') return; setTimeout(() => { document.dispatchEvent(new KeyboardEvent('keyup', { key: ' ', code: 'Space', bubbles: true })); setTimeout(() => document.dispatchEvent(new KeyboardEvent('keydown', { key: ' ', code: 'Space', bubbles: true })), 10); }, 30); }); } function startAutoStrafe() { if (intervals.strafe) return; let dir = false; intervals.strafe = setInterval(() => { if (!config.autoStrafe) return; const c = document.querySelector('canvas'); if (!c || c.style.cursor !== 'none') return; const key = dir ? 'a' : 'd'; document.dispatchEvent(new KeyboardEvent('keydown', { key, code: `Key${key.toUpperCase()}`, bubbles: true })); setTimeout(() => document.dispatchEvent(new KeyboardEvent('keyup', { key, code: `Key${key.toUpperCase()}`, bubbles: true })), 80); dir = !dir; }, 160); } function stopAutoStrafe() { if (intervals.strafe) { clearInterval(intervals.strafe); intervals.strafe = null; } } function startSpinBot() { if (intervals.spin) return; intervals.spin = setInterval(() => { if (!config.spinBot) return; const c = document.querySelector('canvas'); if (!c || c.style.cursor !== 'none') return; window.dispatchEvent(new MouseEvent('mousemove', { movementX: config.spinSpeed, movementY: 0 })); }, 8); } function stopSpinBot() { if (intervals.spin) { clearInterval(intervals.spin); intervals.spin = null; } } function startAntiAFK() { if (intervals.afk) return; intervals.afk = setInterval(() => { if (!config.antiAFK) return; document.dispatchEvent(new KeyboardEvent('keydown', { key: 'w', bubbles: true })); setTimeout(() => document.dispatchEvent(new KeyboardEvent('keyup', { key: 'w', bubbles: true })), 50); }, 30000); } function stopAntiAFK() { if (intervals.afk) { clearInterval(intervals.afk); intervals.afk = null; } } function startAutoRespawn() { if (intervals.respawn) return; intervals.respawn = setInterval(() => { if (!config.autoRespawn) return; document.querySelectorAll('button, div[class*="respawn"], div[class*="play"]').forEach(btn => { const t = btn.textContent?.toLowerCase() || ''; if (t.includes('respawn') || t.includes('play') || t.includes('start')) btn.click(); }); document.dispatchEvent(new KeyboardEvent('keydown', { key: 'Enter', bubbles: true })); }, 2000); } function stopAutoRespawn() { if (intervals.respawn) { clearInterval(intervals.respawn); intervals.respawn = null; } } function showHitMarker() { const hm = document.getElementById('yk-hitmarker'); if (!hm) return; hm.style.opacity = '1'; hm.style.transform = 'translate(-50%, -50%) scale(1.3)'; setTimeout(() => { hm.style.opacity = '0'; hm.style.transform = 'translate(-50%, -50%) scale(0.8)'; }, 150); } function playKillSound() { try { const ctx = new (window.AudioContext || window.webkitAudioContext)(); const osc = ctx.createOscillator(); const gain = ctx.createGain(); osc.connect(gain); gain.connect(ctx.destination); osc.frequency.setValueAtTime(880, ctx.currentTime); osc.frequency.exponentialRampToValueAtTime(1760, ctx.currentTime + 0.08); osc.frequency.exponentialRampToValueAtTime(2200, ctx.currentTime + 0.15); gain.gain.setValueAtTime(0.25, ctx.currentTime); gain.gain.exponentialRampToValueAtTime(0.001, ctx.currentTime + 0.35); osc.start(ctx.currentTime); osc.stop(ctx.currentTime + 0.35); } catch(e) {} } function updateStats() { const el = document.getElementById('yk-kills'); if (el) el.textContent = killCount; } // ============================================ // MAIN UPDATE LOOP // ============================================ window.requestAnimationFrame = new Proxy(window.requestAnimationFrame, { apply(target, thisArg, args) { args[0] = new Proxy(args[0], { apply() { frameCounter++; superAimbot(); if (config.autoShoot && frameCounter % 3 === 0) checkAutoShoot(); return Reflect.apply(...arguments); } }); return Reflect.apply(...arguments); } }); // ============================================ // ANIME SPLASH SCREEN ✧ // ============================================ function showSplashScreen() { const splash = document.createElement('div'); splash.id = 'yk-splash'; splash.innerHTML = `
W cheats
✧ Ultimate Anime Edition ✧
made by W cheats
Initializing...
W cheats v4.0 ✧ made by W cheats
`; document.body.appendChild(splash); // Sakura petals const bg = document.getElementById('yk-splash-bg'); for (let i = 0; i < 35; i++) { const p = document.createElement('div'); p.className = 'sakura'; p.style.left = Math.random() * 100 + '%'; p.style.animationDuration = (5 + Math.random() * 8) + 's'; p.style.animationDelay = (Math.random() * 6) + 's'; p.style.width = p.style.height = (8 + Math.random() * 10) + 'px'; bg.appendChild(p); } // Orbs const orbColors = ['rgba(255,107,157,0.3)', 'rgba(192,132,252,0.3)', 'rgba(56,189,248,0.2)', 'rgba(129,140,248,0.25)']; for (let i = 0; i < 4; i++) { const orb = document.createElement('div'); orb.className = 'yk-orb'; orb.style.width = orb.style.height = (150 + Math.random() * 200) + 'px'; orb.style.background = orbColors[i]; orb.style.left = (Math.random() * 80 + 10) + '%'; orb.style.top = (Math.random() * 80 + 10) + '%'; orb.style.animationDelay = (i * 2) + 's'; bg.appendChild(orb); } // Stars for (let i = 0; i < 40; i++) { const star = document.createElement('div'); star.className = 'yk-star'; star.style.left = Math.random() * 100 + '%'; star.style.top = Math.random() * 100 + '%'; star.style.animationDelay = (Math.random() * 3) + 's'; star.style.animationDuration = (1.5 + Math.random() * 2) + 's'; bg.appendChild(star); } const bar = document.getElementById('yk-splash-bar'); const status = document.getElementById('yk-splash-status'); const steps = [ { pct: 12, msg: '🔌 Hooking WebSocket...' }, { pct: 25, msg: '🎨 Patching shaders...' }, { pct: 38, msg: '🎯 Loading aimbot engine...' }, { pct: 50, msg: '⚡ Initializing exploits...' }, { pct: 65, msg: '🎮 Setting up game speed...' }, { pct: 78, msg: '🌸 Applying anime theme...' }, { pct: 90, msg: '✨ Building GUI...' }, { pct: 100, msg: '✧ Ready! ✧' } ]; let si = 0; const sint = setInterval(() => { if (si >= steps.length) { clearInterval(sint); setTimeout(() => { splash.classList.add('hide'); setTimeout(() => splash.remove(), 800); }, 500); return; } bar.style.width = steps[si].pct + '%'; status.textContent = steps[si].msg; si++; }, 380); } // ============================================ // GUI - ANIME THEME ✧ // ============================================ function createGUI() { showSplashScreen(); const root = document.createElement('div'); root.innerHTML = `
W cheats 0 fps v4.0 by W cheats
Kills0
Target
W cheats
✧ made by W cheats ✧
v4.0
AIMBOT
🎯
Aimbot
Kafaya otomatik kilitlenir
🔒
Lock-On
Hedefe kilitli kal
📡
Prediction
Hareket tahmini
🌸
Smoothing
Yumuşak geçiş
Kapalı
AIM AYARLARI
Speed${config.aimbotSpeed}
FOV${config.aimbotFOV}
Head Offset${config.headOffset}
Snap Distance${config.aimbotSnapDistance}
SİLAH
♾️
Infinite Ammo
Sınırsız mermi
🔫
No Recoil
Geri tepme yok
💥
Rapid Fire
Hızlı ateş
Fire Rate${config.rapidFireRate}ms
OTOMATİK
🤖
Auto Shoot
Crosshair'de düşman → ateş
Trigger Bot
Aim kilitlenince ateş
Trigger Delay${config.triggerDelay}ms
HIZ
Speed Hack
Hareket hızı artır
Multiplier${config.speedMultiplier}x
ZIPLAMA
🐇
Bunny Hop
Otomatik zıpla
🦘
Infinite Jump
Sınırsız zıplama
🛡️
No Fall Damage
Düşme hasarı yok
HAREKET
↔️
Auto Strafe
Otomatik sağ-sol
🌀
Spin Bot
Sürekli dön
Spin Speed${config.spinSpeed}
ESP
👁
Wall ESP
Duvar arkası görüş
🔲
Wireframe
Tel kafes modu
🔍
X-Ray
Her şeyi gör
FOV Circle
Hedefleme çemberi
RENDER
☀️
Full Bright
Tam aydınlık
🌫️
No Fog
Sis yok
HUD
Hit Marker
Vuruş işareti
🔊
Kill Sound
Öldürme sesi
📊
Stats Overlay
İstatistik göster
OYUN HIZI KONTROLÜ
🎮
Game Speed
Oyun hızını değiştir
1.0x
✧ Oyun Hız Çarpanı ✧
Hız1.0x
BİLGİ
Mevcut Hız1.0x (Normal)
DurumDevre Dışı
ToggleAlt+G
HızlandırAlt+]
YavaşlatAlt+[
SıfırlaAlt+0
⚠️ Yüksek hız değerleri dengesizliğe sebep olabilir
OTOMASYON
🔄
Auto Respawn
Otomatik yeniden doğ
💤
Anti AFK
AFK atılmayı engelle
🚀
FPS Boost
Performans artır
⚠️ Bazı özellikler sunucu tarafında tespit edilebilir
BİLGİLER
Vertex Range${config.minVertices}-${config.maxVertices}
HedeflemeOyuncu Kafası
WebSocketBekleniyor
Kills0
Game Speed1.0x
KISAYOLLAR
MenüInsert
AimbotAlt+A
ESPAlt+E
SpeedAlt+S
Rapid FireAlt+R
TriggerAlt+T
X-RayAlt+X
Game SpeedAlt+G
✧ W cheats v4.0 ✧
MADE BY W CHEATS
anime edition • ultimate
`; document.body.appendChild(root); // ===== AMBIENT SAKURA PARTICLES ===== const ambient = document.getElementById('yk-ambient'); function spawnAmbientParticle() { if (!ambient) return; const p = document.createElement('div'); p.className = 'yk-ambient-particle'; const colors = ['rgba(255,183,213,0.4)', 'rgba(192,132,252,0.3)', 'rgba(129,140,248,0.25)', 'rgba(56,189,248,0.2)']; p.style.background = colors[Math.floor(Math.random() * colors.length)]; p.style.width = p.style.height = (3 + Math.random() * 5) + 'px'; p.style.left = Math.random() * 100 + '%'; p.style.animationDuration = (8 + Math.random() * 12) + 's'; p.style.filter = `blur(${Math.random() * 1.5}px)`; ambient.appendChild(p); setTimeout(() => p.remove(), 20000); } setInterval(spawnAmbientParticle, 800); // ===== SPARKLE EFFECT ON TOGGLE ===== function createSparkles(element) { const rect = element.getBoundingClientRect(); const colors = ['#ff6b9d', '#c084fc', '#818cf8', '#38bdf8', '#ffb7d5', '#fde047']; for (let i = 0; i < 8; i++) { const spark = document.createElement('div'); spark.className = 'yk-sparkle'; spark.style.position = 'fixed'; spark.style.left = (rect.left + rect.width / 2) + 'px'; spark.style.top = (rect.top + rect.height / 2) + 'px'; spark.style.background = colors[Math.floor(Math.random() * colors.length)]; spark.style.setProperty('--sx', (Math.random() * 60 - 30) + 'px'); spark.style.setProperty('--sy', (Math.random() * 60 - 30) + 'px'); spark.style.zIndex = '9999999'; document.body.appendChild(spark); setTimeout(() => spark.remove(), 600); } } // Add sparkle to all switches document.querySelectorAll('.yk-sw input').forEach(inp => { inp.addEventListener('change', function() { if (this.checked) createSparkles(this.closest('.yk-sw')); }); }); const menu = document.getElementById('yk-menu'); // ===== TABS ===== document.querySelectorAll('.yk-tab').forEach(b => b.addEventListener('click', () => { document.querySelectorAll('.yk-tab').forEach(x => x.classList.remove('on')); document.querySelectorAll('.yk-pane').forEach(x => x.classList.remove('on')); b.classList.add('on'); const pane = document.getElementById(`p-${b.dataset.p}`); pane.classList.add('on'); pane.style.animation = 'none'; pane.offsetHeight; pane.style.animation = ''; })); // ===== BINDINGS ===== const bind = (id, key, cb) => document.getElementById(id)?.addEventListener('change', function() { config[key] = this.checked; if (cb) cb(this.checked); }); const slide = (id, key, vid, fmt, cb) => document.getElementById(id)?.addEventListener('input', function() { const v = parseFloat(this.value); config[key] = v; document.getElementById(vid).textContent = fmt ? fmt(v) : v; if (cb) cb(v); }); // AIM bind('c-aim', 'aimbot', on => { document.getElementById('aim-pill').className = `yk-pill ${on?'on':'off'}`; document.getElementById('aim-txt').textContent = on ? '✧ AKTİF — Kafaya lock' : 'Kapalı'; toast(on ? '🎯 Aimbot ON' : '🎯 Aimbot OFF'); }); bind('c-lock', 'aimbotLockOn'); bind('c-pred', 'aimbotPrediction'); bind('c-smooth', 'aimbotSmoothing'); slide('c-sp', 'aimbotSpeed', 'v-sp'); slide('c-fov', 'aimbotFOV', 'v-fov', v => parseInt(v), syncFOV); slide('c-ho', 'headOffset', 'v-ho'); slide('c-snd', 'aimbotSnapDistance', 'v-snd', v => parseInt(v)); // COMBAT bind('c-ammo', 'infiniteAmmo', on => toast(on?'♾️ Infinite Ammo ON':'♾️ OFF')); bind('c-recoil', 'noRecoil', on => toast(on?'🔫 No Recoil ON':'🔫 OFF')); bind('c-rapid', 'rapidFire', on => { on?startRapidFire():stopRapidFire(); toast(on?'💥 Rapid Fire ON':'💥 OFF'); }); slide('c-rate', 'rapidFireRate', 'v-rate', v=>parseInt(v)+'ms', ()=>{if(config.rapidFire){stopRapidFire();startRapidFire();}}); bind('c-auto', 'autoShoot', on => toast(on?'🤖 Auto Shoot ON':'🤖 OFF')); bind('c-trig', 'triggerBot', on => toast(on?'⚡ Trigger Bot ON':'⚡ OFF')); slide('c-td', 'triggerDelay', 'v-td', v=>parseInt(v)+'ms'); // MOVEMENT bind('c-spd', 'speedHack', on => { on?startSpeedHack():stopSpeedHack(); toast(on?'⚡ Speed ON':'⚡ OFF'); }); slide('c-spm', 'speedMultiplier', 'v-spm', v=>v+'x'); bind('c-bhop', 'bunnyHop', on => { on?startBunnyHop():stopBunnyHop(); toast(on?'🐇 Bhop ON':'🐇 OFF'); }); bind('c-ijmp', 'infiniteJump', on => { if(on)startInfiniteJump(); toast(on?'🦘 Inf Jump ON':'🦘 OFF'); }); bind('c-nfd', 'noFallDamage', on => toast(on?'🛡️ No Fall DMG ON':'🛡️ OFF')); bind('c-strf', 'autoStrafe', on => { on?startAutoStrafe():stopAutoStrafe(); toast(on?'↔️ Strafe ON':'↔️ OFF'); }); bind('c-spin', 'spinBot', on => { on?startSpinBot():stopSpinBot(); toast(on?'🌀 Spin ON':'🌀 OFF'); }); slide('c-spn', 'spinSpeed', 'v-spn', v=>parseInt(v)); // VISUAL bind('c-esp', 'esp', on => toast(on?'👁 ESP ON':'👁 OFF')); bind('c-wire', 'wireframe'); bind('c-xray', 'xray', on => toast(on?'🔍 X-Ray ON':'🔍 OFF')); bind('c-fovc', 'fovCircle', on => { document.getElementById('yk-fov').classList.toggle('show',on); syncFOV(); }); bind('c-bright', 'fullBright', on => toast(on?'☀️ Bright ON':'☀️ OFF')); bind('c-fog', 'noFog', on => toast(on?'🌫️ No Fog ON':'🌫️ OFF')); bind('c-hit', 'hitMarker'); bind('c-ksnd', 'killSound'); bind('c-stats', 'statsOverlay', on => document.getElementById('yk-stats').classList.toggle('show',on)); // MISC bind('c-resp', 'autoRespawn', on => { on?startAutoRespawn():stopAutoRespawn(); toast(on?'🔄 Auto Respawn ON':'🔄 OFF'); }); bind('c-afk', 'antiAFK', on => { on?startAntiAFK():stopAntiAFK(); toast(on?'💤 Anti AFK ON':'💤 OFF'); }); bind('c-fps', 'fpsBoost', on => toast(on?'🚀 FPS Boost ON':'🚀 OFF')); // ===== GAME SPEED ===== function updateGameSpeedUI(speed, enabled) { const label = speed===1?'Normal':speed<1?'Yavaş':speed<=2?'Hızlı':speed<=3?'Çok Hızlı':'Ultra'; const el = id => document.getElementById(id); if(el('gs-val')) el('gs-val').textContent = speed.toFixed(1)+'x'; if(el('v-gspd')) el('v-gspd').textContent = speed.toFixed(1)+'x'; if(el('c-gspd-range')) el('c-gspd-range').value = speed; if(el('gs-current')) el('gs-current').textContent = speed.toFixed(1)+'x ('+label+')'; if(el('gs-status')) { el('gs-status').textContent = enabled?'Aktif ✧':'Devre Dışı'; el('gs-status').style.color = enabled?'var(--grn)':'var(--t2)'; } if(el('cfg-gspd')) el('cfg-gspd').textContent = speed.toFixed(1)+'x'; const ws = el('wm-speed'), wss = el('wm-speed-sep'); if(ws&&wss) { if(enabled&&speed!==1) { ws.style.display='';wss.style.display='';ws.textContent=speed.toFixed(1)+'x';ws.style.color=speed>1?'var(--ylw)':'var(--a4)'; } else { ws.style.display='none';wss.style.display='none'; } } document.querySelectorAll('.yk-gs-preset').forEach(b => b.classList.toggle('active', parseFloat(b.dataset.speed)===speed)); } bind('c-gspd', 'gameSpeedEnabled', on => { if(on) GameSpeedEngine.enable(config.gameSpeed); else GameSpeedEngine.disable(); updateGameSpeedUI(config.gameSpeed, on); toast(on?`🎮 Game Speed ON (${config.gameSpeed}x)`:'🎮 Game Speed OFF'); }); document.getElementById('c-gspd-range')?.addEventListener('input', function() { const v = parseFloat(this.value); config.gameSpeed = v; if(config.gameSpeedEnabled) GameSpeedEngine.enable(v); updateGameSpeedUI(v, config.gameSpeedEnabled); }); document.querySelectorAll('.yk-gs-preset').forEach(btn => { btn.addEventListener('click', () => { const s = parseFloat(btn.dataset.speed); config.gameSpeed = s; if(config.gameSpeedEnabled) GameSpeedEngine.enable(s); updateGameSpeedUI(s, config.gameSpeedEnabled); toast(`🎮 Hız: ${s}x`); }); }); // Close document.getElementById('yk-close').addEventListener('click', () => { menu.classList.remove('open'); menuOpen = false; }); // Drag const h = document.getElementById('yk-drag'); let dr=false,ox=0,oy=0; h.addEventListener('mousedown', e => { if(e.target.closest('.yk-close'))return; dr=true;ox=e.clientX-menu.offsetLeft;oy=e.clientY-menu.offsetTop; }); document.addEventListener('mousemove', e => { if(!dr)return; menu.style.left=`${e.clientX-ox}px`;menu.style.top=`${e.clientY-oy}px`; }); document.addEventListener('mouseup', () => dr=false); function syncFOV() { const f=document.getElementById('yk-fov'),s=config.aimbotFOV; f.style.width=`${s}px`;f.style.height=`${s}px`; f.style.left=`calc(50% - ${s/2}px)`;f.style.top=`calc(50% - ${s/2}px)`; } syncFOV(); // ===== KEYBOARD ===== document.addEventListener('keydown', e => { if(e.key==='Insert'){menuOpen=!menuOpen;menu.classList.toggle('open',menuOpen);} if(e.altKey) { const k=e.key.toLowerCase(); const toggles = { 'a':['c-aim','aimbot','🎯 Aimbot'], 'e':['c-esp','esp','👁 ESP'], 's':['c-spd','speedHack','⚡ Speed'], 'r':['c-rapid','rapidFire','💥 Rapid'], 't':['c-trig','triggerBot','⚡ Trigger'], 'x':['c-xray','xray','🔍 X-Ray'] }; if(toggles[k]) { const [id,key,label]=toggles[k]; config[key]=!config[key]; const el=document.getElementById(id); if(el)el.checked=config[key]; if(k==='a'){ document.getElementById('aim-pill').className=`yk-pill ${config.aimbot?'on':'off'}`; document.getElementById('aim-txt').textContent=config.aimbot?'✧ AKTİF — Kafaya lock':'Kapalı'; } if(k==='s'){config.speedHack?startSpeedHack():stopSpeedHack();} if(k==='r'){config.rapidFire?startRapidFire():stopRapidFire();} toast(`${label} ${config[key]?'ON':'OFF'}`); e.preventDefault(); } if(k==='g'){ config.gameSpeedEnabled=!config.gameSpeedEnabled; const el=document.getElementById('c-gspd');if(el)el.checked=config.gameSpeedEnabled; config.gameSpeedEnabled?GameSpeedEngine.enable(config.gameSpeed):GameSpeedEngine.disable(); updateGameSpeedUI(config.gameSpeed,config.gameSpeedEnabled); toast(config.gameSpeedEnabled?`🎮 Game Speed ON (${config.gameSpeed}x)`:'🎮 Game Speed OFF'); e.preventDefault(); } if(k===']'){ config.gameSpeed=Math.min(5,Math.round((config.gameSpeed+0.5)*10)/10); if(config.gameSpeedEnabled)GameSpeedEngine.enable(config.gameSpeed); updateGameSpeedUI(config.gameSpeed,config.gameSpeedEnabled); toast(`🎮 Hız: ${config.gameSpeed}x`);e.preventDefault(); } if(k==='['){ config.gameSpeed=Math.max(0.1,Math.round((config.gameSpeed-0.5)*10)/10); if(config.gameSpeedEnabled)GameSpeedEngine.enable(config.gameSpeed); updateGameSpeedUI(config.gameSpeed,config.gameSpeedEnabled); toast(`🎮 Hız: ${config.gameSpeed}x`);e.preventDefault(); } if(k==='0'){ config.gameSpeed=1.0; if(config.gameSpeedEnabled)GameSpeedEngine.enable(1.0); updateGameSpeedUI(1.0,config.gameSpeedEnabled); toast('🎮 Hız Sıfırlandı: 1.0x');e.preventDefault(); } } }); // Toast function toast(msg) { const t=document.createElement('div');t.className='yk-toast';t.textContent=msg; document.body.appendChild(t); requestAnimationFrame(()=>t.classList.add('show')); setTimeout(()=>{t.classList.remove('show');setTimeout(()=>t.remove(),350);},1500); } window._toast=toast; // Status updates setInterval(()=>{ const el=document.getElementById('ws-st'); if(el){if(gameSocket&&gameSocket.readyState===1){el.textContent='Bağlı ✧';el.style.color='var(--grn)';}else{el.textContent='Bekleniyor';el.style.color='var(--org)';}} const k=document.getElementById('cfg-kills');if(k)k.textContent=killCount; const t=document.getElementById('yk-target');if(t)t.textContent=targetLocked?'Locked ✧':'—'; },1000); // FPS let fc=0,lt=performance.now(); (function fl(){fc++;const n=performance.now();if(n-lt>=1000){const e=document.getElementById('wm-fps');if(e)e.textContent=`${fc} fps`;fc=0;lt=n;}requestAnimationFrame(fl);})(); } // ============================================ // START // ============================================ window.addEventListener('DOMContentLoaded', () => { createGUI(); console.log( '%c ✧ W cheats v4.0 ✧ %c Anime Edition %c made by W cheats ', 'background:linear-gradient(135deg,#ff6b9d,#c084fc);color:white;font-size:14px;padding:6px 14px;border-radius:8px 0 0 8px;font-weight:900;', 'background:linear-gradient(135deg,#818cf8,#38bdf8);color:white;font-size:14px;padding:6px 14px;font-weight:700;', 'background:#0c0218;color:#ffb7d5;font-size:14px;padding:6px 14px;border-radius:0 8px 8px 0;font-weight:500;font-style:italic;' ); }); window.WcheatsConfig = config; })();