0% found this document useful (0 votes)
73 views

Message

Uploaded by

Manuel Ascate
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
73 views

Message

Uploaded by

Manuel Ascate
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 7

// ==UserScript==

// @name Lmao>all テ
// @namespace http://tampermonkey.net/
// @version 9.01
// @description try to take over the world!
// @author Lmao>all テ
// @match *://dynast.io/*
// @require
https://cdn.jsdelivr.net/npm/[email protected]/dist/protobuf.min.js
// @icon https://www.google.com/s2/favicons?sz=64&domain=dynast.io
// @grant GM_xmlhttpRequest
// ==/UserScript==

//Multi Options before auto e


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 key.
window.boostPack = true; //Boosts dynast loading time to minimum
//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;
window._token_ = '5oWxVD20QBy0ICQ1o5b2dbRFLhhrY0CZ1k7H4Parur0g0K';

(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">Not Activated</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", "orange", "yellow", "green", "blue", "indigo", "violet"];


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 = "Activated";
keyAction.action();
}, delay);
}
}

function handleMouseUp(event) {
if (event.button === 2 && interval) {
document.querySelector(".status_text").innerHTML = "Not Activated";
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]) {

document.querySelector(".status_text").innerHTML = "𝔵𝔐𝔒𝔒𝔑𝔵
intervals[key] = setInterval(() => {

𝔓𝔯𝔬";
keybinds[key].action();
}, delay);
}
}

function handleKeyUp(event) {
const { key } = event;

document.querySelector(".status_text").innerHTML = "𝔵𝔐𝔒𝔒𝔑𝔵";
if (key === window.autoEKey && keybinds[key] && intervals[key]) {

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('Reset');
redefineFunction();
clearData();

}
});

keyPress();

})()

You might also like