Arreglado el giro del personaje, Auto-Talar sigue al mouse, Sin Anuncios.
// ==UserScript==
// @name CODIGO REAL V16 - Devast.io ABRIR CON LETRA (H)
// @namespace http://tampermonkey.net/
// @version 16.0
// @description Arreglado el giro del personaje, Auto-Talar sigue al mouse, Sin Anuncios.
// @author CODIGO REAL
// @match *://devast.io/*
// @run-at document-start
// @grant none
// ==/UserScript==
(function() {
'use strict';
// 1. ELIMINAR ANUNCIOS Y MARCOS VACÍOS
const style = document.createElement('style');
style.innerHTML = `
#preroll, #ad-container, .adsbygoogle, iframe, #ext-iframe,
#loading-overlay, .main-ad, #div-gpt-ad, #featuredVideo,
#trevda, .pre-content-ad { display: none !important; }
#matrix-v16 {
position: fixed; top: 15px; left: 15px; width: 240px;
background: rgba(0, 10, 0, 0.96); border: 2px solid #00ff41;
color: #00ff41; font-family: 'Courier New', monospace; padding: 15px;
z-index: 1000000; border-radius: 4px; display: block;
box-shadow: 0 0 20px #00ff41; text-shadow: 0 0 5px #00ff41;
}
.m-title { text-align: center; font-size: 18px; font-weight: bold; border-bottom: 2px solid #00ff41; margin-bottom: 10px; }
.m-opt { margin: 8px 0; display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.m-check { accent-color: #00ff41; width: 18px; height: 18px; cursor: pointer; }
.m-btn { width: 100%; background: #000; color: #00ff41; border: 1px solid #00ff41; padding: 8px; cursor: pointer; font-weight: bold; margin-top: 10px; }
.m-btn:hover { background: #00ff41; color: #000; }
`;
document.head.appendChild(style);
// 2. PANEL MATRIX
const menu = document.createElement('div');
menu.id = 'matrix-v16';
menu.innerHTML = `
<div class="m-title">CODIGO REAL V16</div>
<div class="m-opt"><span>⛏️ AUTO-TALAR (MOUSE)</span> <input type="checkbox" id="autoTalar" checked class="m-check"></div>
<div class="m-opt"><span>☀️ VISION VIP</span> <input type="checkbox" id="godVision" class="m-check"></div>
<div class="m-opt"><span>📦 AUTO-LOOT (E)</span> <input type="checkbox" id="autoLoot" checked class="m-check"></div>
<div class="m-opt"><span>🍖 AUTO-CURAR</span> <input type="checkbox" id="autoEat" checked class="m-check"></div>
<button class="m-btn" onclick="location.reload()">REINICIAR SISTEMA</button>
<p style="font-size:10px; text-align:center; margin-top:10px;">[H] MENU | CODIGO REAL</p>
`;
document.addEventListener('DOMContentLoaded', () => {
document.body.appendChild(menu);
// Auto-Play
setInterval(() => {
const btn = document.querySelector('.btn-play');
if (btn && btn.offsetParent !== null) btn.click();
}, 1000);
});
// 3. RASTREADOR DE MOUSE (Para que no se buguee la dirección)
let mouseX = 0;
let mouseY = 0;
window.addEventListener('mousemove', (e) => {
mouseX = e.clientX;
mouseY = e.clientY;
});
// 4. AUTO-TALAR MEJORADO (SIGUE AL MOUSE)
setInterval(() => {
const talar = document.getElementById('autoTalar');
if (talar && talar.checked) {
const canvas = document.querySelector('canvas');
if (canvas) {
// Enviamos el click exactamente donde está tu puntero
const clickEvent = new MouseEvent('mousedown', {
bubbles: true,
clientX: mouseX,
clientY: mouseY,
button: 0
});
canvas.dispatchEvent(clickEvent);
// También enviamos la tecla espacio
window.dispatchEvent(new KeyboardEvent('keydown', { code: 'Space', keyCode: 32 }));
setTimeout(() => {
canvas.dispatchEvent(new MouseEvent('mouseup', { bubbles: true, clientX: mouseX, clientY: mouseY, button: 0 }));
window.dispatchEvent(new KeyboardEvent('keyup', { code: 'Space', keyCode: 32 }));
}, 15);
}
}
}, 40); // 40ms para estabilidad y potencia
// 5. AUTO-LOOT Y CURAR
setInterval(() => {
if (document.getElementById('autoLoot')?.checked) {
window.dispatchEvent(new KeyboardEvent('keydown', { key: 'e', keyCode: 69 }));
}
if (document.getElementById('autoEat')?.checked) {
[49, 50].forEach(k => window.dispatchEvent(new KeyboardEvent('keydown', { keyCode: k })));
}
}, 1500);
// 6. VISIÓN VIP
setInterval(() => {
document.body.style.filter = document.getElementById('godVision')?.checked ? "brightness(2.2) contrast(1.1)" : "none";
}, 500);
// 7. TECLA H PARA OCULTAR
window.addEventListener('keydown', (e) => {
if (e.key.toLowerCase() === 'h') {
menu.style.display = (menu.style.display === 'none') ? 'block' : 'none';
}
});
console.log("%c CODIGO REAL V16 - FIXED ONLINE ", "color: #00ff41; font-weight: bold; font-size: 20px;");
})();