Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
41 views

message 3

Uploaded by

sr5wgsmmh8
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views

message 3

Uploaded by

sr5wgsmmh8
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 8

// ==UserScript==

// @name Auto Vex


// @namespace http://tampermonkey.net/
// @version v122
// @description Fuck KMC
// @author Redflame, Tahmid, R!pper
// @match *://dynast.io/*
// @require
https://cdn.jsdelivr.net/npm/protobufjs@6.11.2/dist/protobuf.min.js
// @icon https://www.google.com/s2/favicons?sz=64&domain=dynast.io
// @grant none
// ==/UserScript==

//Multi Options before auto e

//auth veryfying:
alert('Verifying Status');
//window.check.config = true;
alert("Window token : Xy#7aP!0qB*r$2Z");
//window.load.autoe = true;
alert('Let it Rip 🔥🔥');
alert('Sharing of script is Prohibhited and will count as an act of piracy');
//e
//window.spamrate = "75";//Higher THAN 100 MIGHT CAUSE LAG
window.mslower = {
enabled: true, // Set to true to enable the script, false to disable
showAlert: false //Set to true to show the alert, false to hide
};
window.fpsControl = true;
window.cpsControl = true;
window.autoResetKey = "r"; //RESET
window.boostPack = true; //BOOSTER
//Auto e config
window.autoEKey = "q"; //" " for space. q for q, a for a, etc..
window.useRightClick = true; //for right click usage, if disabled it will use keys.
window.ePerSecond = -1,-1,-1,-1,0,0,0,1,1,1,0,0,0.0,-1.1,1.1;// DONT TOUCH
window._token_ = '2oWxVD20QBy0ICQ1o5b2dbRFLhhrY0CZ1k7H4Parur0g0K';

(function() {
'use strict';

var canvas = document.createElement('canvas');


canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
canvas.style.position = 'fixed';
canvas.style.top = '0';
canvas.style.left = '0';
canvas.style.pointerEvents = 'none';
document.body.appendChild(canvas);

var ctx = canvas.getContext('2d');

var ball = {
x: canvas.width / 2,
y: canvas.height / 2,
radius: 20,
dx: 2,
dy: 2,
color: '#ff0000',
colorTimer: 0, // Timer for color change
colorInterval: 100 // Color change interval in milliseconds
};

function update() {
ctx.clearRect(0, 0, canvas.width, canvas.height);

ball.x += ball.dx;
ball.y += ball.dy;

if (ball.x + ball.radius > canvas.width || ball.x - ball.radius < 0) {


ball.dx *= -1;
}
if (ball.y + ball.radius > canvas.height || ball.y - ball.radius < 0) {
ball.dy *= -1;
}

ball.colorTimer += 16; // Update color timer (60 frames per second)


if (ball.colorTimer >= ball.colorInterval) {
ball.color = '#' + Math.floor(Math.random()*16777215).toString(16);
ball.colorTimer = 0; // Reset color timer
}

ctx.beginPath();
ctx.arc(ball.x, ball.y, ball.radius, 0, Math.PI * 2);
ctx.fillStyle = ball.color;
ctx.fill();
ctx.closePath();

requestAnimationFrame(update);
}

update();

})();

// Create a fixed position div element for displaying mouse position


var positionDiv = document.createElement('div');
positionDiv.style.position = 'fixed';
positionDiv.style.top = '10px';
positionDiv.style.right = '10px';
positionDiv.style.padding = '5px';
positionDiv.style.background = 'rgba(0, 0, 0, 0.5)';
positionDiv.style.color = '#fff';
positionDiv.style.zIndex = '9999';
document.body.appendChild(positionDiv);

// Function to update mouse position in the div


function updateMousePosition(event) {
positionDiv.textContent = 'Mouse X: ' + event.pageX + ', Mouse Y: ' +
event.pageY;
}

// Attach mousemove event listener to the document


document.addEventListener('mousemove', updateMousePosition);

(function() {
//Ms reducer and fps/cps counter codes below.
function _0x2906(_0x590847, _0x35d913) {
var _0x30d147 = _0x30d1();
return _0x2906 = function(_0x29067f, _0x46ef5a) {
_0x29067f = _0x29067f - 0xd6;
var _0x4b8143 = _0x30d147[_0x29067f];
return _0x4b8143;
}, _0x2906(_0x590847, _0x35d913);
}

function _0x30d1() {
var _0x23e982 = ['appendChild', 'FPS:\x20', 'indexOf', '1616325wTaCzF',
'position', 'now', 'FPS', 'top', 'mslower', '50004YQefZO', 'concat', '#fff',
'color', '668381nvnETW', '10px', 'style', '2120qHCJRe', 'backgroundColor', 'click',
'2153024QXzWnE', 'postMessage', 'fpsControl', 'message', 'round', 'from',
'addEventListener', '__animation_polyfill__', 'string', 'createElement', 'padding',
'none', 'left', 'requestAnimationFrame', 'display', 'FPS\x20were\x20uncapped\x20&\
x20MS\x20is\x20stable.\x20Please\x20DM\x20me\x20if\x20any\x20issues.', 'rgba(0,\
x200,\x200,\x200.5)', '438ozQfTr', '17289270aNJmHm', 'textContent', 'div',
'cpsControl', ':\x200', 'fixed', 'CPS', '2551090cZyvgT', 'zIndex', 'CPS:\x20',
'body', '393NjyEby', 'apply', 'data'];
_0x30d1 = function() {
return _0x23e982;
};
return _0x30d1();
}
var _0x2b4b22 = _0x2906;
(function(_0x447d85, _0x4d9d7d) {
var _0x340645 = _0x2906,
_0x2aef29 = _0x447d85();
while (!![]) {
try {
var _0xff94fe = parseInt(_0x340645(0xe4)) / 0x1 + -
parseInt(_0x340645(0xda)) / 0x2 + parseInt(_0x340645(0xde)) / 0x3 * (-
parseInt(_0x340645(0xea)) / 0x4) + -parseInt(_0x340645(0xf1)) / 0x5 * (-
parseInt(_0x340645(0x105)) / 0x6) + -parseInt(_0x340645(0xee)) / 0x7 +
parseInt(_0x340645(0xf4)) / 0x8 + parseInt(_0x340645(0x106)) / 0x9;
if (_0xff94fe === _0x4d9d7d) break;
else _0x2aef29['push'](_0x2aef29['shift']());
} catch (_0x44820e) {
_0x2aef29['push'](_0x2aef29['shift']());
}
}
}(_0x30d1, 0xca568), (function() {
var _0x18723f = _0x2906;
if (!window[_0x18723f(0xe9)]['enabled']) return;
var _0x32e536 = 0x0,
_0x4bc3f0 = {},
_0x31bc88 = _0x18723f(0xfb);

function _0x44a8a(_0x251c00, _0x19d235) {


var _0x321093 = _0x18723f;
switch (_0x19d235['length']) {
case 0x0:
return _0x251c00();
case 0x1:
return _0x251c00(_0x19d235[0x0]);
case 0x2:
return _0x251c00(_0x19d235[0x0], _0x19d235[0x1]);
case 0x3:
return _0x251c00(_0x19d235[0x0], _0x19d235[0x1], _0x19d235[0x2]);
default:
return _0x251c00[_0x321093(0xdf)](window, _0x19d235);
}
}

function _0x20cccb(_0x2f3c14) {
var _0x1adcc0 = _0x18723f,
_0x44dedb = _0x2f3c14[_0x1adcc0(0xe0)],
_0x4a2352;
typeof _0x44dedb === _0x1adcc0(0xfc) && _0x44dedb[_0x1adcc0(0xe3)]
(_0x31bc88) === 0x0 && (_0x4a2352 = _0x4bc3f0[_0x44dedb], _0x4a2352 && (delete
_0x4bc3f0[_0x44dedb], _0x44a8a(_0x4a2352[0x0], _0x4a2352['slice'](0x1))));
}

function _0x5be6a4(_0x1d61bb) {
var _0x32e446 = _0x18723f,
_0x369b32 = _0x32e536++,
_0x133d4a = _0x31bc88 + _0x369b32;
return _0x4bc3f0[_0x133d4a] = [_0x1d61bb][_0x32e446(0xeb)]
(Array[_0x32e446(0xf9)](arguments)['slice'](0x1)), window[_0x32e446(0xf5)]
(_0x133d4a), _0x369b32;
}

function _0x1abc08(_0x584507) {
delete _0x4bc3f0[_0x31bc88 + _0x584507];
}
window[_0x18723f(0x101)] = function(_0x1f8d4f) {
_0x5be6a4(_0x1f8d4f);
}, window['cancelAnimationFrame'] = function(_0x1111f7) {
_0x1abc08(_0x1111f7);
}, window[_0x18723f(0xfa)](_0x18723f(0xf7), _0x20cccb);
}()));
window[_0x2b4b22(0xe9)]['showAlert'] && alert(_0x2b4b22(0x103));
(function() {
'use strict';
var _0x344e17 = _0x2b4b22;
var _0x46b5d7 = _0x2063d3(_0x344e17(0xe7), _0x344e17(0xef), _0x344e17(0xef)),
_0xec064c = _0x2063d3(_0x344e17(0xd9), _0x344e17(0xef), '90px'),
_0x506afb = 0x0,
_0x1c7aca = 0x0,
_0x3cabd1 = performance[_0x344e17(0xe6)]();

function _0x2063d3(_0x3e1750, _0x198580, _0x114f19) {


var _0x151a44 = _0x344e17,
_0x17aebb = document[_0x151a44(0xfd)](_0x151a44(0x108));
return _0x17aebb['style'][_0x151a44(0xe5)] = _0x151a44(0xd8),
_0x17aebb[_0x151a44(0xf0)][_0x151a44(0xe8)] = _0x198580, _0x17aebb[_0x151a44(0xf0)]
[_0x151a44(0x100)] = _0x114f19, _0x17aebb[_0x151a44(0xf0)][_0x151a44(0xfe)] =
'5px', _0x17aebb[_0x151a44(0xf0)][_0x151a44(0xf2)] = _0x151a44(0x104),
_0x17aebb[_0x151a44(0xf0)][_0x151a44(0xed)] = _0x151a44(0xec),
_0x17aebb[_0x151a44(0xf0)][_0x151a44(0xdb)] = '9999', _0x17aebb[_0x151a44(0x107)] =
_0x3e1750 + _0x151a44(0xd7), document[_0x151a44(0xdd)][_0x151a44(0xe1)](_0x17aebb),
_0x17aebb;
}

function _0x2bdd13() {
var _0x44933d = _0x344e17,
_0x5d276f = performance[_0x44933d(0xe6)](),
_0x1b40a4 = _0x5d276f - _0x3cabd1,
_0x790ec3 = Math[_0x44933d(0xf8)](_0x506afb / (_0x1b40a4 / 0x3e8));
window[_0x44933d(0xf6)] ? (_0x46b5d7['textContent'] = _0x44933d(0xe2) +
_0x790ec3, _0xec064c[_0x44933d(0xf0)][_0x44933d(0x100)] = '90px') :
(_0x46b5d7[_0x44933d(0x107)] = '', _0x46b5d7[_0x44933d(0xf0)][_0x44933d(0x102)] =
_0x44933d(0xff), _0xec064c[_0x44933d(0xf0)][_0x44933d(0x100)] = _0x44933d(0xef)),
_0x506afb = 0x0, _0x3cabd1 = _0x5d276f, window[_0x44933d(0xf6)] &&
setTimeout(_0x2bdd13, 0x64);
}

function _0x1904c1() {
_0x506afb++, requestAnimationFrame(_0x1904c1);
}
document[_0x344e17(0xfa)](_0x344e17(0xf3), function() {
_0x1c7aca++;
});

function _0x2f212d() {
var _0x2c7b24 = _0x344e17;
window[_0x2c7b24(0xd6)] ? _0xec064c[_0x2c7b24(0x107)] = _0x2c7b24(0xdc) +
_0x1c7aca : (_0xec064c[_0x2c7b24(0x107)] = '', _0xec064c[_0x2c7b24(0xf0)]
[_0x2c7b24(0x102)] = _0x2c7b24(0xff)), _0x1c7aca = 0x0, window[_0x2c7b24(0xd6)] &&
setTimeout(_0x2f212d, 0xfa);
}
_0x1904c1(), _0x2bdd13(), _0x2f212d();
}());

function createNotification(message) {
var notification = document.createElement('div');
notification.textContent = message;
notification.style.position = 'fixed';
notification.style.top = '50%';
notification.style.left = '50%';
notification.style.transform = 'translate(-50%, -50%)';
notification.style.padding = '10px';
notification.style.backgroundColor = '#333';
notification.style.color = '#fff';
notification.style.borderRadius = '5px';
notification.style.zIndex = '9999';
notification.style.textAlign = 'center';

document.body.appendChild(notification);

setTimeout(function () {
document.body.removeChild(notification);
}, 250); // Adjust the time the notification stays visible (in milliseconds)
}

//NO TOUCHING
let keyPress;

let Element = document.createElement("div");


Element.className = "wrrrap";

Element.innerHTML = `
<span class="status_text">🌙</span>
<style>
.wrrrap {
position: absolute;
left: 50%;
top: 10%;
transform: translate(-50%, -10%);
pointer-events: none;
user-select: none;
font: 20px Arial;
}
</style>
`;

document.body.appendChild(Element);

let colors = ["red"];


let index = 0;

setInterval(() => {
let statusText = document.querySelector(".status_text");
statusText.style.color = colors[index];
index = (index + 1) % colors.length;
}, 1000);

document.querySelector("#gameContainer").appendChild(Element);

if(window.useRightClick === true) {

function whenPressingRightMouseButton(keyAction, delay) {


let interval;

function handleMouseDown(event) {
if (event.button === 2 && !interval) {
interval = setInterval(() => {
document.querySelector(".status_text").innerHTML = "🔥";
keyAction.action();
}, delay);
}
}

function handleMouseUp(event) {
if (event.button === 2 && interval) {
document.querySelector(".status_text").innerHTML = "🌙";
clearInterval(interval);
interval = null;
}
}

document.addEventListener("mousedown", handleMouseDown);
document.addEventListener("mouseup", handleMouseUp);
}

const keyAction = {
action: () => {
const KeyISdown = new KeyboardEvent('keydown', { key: 'e', keyCode: 171,
code: 'KeyE' });
const KeyISup = new KeyboardEvent('keyup', { key: 'e', keyCode: 171, code:
'KeyE' });
window.dispatchEvent(KeyISdown);
window.dispatchEvent(KeyISup);
}
};

keyPress = whenPressingRightMouseButton(keyAction, window.ePerSecond);

} else if(window.useRightClick === false && window.autoEKey != "") {

function whenPressingAKey(keybinds, delay) {


const intervals = {};

function handleKeyDown(event) {
const { key } = event;
if (key === window.autoEKey && keybinds[key] && !intervals[key]) {
intervals[key] = setInterval(() => {
document.querySelector(".status_text").innerHTML = "🔥";
keybinds[key].action();
}, delay);
}
}

function handleKeyUp(event) {
const { key } = event;
if (key === window.autoEKey && keybinds[key] && intervals[key]) {
document.querySelector(".status_text").innerHTML = "🌙";
clearInterval(intervals[key]);
intervals[key] = null;
}
}

function handleWindowBlur() {
for (const key in intervals) {
if (Object.prototype.hasOwnProperty.call(intervals, key)) {
clearInterval(intervals[key]);
intervals[key] = null;
}
}
}

document.addEventListener("keydown", handleKeyDown);
document.addEventListener("keyup", handleKeyUp);

// Clean up intervals on window blur


window.addEventListener("blur", handleWindowBlur);
}

const keyActions = {
[window.autoEKey]: {
action: () => {
const KeyISdown = new KeyboardEvent('keydown', { key: 'e', keyCode:
171, code: 'KeyE' });
const KeyISup = new KeyboardEvent('keyup', { key: 'e', keyCode: 171,
code: 'KeyE' });
window.dispatchEvent(KeyISdown);
window.dispatchEvent(KeyISup);
}
}
};
keyPress = whenPressingAKey(keyActions, window.ePerSecond);

} else {
return;
}
function redefineFunction() {

let autoE = keyPress();

autoE();

if(!window.boostPack) {
return;
} else {
function clearData() {
// Clear local storage
localStorage.clear();
sessionStorage.clear();
}
}

// Attach an event listener to the document to listen for the "r" key press
document.addEventListener('keydown', function (event) {
if (event.key === window.autoResetKey) {

createNotification('KMC sucks');
redefineFunction();
clearData();

}
});

keyPress();

})();

You might also like