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

message 2

Uploaded by

sr5wgsmmh8
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)
45 views

message 2

Uploaded by

sr5wgsmmh8
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/ 3

// ==UserScript==

// @name Dynast.io TuanZ's Auto


// @namespace auto e best
// @match *://dynast.io/*
// @grant none
// ==/UserScript==

(function() {
'use strict';
window.key = "q"; // key to toggle on/off auto, no need to hold
window.e_per_speed = 40; // WARNING: DO NOT SET IT HIGHER THAN 100 => IT MIGHT
BE SLOWER MUCH f
let packetusing = true; // STILL WORKING IN PROCESS!
let useRightClick = true; // set it to false => u have to use q or any key u
set in window.key
// press TAB to hide text (not activated/activated)
// window.key = " " this is for space toggle

alert("any error contact tuanz376 <3 the creator of auto e")


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: 10px Arial;
font-weight: bold;
}
</style>
`;
document.body.appendChild(Element);

let colors = ["green", "yellow"];


let index = 0;

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

document.querySelector("#gameContainer").appendChild(Element);
document.addEventListener("keydown", function(event) {
if (event.key === "Tab") {
event.preventDefault();
let element = document.querySelector(".wrrrap");
if (element.style.display === "none") {
element.style.display = "block";
} else {
element.style.display = "none";
}
}
});

let interval;
let isActivated = false;
const statusText = Element.querySelector(".status_text");
function handleActivation() {
if (isActivated) {
statusText.innerHTML = "not activated";
clearInterval(interval);
interval = undefined;
isActivated = false;
} else {
statusText.innerHTML = "activated!";
interval = setInterval(() => {
window.dispatchEvent(new KeyboardEvent('keydown', { key: 'e', keyCode:
69, code: 'KeyE' }));
window.dispatchEvent(new KeyboardEvent('keyup', { key: 'e', keyCode:
69, code: 'KeyE' }));
// packet();
setTimeout(() => {
window.dispatchEvent(new KeyboardEvent('keydown', { key: 'e',
keyCode: 69, code: 'KeyE' }));
window.dispatchEvent(new KeyboardEvent('keyup', { key: 'e',
keyCode: 69, code: 'KeyE' }));
}, 0.0025)
}, window.e_per_speed);
isActivated = true;
}
}

function handleMouseDown(event) {
if (useRightClick && event.button === 2 && !isActivated) {
handleActivation();
}
}
function handleMouseUp(event) {
if (useRightClick && event.button === 2 && isActivated) {
handleActivation();
}
}

function handleKeyPress(event) {
if (!useRightClick && event.key === window.key) {
handleActivation();
}
}

function packet(event) {
if (packet) {
for (i = 0; i < 200; i++) {
let c = [0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20]; // packet data
const packet2 = function() {
c++;
}
}
}
}
document.addEventListener("mousedown", handleMouseDown);
document.addEventListener("mouseup", handleMouseUp);
document.addEventListener("keydown", handleKeyPress);

})();

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy