message (2)
message (2)
/*
Credits:
Ilyax: Owner, Everything is by me, menu, and all
Bianos: Developer, Websockets, Modules 15% or 20% By Him
Emre: Only keybind system
*/
document.addEventListener("DOMContentLoaded", () => {
const servers = {
SFRA: "EU#1 Sand",
SFRA2: "EU#2",
SFRA2BIS: "EU#2 Sand",
SCA: "USA#1 Sand",
SCA2: "USA#2 Sand",
SGP: 'AS#1 Sand',
SGP2: 'AS#2 Sand',
SGP3BIS: "AS#3 Sand",
FRA1FFA: "EU Classic",
CA1FFA: "USA Classic",
SGP1FFA: "AS Classic",
FR1EVENT: "EU Event",
CA1EVENT: "USA Event"
};
menuHaha.innerHTML = `
<style>
.hat-keybind {
width: 250px;
height: 75px;
}
.keybind-button-HotkeyInput {
position: relative;
top: -30px;
left: 7%;
width: 120px;
height: 40px;
font-size: 17px;
font-weight: bolder;
background: #333333;
color: white;
border: 5px solid white;
border-radius: 10px;
transition: 0.4s;
}
.keybind-button-HotkeyInput:hover {
background: white;
color: black;
cursor: pointer;
border: 5px solid black;
}
.keybind-button-HotkeyInput:active {
transition: 0s;
background: green;
color: black;
cursor: pointer;
border: 5px solid black;
}
</style>
<div class="hat-keybind">
<img src="https://sploop.io/img/entity/hat_1.png?v=1923912" width="75" height="75">
<button class="keybind-button-HotkeyInput" id="bull">null</button>
</div>
<div class="hat-keybind">
<img src="https://sploop.io/img/entity/hat_3.png?v=1923912" width="75" height="75">
<button class="keybind-button-HotkeyInput" id="crystal">null</button>
</div>
<div class="hat-keybind">
<img src="https://sploop.io/img/entity/hat_4.png?v=1923912" width="75" height="75">
<button class="keybind-button-HotkeyInput" id="spike">null</button>
</div>
<div class="hat-keybind">
<img src="https://sploop.io/img/entity/hat_6.png?v=1923912" width="75" height="75">
<button class="keybind-button-HotkeyInput" id="boost">null</button>
</div>
<div class="hat-keybind">
<img src="https://sploop.io/img/entity/hat_8.png?v=1923912" width="75" height="75">
<button class="keybind-button-HotkeyInput" id="scuba">null</button>
</div>
<div class="hat-keybind">
<img src="https://sploop.io/img/entity/hat_9.png?v=1923912" width="75" height="75">
<button class="keybind-button-HotkeyInput" id="hood">null</button>
</div>
<div class="hat-keybind">
<img src="https://sploop.io/img/entity/hat_11.png?v=1923912" width="75"
height="75">
<button class="keybind-button-HotkeyInput" id="demolist">null</button>
</div>
`
document.body.appendChild(menuHaha);
menuHaha2.innerHTML = `
<style>
.item-keybind {
width: 250px;
height: 75px;
}
.keybind-button-HotkeyInput {
position: relative;
top: -30px;
left: 7%;
width: 120px;
height: 40px;
font-size: 17px;
font-weight: bolder;
background: #333333;
color: white;
border: 5px solid white;
border-radius: 10px;
transition: 0.4s;
}
.keybind-button-HotkeyInput:hover {
background: white;
color: black;
cursor: pointer;
border: 5px solid black;
}
.keybind-button-HotkeyInput:active {
transition: 0s;
background: green;
color: black;
cursor: pointer;
border: 5px solid black;
}
</style>
<div class="item-keybind">
<img src="https://sploop.io/img/items/hard_spike.png" width="75" height="75">
<button class="keybind-button-HotkeyInput" id="the-spike">null</button>
</div>
<div class="item-keybind">
<img src="https://sploop.io/img/entity/windmill_assembled.png" width="75"
height="75">
<button class="keybind-button-HotkeyInput" id="the-windwill">null</button>
</div>
<div class="item-keybind">
<img src="https://sploop.io/img/entity/cookie.png" width="75" height="75">
<button class="keybind-button-HotkeyInput" id="the-cookie">null</button>
</div>
<div class="item-keybind">
<img src="https://sploop.io/img/entity/trap.png" width="75" height="75">
<button class="keybind-button-HotkeyInput" id="the-trap">null</button>
</div>
<div class="item-keybind">
<img src="https://sploop.io/img/entity/platform.png" width="75" height="75">
<button class="keybind-button-HotkeyInput" id="the-platform">null</button>
</div>
`
document.body.appendChild(menuHaha2);
menuHaha3.innerHTML = `
<style>
@supports (-webkit-appearance: none) or (-moz-appearance: none) {
.checkbox-wrapper-13 input[type=checkbox] {
--active: #275EFE;
--active-inner: #fff;
--focus: 2px rgba(39, 94, 254, .3);
--border: #BBC1E1;
--border-hover: #275EFE;
--background: #fff;
--disabled: #F6F8FF;
--disabled-inner: #E1E6F9;
-webkit-appearance: none;
-moz-appearance: none;
height: 21px;
outline: none;
display: inline-block;
vertical-align: top;
position: relative;
margin: 0;
cursor: pointer;
border: 1px solid var(--bc, var(--border));
background: var(--b, var(--background));
transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
left: 20px;
}
.checkbox-wrapper-13 input[type=checkbox]:after {
content: "";
display: block;
left: 0;
top: 0;
position: absolute;
transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o,
0.2s);
}
.checkbox-wrapper-13 input[type=checkbox]:checked {
--b: var(--active);
--bc: var(--active);
--d-o: .3s;
--d-t: .6s;
--d-t-e: cubic-bezier(.2, .85, .32, 1.2);
}
.checkbox-wrapper-13 input[type=checkbox]:disabled {
--b: var(--disabled);
cursor: not-allowed;
opacity: 0.9;
}
.checkbox-wrapper-13 input[type=checkbox]:disabled:checked {
--b: var(--disabled-inner);
--bc: var(--border);
}
.checkbox-wrapper-13 input[type=checkbox]:disabled + label {
cursor: not-allowed;
}
.checkbox-wrapper-13 input[type=checkbox]:hover:not(:checked):not(:disabled) {
--bc: var(--border-hover);
}
.checkbox-wrapper-13 input[type=checkbox]:focus {
box-shadow: 0 0 0 var(--focus);
}
.checkbox-wrapper-13 input[type=checkbox]:not(.switch) {
width: 21px;
}
.checkbox-wrapper-13 input[type=checkbox]:not(.switch):after {
opacity: var(--o, 0);
}
.checkbox-wrapper-13 input[type=checkbox]:not(.switch):checked {
--o: 1;
}
.checkbox-wrapper-13 input[type=checkbox] + label {
display: inline-block;
vertical-align: middle;
cursor: pointer;
margin-left: 4px;
}
.checkbox-wrapper-13 input[type=checkbox]:not(.switch) {
border-radius: 7px;
}
.checkbox-wrapper-13 input[type=checkbox]:not(.switch):after {
width: 5px;
height: 9px;
border: 2px solid var(--active-inner);
border-top: 0;
border-left: 0;
left: 7px;
top: 4px;
transform: rotate(var(--r, 20deg));
}
.checkbox-wrapper-13 input[type=checkbox]:not(.switch):checked {
--r: 43deg;
}
}
.checkbox-wrapper-13 * {
box-sizing: inherit;
}
.checkbox-wrapper-13 *:before,
.checkbox-wrapper-13 *:after {
box-sizing: inherit;
}
label {
color: white;
position: relative;
left: 20px;
text-shadow: 0 0 50px #fff;
}
.input-box {
width: 40%;
background: black;
height: 30px;
text-align: center;
color: white;
position: relative;
border: none;
border-radius: 10%;
left: 30px;
display: flex;
text-shadow: 0 0 50px #fff;
}
.input-box-with-text {
display: flex;
height: 30px;
width: auto; /* Geniإںliؤںi otomatik olarak ayarla */
flex-direction: row; /* أ–ؤںeleri yan yana koy */
align-items: center; /* أ–ؤںeleri dikeyde ortala */
gap: 10px; /* أ–ؤںeler arasؤ±na boإںluk koy (isteؤںe baؤںlؤ±) */
}
</style>
<br>
<br>
<div class="checkbox-wrapper-13">
<input id="Autoheal" type="checkbox" checked>
<label for="c1-13">Auto heal</label>
</div><br>
<div class="checkbox-wrapper-13">
<input id="killChat" type="checkbox">
<label for="c1-13">Kill Chat</label>
</div><br>
<div class="checkbox-wrapper-13">
<input id="autobreak" type="checkbox">
<label for="c1-13">Auto Break Trap</label>
</div><br>
<div class="checkbox-wrapper-13">
<input id="nightmode" type="checkbox">
<label for="c1-13">Night Mode</label>
</div><br>
<div class="checkbox-wrapper-13">
<input id="AutoPlacer" type="checkbox">
<label for="c1-13">Auto Place</label>
</div><br>
<div class="checkbox-wrapper-13">
<input id="Msync" type="checkbox">
<label for="c1-13">Musket Sync</label>
</div><br>
<div class="checkbox-wrapper-13">
<input id="Ssync" type="checkbox">
<label for="c1-13">Naginata Sync</label>
</div><br>
<div class="checkbox-wrapper-13">
<input id="AutoReplacer" type="checkbox">
<label for="c1-13">Auto Replacer</label>
</div><br>
<div class="checkbox-wrapper-13">
<input id="BreakMyObj" type="checkbox">
<label for="c1-13">Auto Break My Obj</label>
</div><br>
<div class="checkbox-wrapper-13">
<input id="ASync" type="checkbox">
<label for="c1-13">Anti sync</label>
</div><br>
<div class="input-box-with-text">
<p class="input-text">CPS:</p>
<input id="setCPS" min="1" max="150" step="1" type="number" class="input-box"
placeholder="Set Cps">
</div><br>
`
document.body.appendChild(menuHaha3);
menuHaha4.innerHTML = `
<style>
@supports (-webkit-appearance: none) or (-moz-appearance: none) {
.checkbox-wrapper-13 input[type=checkbox] {
--active: #275EFE;
--active-inner: #fff;
--focus: 2px rgba(39, 94, 254, .3);
--border: #BBC1E1;
--border-hover: #275EFE;
--background: #fff;
--disabled: #F6F8FF;
--disabled-inner: #E1E6F9;
-webkit-appearance: none;
-moz-appearance: none;
height: 21px;
outline: none;
display: inline-block;
vertical-align: top;
position: relative;
margin: 0;
cursor: pointer;
border: 1px solid var(--bc, var(--border));
background: var(--b, var(--background));
transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
left: 20px;
}
.checkbox-wrapper-13 input[type=checkbox]:after {
content: "";
display: block;
left: 0;
top: 0;
position: absolute;
transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o,
0.2s);
}
.checkbox-wrapper-13 input[type=checkbox]:checked {
--b: var(--active);
--bc: var(--active);
--d-o: .3s;
--d-t: .6s;
--d-t-e: cubic-bezier(.2, .85, .32, 1.2);
}
.checkbox-wrapper-13 input[type=checkbox]:disabled {
--b: var(--disabled);
cursor: not-allowed;
opacity: 0.9;
}
.checkbox-wrapper-13 input[type=checkbox]:disabled:checked {
--b: var(--disabled-inner);
--bc: var(--border);
}
.checkbox-wrapper-13 input[type=checkbox]:disabled + label {
cursor: not-allowed;
}
.checkbox-wrapper-13 input[type=checkbox]:hover:not(:checked):not(:disabled) {
--bc: var(--border-hover);
}
.checkbox-wrapper-13 input[type=checkbox]:focus {
box-shadow: 0 0 0 var(--focus);
}
.checkbox-wrapper-13 input[type=checkbox]:not(.switch) {
width: 21px;
}
.checkbox-wrapper-13 input[type=checkbox]:not(.switch):after {
opacity: var(--o, 0);
}
.checkbox-wrapper-13 input[type=checkbox]:not(.switch):checked {
--o: 1;
}
.checkbox-wrapper-13 input[type=checkbox] + label {
display: inline-block;
vertical-align: middle;
cursor: pointer;
margin-left: 4px;
}
.checkbox-wrapper-13 input[type=checkbox]:not(.switch) {
border-radius: 7px;
}
.checkbox-wrapper-13 input[type=checkbox]:not(.switch):after {
width: 5px;
height: 9px;
border: 2px solid var(--active-inner);
border-top: 0;
border-left: 0;
left: 7px;
top: 4px;
transform: rotate(var(--r, 20deg));
}
.checkbox-wrapper-13 input[type=checkbox]:not(.switch):checked {
--r: 43deg;
}
}
.checkbox-wrapper-13 * {
box-sizing: inherit;
}
.checkbox-wrapper-13 *:before,
.checkbox-wrapper-13 *:after {
box-sizing: inherit;
}
label {
color: white;
position: relative;
left: 20px;
text-shadow: 0 0 50px #fff;
}
.input-box {
width: 40%;
background: black;
height: 30px;
text-align: center;
color: white;
position: relative;
border: none;
border-radius: 10%;
left: 30px;
display: flex;
text-shadow: 0 0 50px #fff;
}
.input-box-with-text {
display: flex;
height: 30px;
width: auto; /* Geniإںliؤںi otomatik olarak ayarla */
flex-direction: row; /* أ–ؤںeleri yan yana koy */
align-items: center; /* أ–ؤںeleri dikeyde ortala */
gap: 10px; /* أ–ؤںeler arasؤ±na boإںluk koy (isteؤںe baؤںlؤ±) */
}
</style>
<br>
<br>
<div class="checkbox-wrapper-13">
<input id="legitmode" type="checkbox">
<label for="c1-13">Legit Mode</label>
</div><br>
<div class="checkbox-wrapper-13">
<input id="autoclicker" type="checkbox">
<label for="c1-13">Auto Clicker (Test)</label>
</div><br>
<div class="checkbox-wrapper-13">
<input id="legitautoheal" type="checkbox">
<label for="c1-13">Legit Auto Heal</label>
</div><br>
<div class="checkbox-wrapper-13">
<input id="placeassist" type="checkbox">
<label for="c1-13">Place assist</label>
</div><br>
document.body.appendChild(menuHaha4);
// StatusMenu
.line {
width: 300px;
height: 10px;
background: white;
}
</style>
<br>
<p id="showCps">CPS: ${statusMode.cps}</p>
<p id="showPps">PPS: ${statusMode.pps}</p>
<p id="showPing">Ping: ${statusMode.ping}</p>
<br>
<div class="line"></div>
<br>
<p class="arraylist" style="color:red;">Auto Heal</p>
<p class="arraylist" style="color:red;">Kill Chat</p>
<p class="arraylist" style="color:red;">Auto Break Trap</p>
<p class="arraylist" style="color:red;">Night Mode</p>
<p class="arraylist" style="color:red;">Auto Place</p>
<p class="arraylist" style="color:red;">Musket Sync</p>
<p class="arraylist" style="color:red;">Naginata Sync</p>
<p class="arraylist" style="color:red;">Auto Replacer</p>
<p class="arraylist" style="color:red;">AutoBreakMyObject</p>
<p class="arraylist" style="color:red;">Anti sync</p>
<br>
`;
backgroundDiv.style.position = "fixed";
backgroundDiv.style.top = "0";
backgroundDiv.style.left = "0";
backgroundDiv.style.width = "100%";
backgroundDiv.style.height = "100%";
backgroundDiv.style.background = "#212121";
backgroundDiv.style.backgroundSize = "cover";
backgroundDiv.style.backgroundRepeat = "no-repeat";
backgroundDiv.style.backgroundPosition = "center";
backgroundDiv.style.display = "flex";
backgroundDiv.style.justifyContent = "center";
backgroundDiv.style.alignItems = "center";
backgroundDiv.style.color = "white";
backgroundDiv.style.color = "white";
backgroundDiv.style.fontSize = "35px";
backgroundDiv.style.zIndex = "99999999";
backgroundDiv.style.transition = "0.5s";
backgroundDiv.innerHTML = `
<style>
h1 {
font-size: 50px;
}
</style>
<h1 id="loading">Loading...</h1>
`;
document.body.appendChild(backgroundDiv);
setTimeout(() => {
backgroundDiv.style.opacity = "0";
setTimeout(() => {
backgroundDiv.style.display = "none";
}, 500);
}, 2500);
document.body.appendChild(statusMenu);
// Targethud
targethud.innerHTML = `
<style>
#name {
text-align: center;
font-size: 25px;
color: white;
font-weight: bolder;
}
.hud {
position: relative;
left: 10px;
width: 360px;
height: 30px;
}
p {
}
</style>
<p id="name">Undefined</p>
<br>
<progress id="health" class="hud" value="50" max="100"></progress>
<br>
<p id="distance">Distance: null</p>
<p id="aimangle">: null</p>
<p id="nowstatus">: null</p>
`;
document.body.appendChild(targethud);
let Storage = {
get: function(key) {
const item = localStorage.getItem(key);
return item !== null ? JSON.parse(item) : null;
},
set: function(key, value) {
localStorage.setItem(key, JSON.stringify(value));
},
delete: function(key) {
const has = localStorage.hasOwnProperty(key) && key in localStorage;
localStorage.removeItem(key);
return has;
}
}
const defaultKeyBinds = {
hatBerserker: "KeyB",
hatCrystal: "KeyC",
hatSpike: "KeyT",
hatBoost: "KeyM",
hatScuba: "KeyG",
hatHood: "KeyU",
cps: 62,
hatDemolist: "KeyZ",
spike: "KeyV",
trap: "KeyF",
windwill: "KeyN",
platform: "KeyH",
heal: "KeyQ",
spikeSpinSpeed: 1, // Thanks fizzixww for spinning spikes!
id: Atilla(256),
};
const keyBinds = {
...defaultKeyBinds,
...Storage.get("Lovey")
};
for (const key in keyBinds) {
if (!defaultKeyBinds.hasOwnProperty(key)) {
delete keyBinds[key];
}
}
Storage.set("Lovey", keyBinds)
document.getElementsByClassName("keybind-button-HotkeyInput")[0].textContent =
keyBinds.hatBerserker
document.getElementsByClassName("keybind-button-HotkeyInput")[1].textContent =
keyBinds.hatCrystal
document.getElementsByClassName("keybind-button-HotkeyInput")[2].textContent =
keyBinds.hatSpike
document.getElementsByClassName("keybind-button-HotkeyInput")[3].textContent =
keyBinds.hatBoost
document.getElementsByClassName("keybind-button-HotkeyInput")[4].textContent =
keyBinds.hatScuba
document.getElementsByClassName("keybind-button-HotkeyInput")[5].textContent =
keyBinds.hatHood
document.getElementsByClassName("keybind-button-HotkeyInput")[6].textContent =
keyBinds.hatDemolist
document.getElementsByClassName("keybind-button-HotkeyInput")[7].textContent =
keyBinds.spike
document.getElementsByClassName("keybind-button-HotkeyInput")[8].textContent =
keyBinds.windwill
document.getElementsByClassName("keybind-button-HotkeyInput")[9].textContent =
keyBinds.heal
document.getElementsByClassName("keybind-button-HotkeyInput")[10].textContent =
keyBinds.trap
document.getElementsByClassName("keybind-button-HotkeyInput")[11].textContent =
keyBinds.platform
document.getElementById("setCPS").value = keyBinds.cps
document.getElementById('bull').addEventListener('click', () => {
const handleKeydown = (event) => {
document.getElementById('bull').textContent = event.code;
keyBinds.hatBerserker = event.code;
Storage.set("Lovey", keyBinds)
document.removeEventListener('keydown', handleKeydown);
};
document.addEventListener('keydown', handleKeydown);
});
document.getElementById('crystal').addEventListener('click', () => {
const handleKeydown = (event) => {
document.getElementById('crystal').textContent = event.code;
keyBinds.hatCrystal = event.code;
Storage.set("Lovey", keyBinds)
document.removeEventListener('keydown', handleKeydown);
};
document.addEventListener('keydown', handleKeydown);
});
document.getElementById('spike').addEventListener('click', () => {
const handleKeydown = (event) => {
document.getElementById('spike').textContent = event.code;
keyBinds.hatSpike = event.code;
Storage.set("Lovey", keyBinds)
document.removeEventListener('keydown', handleKeydown);
};
document.addEventListener('keydown', handleKeydown);
});
document.getElementById('boost').addEventListener('click', () => {
const handleKeydown = (event) => {
document.getElementById('boost').textContent = event.code;
keyBinds.hatBoost = event.code;
Storage.set("Lovey", keyBinds)
document.removeEventListener('keydown', handleKeydown);
};
document.addEventListener('keydown', handleKeydown);
});
document.getElementById('scuba').addEventListener('click', () => {
const handleKeydown = (event) => {
document.getElementById('scuba').textContent = event.code;
keyBinds.hatScuba = event.code;
Storage.set("Lovey", keyBinds)
document.removeEventListener('keydown', handleKeydown);
};
document.addEventListener('keydown', handleKeydown);
});
document.getElementById('hood').addEventListener('click', () => {
const handleKeydown = (event) => {
document.getElementById('hood').textContent = event.code;
keyBinds.hatHood = event.code;
Storage.set("Lovey", keyBinds)
document.removeEventListener('keydown', handleKeydown);
};
document.addEventListener('keydown', handleKeydown);
});
document.getElementById('demolist').addEventListener('click', () => {
const handleKeydown = (event) => {
document.getElementById('demolist').textContent = event.code;
keyBinds.hatDemolist = event.code;
Storage.set("Lovey", keyBinds)
document.removeEventListener('keydown', handleKeydown);
};
document.addEventListener('keydown', handleKeydown);
});
document.getElementById('the-spike').addEventListener('click', () => {
const handleKeydown = (event) => {
document.getElementById('the-spike').textContent = event.code;
keyBinds.spike = event.code;
Storage.set("Lovey", keyBinds)
document.removeEventListener('keydown', handleKeydown);
};
document.addEventListener('keydown', handleKeydown);
});
document.getElementById('the-trap').addEventListener('click', () => {
const handleKeydown = (event) => {
document.getElementById('the-trap').textContent = event.code;
keyBinds.trap = event.code;
Storage.set("Lovey", keyBinds)
document.removeEventListener('keydown', handleKeydown);
};
document.addEventListener('keydown', handleKeydown);
});
document.getElementById('the-windwill').addEventListener('click', () => {
const handleKeydown = (event) => {
document.getElementById('the-windwill').textContent = event.code;
keyBinds.windwill = event.code;
Storage.set("Lovey", keyBinds)
document.removeEventListener('keydown', handleKeydown);
};
document.addEventListener('keydown', handleKeydown);
});
document.getElementById('the-cookie').addEventListener('click', () => {
const handleKeydown = (event) => {
document.getElementById('the-cookie').textContent = event.code;
keyBinds.windwill = event.code;
Storage.set("Lovey", keyBinds)
document.removeEventListener('keydown', handleKeydown);
};
document.addEventListener('keydown', handleKeydown);
});
document.getElementById('the-platform').addEventListener('click', () => {
const handleKeydown = (event) => {
document.getElementById('the-platform').textContent = event.code;
keyBinds.platform = event.code;
Storage.set("Lovey", keyBinds)
document.removeEventListener('keydown', handleKeydown);
};
document.addEventListener('keydown', handleKeydown);
});
document.getElementById("setCPS").addEventListener("input", e => {
keyBinds.cps = document.getElementById("setCPS").value;
Storage.set("Lovey", keyBinds)
});
// Appear Notification
let notifications = [];
function notif(mode, title, description, duration) {
let style = `
position: fixed;
top: ${20 + notifications.length * 60}px;
left: 10px;
padding: 10px 20px;
background-color: ${document.getElementById("nightmode").checked ?
"transparent" : "#f44336"};
color: ${document.getElementById("nightmode").checked ? "#94edf9" :
"white"};
border-radius: 5px;
border: 10px solid ${document.getElementById("nightmode").checked ?
"#94edf9" : "white"};
opacity: 1;
width: 20%;
transition: opacity 0.5s ease-in-out;
z-index: 99999999999999999;
`;
let notification = document.createElement('div');
notification.style = style;
notification.innerHTML = `<h3>${title}</h3><p style="color: $
{document.getElementById("nightmode").checked ? "#94edf9" : "white"};">$
{description}</p>`;
document.body.appendChild(notification);
var notificationsound;
if (mode == "info") { notificationsound = new
Audio('https://cdn.glitch.global/4c998580-5aaf-4a1a-8da3-e0c6b9f241a7/Audio_-
_notification3_-_Creator_Store%20(1).mp3') }
else if (mode == "warning") { notificationsound = new
Audio('https://cdn.glitch.global/ca081162-612b-4311-8a7d-7828f21c13e0/confirm.mp3?
v=1723982480020') }
else if (mode == "error") { notificationsound = new
Audio('https://cdn.glitch.global/ca081162-612b-4311-8a7d-7828f21c13e0/48643e6a-
f6d2-4462-acdc-2b2d2ccb14fa.beep-02.mp3?v=1724795422902') }
notificationsound.volume = 0.7;
notificationsound.play();
setTimeout(function() {
notification.style.opacity = '0';
setTimeout(function() {
notification.remove();
notifications.shift();
updateNotificationPositions();
}, 1000);
}, duration);
notifications.push(notification);
updateNotificationPositions();
}
function updateNotificationPositions() {
notifications.forEach(function(notification, index) {
notification.style.top = `${20 + index * 135}px`;
});
}
class GameUtils {
static getDistance(x1, y1, x2, y2) {
return Math.sqrt((x2 -= x1) * x2 + (y2 -= y1) * y2);
}
static getAngleDist(a, b) {
let p = Math.abs(b - a) % (Math.PI * 2);
return p > Math.PI ? (Math.PI * 2) - p : p;
}
const packets = {
request_received: 17,
entity_spawned: 32,
items_upgrade: 2,
ping_update: 15,
create_clan: 24,
update_clan: 16,
entity_chat: 30,
leave_clan: 27,
update_age: 8,
item_hit: 29,
upgrades: 14,
change_angle: 13,
spawned: 35,
killed: 28,
update: 20,
died: 19,
chat: 7
};
const hats = {
bush_gear: 1,
berserker: 2,
jungle_gear: 3,
crystal_gear: 4,
spike_gear: 5,
immunity_gear: 6,
boost_Hat: 7,
apple_gear: 8,
scuba_gear: 9,
hood_gear: 10,
demolist: 11
};
width = window.innerWidth;
height = window.innerHeight;
var websocket;
var reconnectInterval = 0;
WebSocket.prototype.oldSend = WebSocket.prototype.send;
WebSocket.prototype.send = function (sender) {
if (!websocket || websocket == "Closed") {
websocket = this;
findSocket(this);
reconnectSocket(this);
}
this.oldSend(sender);
};
function parseMessage(a) {
const b = typeof a;
const c = b === "string" ? JSON.parse(a) : new Uint8Array(a);
c.type = c[0];
return c;
}
function ReconnectDetector() {
if (checkInGame === "flex") {
ReconnectTimer++
if (ReconnectTimer >= 8) {
backgroundDiv.style.opacity = "1";
backgroundDiv.style.display = "flex";
document.getElementById("loading").textContent = "You Are
Disconnected"
const audio = new Audio("https://cdn.glitch.global/69986744-dfe8-
446a-9e62-fe5cbb294e2f/yt1s.com%20-%20Euro%20Truck%20Simulator%202%20Soundtrack
%20%20Truck%20Service%20for%202014%20patch.mp3?v=1723573156329");
audio.loop = true;
}
} else {
ReconnectTimer = 0;
}
}
function getEl(id) {
document.getElementById(id)
}
class Client {
constructor() {
this.canInsta = false;
this.canEquip = true;
this.doingInsta = false;
this.position = {};
this.dir = 0;
this.oldX = 0;
this.oldY = 0;
this.clan = [];
this.currentHat = null;
this.inTrap = false;
this.kills = 0;
this.dieCount = 0;
this.packets = 0;
this.alive = false;
this.old_weapon = 0;
this.new_weapon = 0;
this.breaking = false;
this.leftClick = false;
this.rightClick = false;
this.step = 0;
this.trapSid = undefined;
this.placing = true;
this.prevHealth = 100;
this.hitSync = true;
this.shotSync = true;
this.antitrap = false;
}
ally(a) {
let b = a.typeof === "number" ? a : a.sid;
if (mainPlayer.clan.length > 0) {
let a = mainPlayer.clan.length;
for (let c = 0; c < a; c++) {
let a = mainPlayer.clan[c];
if (b == a) {
return true;
}
}
}
return false;
}
mine(a) {
if (this.ally(a) || this.sid == a.sid) {
return !0;
}
return !1;
}
update() {
const d = objects.find(a => a && utils.getDist(a, this) < 60 && a.type
== 6 && !this.mine(a));
const f = this.breaking;
var neardist = enemies ? utils.getDist(enemies, this) : 0;
var nearangle = enemies ? utils.getDirect(enemies, this, 0, 0) : 0;
let inTrapSpike = objects.find(a => a && [2, 7, 17].includes(a.type) &&
!this.mine(a) && utils.getDist(a, this) < 100);
let antitrapangle = 0;
let myTrap, mySpikes;
let DmgTaken;
if(this.health < 100 && document.getElementById("Autoheal").checked)
{ // Auto heal
DmgTaken = 100 - this.health;
if (DmgTaken >= 20 || DmgTaken <= 40) setTimeout(() => {place(2,
getAttackDir())}, 110);
else if (DmgTaken >= 40 || DmgTaken <= 69) {
setTimeout(() => {
place(2, getAttackDir());
}, 77);
}
else if (DmgTaken >= 70 || DmgTaken <= 99) {
setTimeout(() => {
place(2, getAttackDir())
}, 100 - DmgTaken);
}
} else if (this.health < 40 &&
document.getElementById("legitmode").checked &&
document.getElementById("legitautoheal").checked) {
setTimeout(() => {place(2, getAttackDir())},
Math.round(Math.random() * (100 - 60)) + 60);
} else if (this.health == 100) {
this.healthWarn = false;
}
else if(this.health < 100 && !
document.getElementById("Autoheal").checked) {
if (!this.healthWarn) {
if (document.getElementById("legitmode").checked) return
notif("warning", "Warning", "Autoheal is off", 5000)
this.healthWarn = true;
}
}
// Legit mode
if (document.getElementById("legitmode").checked) {
["Autoheal", "killChat", "autobreak", "AutoPlacer", "Msync",
"Ssync", "AutoReplacer", "BreakMyObj", "ASync"].forEach(mahmodz =>
document.getElementById(mahmodz).checked = false)
document.getElementById("modmenu").style.display = "none";
} else if (!document.getElementById("legitmode").checked) {
["autoclicker", "legitautoheal", "placeassist"].forEach(mahmodz =>
document.getElementById(mahmodz).checked = false)
document.getElementById("modmenu").style.display = "block";
}
}
listener(data){
var neardist = enemies ? utils.getDist(enemies, this) : 0;
var nearangle = enemies ? utils.getDirect(enemies, this, 0, 0) : 0;
let rawData = data.data;
let parsedMessage = parseMessage(rawData);
if (parsedMessage.type === 35) {
const a = 100;
const b = true;
const d = parsedMessage[1];
const e = parsedMessage[2];
const f = parsedMessage[4];
const g = {
alive: b,
health: a,
id: d,
name: e,
items: f
};
log("Hello");
Object.assign(this, g);
}
if (parsedMessage.type === packets.update_clan || parsedMessage.type
=== packets.create_clan) {
this.clan = [...parsedMessage.slice(2, parsedMessage.length)];
}
if (parsedMessage.type === packets.leave_clan) {
this.clan = [];
}
if (parsedMessage.type === packets.died) {
this.alive = false;
this.dieCount++;
this.kills = 0;
this.age = 0;
}
if (parsedMessage.type == packets.update_age) {
const a = Math.max(0, parsedMessage[1] | parsedMessage[2] << 8 |
parsedMessage[3] << 16 | parsedMessage[4] << 24);
this.age = ~~(Math.log(1 + a) ** 2.4 / 13);
}
if (parsedMessage.type == packets.killed) {
updateTargetHud(enemies.name, enemies.health, neardist.toFixed(0),
nearangle.toFixed(3), this.health >= enemies.health ? "You winning" : "You Losing",
"0")
this.kills++
if (document.getElementById("killChat").checked) {
sendChat(this.kills + " Dumbasses down");
setTimeout(() => {
sendChat("I am super pro")
}, 900); // credits me mega noob wow!
}
if (b & 2) {
if(document.getElementById("AutoReplacer").checked) {
var enemyAngle = utils.getDirect(enemies, this, 0, 0);
var enemyDist = utils.getDist(enemies, this);
var nearInTrap = objects.find(a => a && this.mine(a) &&
utils.getDist(a, enemies) < 60 && a.type == 6);
var objectAngle = utils.getDirection(this.x, this.y, g,
h);
if (enemyDist < 300) place(7, objectAngle)
}
if(f == this.trapSid){
equipHat(hats.crystal_gear);
this.oldTrap = null;
this.inTrap = false;
this.breaking = false;
}
objects[f] = null;
} else {
const a = objects[f] || {};
const b = {
type: d,
sid: e,
id: f,
x: g,
y: h,
weapon: j,
hat: k,
health: m,
team: l,
dir: i
};
Object.assign(a, b);
objects[f] = a;
if (f === mainPlayer.id) {
Object.assign(mainPlayer, a);
}
const c = !mainPlayer.team || l != mainPlayer.team;
if (d === 0 && mainPlayer.id !== f && c) {
const b = enemies;
const c = Math.hypot(mainPlayer.y - h, mainPlayer.x -
g);
const d = enemies ? Math.hypot(mainPlayer.y - b.y,
mainPlayer.x - b.x) : null;
if (b) {
if (c < d) {
enemies = a;
}
} else {
enemies = a;
}
}
}
}
this.update();
}
if (parsedMessage.type === packets.ping_update) {
statusMode.ping = parsedMessage[1];
document.getElementById("showPing").innerHTML = "Ping: " +
statusMode.ping
}
}
}
setInterval(this.update, 1)
function fixTo(n, v) {
return parseFloat(n.toFixed(v));
}
function getAttackDir() {
let lastDir = Math.atan2(mouseY - (height / 2), mouseX - (width / 2));
return fixTo(lastDir || 0, 2);
}
function parseAngle(a) {
const b = (a + Math.PI) * 65535 / (Math.PI * 2);
return [b & 255, b >> 8 & 255];
}
function equipHat(id) {
send([5, id]);
send([5, id]);
if (id == hats.berserker) this.currentHat = "berserker"
else if (id == hats.crystal_gear) this.currentHat = "crystal"
else if (id == hats.spike_gear) this.currentHat = "spike"
else if (id == hats.boost_Hat) this.currentHat = "boost"
else if (id == hats.scuba_gear) this.currentHat = "scuba"
else if (id == hats.hood_gear) this.currentHat = "hood"
else if (id == hats.demolist) this.currentHat = "demolist"
}
function raw_select(a) {
if(mainPlayer.weapon != a) {
return send([2, a]);
}
}
function select(a) {
if(mainPlayer.weapon != a) {
raw_select(a);
send([0, a]);
}
}
function hit(a){
const b = parseAngle(a);
send([19, b[0], b[1]]);
send([18]);
}
// Macros
const boostPlacer = repeater(keyBinds.trap, () => {
place(7, getAttackDir())
}, 1000 / keyBinds.cps);
const spikePlacer = repeater(keyBinds.spike, () => {place(4, getAttackDir())},
1000 / keyBinds.cps);
const millPlacer = repeater(keyBinds.windwill, () => {place(5,
getAttackDir())}, 1000 / keyBinds.cps);
const healer = repeater(keyBinds.heal, () => {place(2, getAttackDir())}, 80);
const platformPlacer = repeater(keyBinds.platform, () => {place(8,
getAttackDir())}, 80);
spikePlacer.start(e.code);
boostPlacer.start(e.code);
millPlacer.start(e.code);
healer.start(e.code);
platformPlacer.start(e.code);
if (e.code == 192) { // ` key
try {
//var text = "test";
//var encodeText = new TextEncoder().encode(text);
//let message = [7, ...encodeText];
//send(message);
} catch (E) {
console.error("Error", E);
}
}
const keyMap = {
49: 0,
50: 1
};
if (keyMap.hasOwnProperty(e.keyCode)) {
mainWeapon = keyMap[e.keyCode];
}
});
document.addEventListener("keyup", e => {
if (document.getElementById("chat-wrapper").style.display == "block")
return;
spikePlacer.stop(e.code);
boostPlacer.stop(e.code);
millPlacer.stop(e.code);
healer.stop(e.code);
platformPlacer.stop(e.code);
});
// Autoclicker
/* document.addEventListener("mousedown", e => {
if(e.button == 2) {
click(getAttackDir(), true)
}
});
document.addEventListener("mouseup", e => {
if(e.button == 2) {
click(getAttackDir(), false)
}
});
*/
document.addEventListener("keydown", e => { // Hat macros
if (document.getElementById("chat-wrapper").style.display == "block")
return;
/*
const { fillText } = CanvasRenderingContext2D.prototype; // Render Game Shadows
CanvasRenderingContext2D.prototype.fillText = function (name, text, x, y) {
const canvas = document.getElementById("game-canvas");
const ctx = canvas.getContext("2d");
ctx.shadowBlur = 15;
ctx.shadowOffsetY = 2;
ctx.shadowColor = "#181818";
fillText.call(this, ...arguments);
};
*/
document.body.appendChild(night);
document.body.appendChild(moon);
body {
background: #111;
min-height: 100vh;
overflow: hidden;
}
.star {
position: absolute;
z-index: 3;
top: -20px;
color: #75b1d4;
animation: animate 5s linear forwards;
opacity: 0;
}
.star::before {
content: "\\f005";
font-family: FontAwesome;
text-shadow: 0 0 20px #3a9bd2, 0 0 80px #3a9bd2, 0 0 100px #3a9bd2;
}
@keyframes animate {
0% {
transform: translateY(0) rotate(0deg);
opacity: 1;
}
80% {
opacity: 1;
}
100% {
transform: translateY(100vh) rotate(360deg);
opacity: 0;
}
}
function stars() {
let e = document.createElement("div");
e.setAttribute("class", "star");
document.body.appendChild(e);
e.style.left = Math.random() * innerWidth + "px";
// Array list
const featureList = [
"Autoheal", "killChat", "autobreak", "nightmode", "AutoPlacer",
"Msync", "Ssync", "AutoReplacer", "BreakMyObj", "ASync"
];
document.getElementsByClassName("line")[0].style.background =
document.getElementById("nightmode").checked ? "#94edf9" : "white"
document.getElementById("modmenu").style.borderColor =
document.getElementById("nightmode").checked ? "#94edf9" : "white"
document.getElementById("showPing").style.color =
document.getElementById("nightmode").checked ? "#94edf9" : "white";
document.getElementById("showPps").style.color =
document.getElementById("nightmode").checked ? "#94edf9" : "white";
document.getElementById("showCps").style.color =
document.getElementById("nightmode").checked ? "#94edf9" : "white";
if (document.getElementById("nightmode").checked) {
stars();
}
}, 200);
setTimeout(() => {
notif("info", "Hello", "Welcome to Lovey Mod", 2000)
}, 5000);
document.querySelector("#game-middle-main").style = `
background-color: rgba(33, 33, 33, 0.1);
box-shadow: none;
width: 39.1%;
position: absolute;
border: 5px solid #212121;
border-radius: 10px;
left: 50%;
transform: translate(-50%, 0);
font-size: 20px;
`;
document.querySelector("#game-content").style.backgroundColor = "transparent";
let hahacss = document.createElement("style");
hahacss.innerHTML = `
#nav {
opacity: 0;
transition: 0.3s;
}
#nav:hover {
opacity: 1;
}
#play {
background: transparent;
border: none;
box-shadow: none;
backdrop-filter: blur(10px);
transition: 0.3s;
}
#play:hover {
border: none;
box-shadow: none;
background-color: #212121;
}
#play-text {
text-align: center;
text-shadow: none;
color: white;
left: 50%;
transform: translate(-50%, 0);
font-weight: bolder;
}
.dark-blue-button {
background: transparent;
border: none;
box-shadow: none;
backdrop-filter: blur(10px);
transition: 0.3s;
text-shadow: none;
font-size: 20px;
transition: 0.3s;
border-radius: 10px;
}
.dark-blue-button:hover {
background: #212121;
box-shadow: none;
}
.dark-blue-button-3-active {
border: 5px solid lime;
border-radius: 10px;
}
#server-select {
backdrop-filter: blur(10px);
background: transparent;
box-shadow: none;
border: none;
text-shadow: none;
font-size: 18px;
transition: 0.3s;
}
#server-select:hover {
background: #212121;
box-shadow: none;
text-shadow: none;
}
#nickname {
background: transparent;
text-shadow: none;
border: none;
box-shadow: none;
transition: 0.3s;
backdrop-filter: blur(10px);
}
#nickname:hover {
background: #212121;
text-shadow: none;
border: none;
box-shadow: none;
}
#chat {
margin: 0;
font-weight: bolder;
box-sizing: border-box;
user-select: none;
outline: none;
border-radius: 7px;
border: 3.5px solid white;
padding: 10px;
font-size: 20px;
width: 250px;
height: 50px;
color: white;
backdrop-filter: blur(10px);
background-color: transparent;
box-shadow: none;
transition: 0.6s;
animation: bounce 700ms 1 ease;
opacity: 0.9.5;
}
#chat:hover {
opacity: 1;
transform: scale(1.2);
background: #212121;
}
#hat-menu {
margin: 0;
font-weight: bolder;
box-sizing: border-box;
user-select: none;
cursor: url(img/ui/cursor-default.png) 2 0, default;
pointer-events: none;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
position: absolute;
border-radius: 15px;
border: 5px solid white;
justify-content: space-between;
flex-direction: column;
align-items: center;
align-content: center;
margin-bottom: 10px;
padding: 25px;
box-shadow: none;
transition: opacity 300ms;
height: 400px;
width: 500px;
display: none;
opacity: 1;
background: transparent;
backdrop-filter: blur(10px);
transition: 0.3s;
}
#hat_menu_content {
font-family: "Montserrat", sans-serif;
font-weight: 900;
box-sizing: border-box;
user-select: none;
cursor: url(img/ui/cursor-default.png) 2 0, default;
pointer-events: all;
background: transparent;
border-radius: 10px;
margin: 20px 0 30px 0;
border: 5px solid white;
box-shadow: none;
margin-top: 20px;
width: 100%;
flex-direction: column;
transition: 0.3s;
padding: 8px 0 0 0;
}
#hat_menu_content:hover {
.hat_action_button {
pointer-events: all;
margin: 0;
font-weight: bolder;
font-weight: 900;
box-sizing: border-box;
user-select: none;
text-shadow: none;
background-color: transparent;
box-shadow: none;
margin-left: auto;
outline: none;
border: 4px solid white;
padding: 7px;
font-size: 18px;
cursor: url(img/ui/cursor-pointer.png) 6 0, pointer;
margin-top: auto;
margin-bottom: auto;
color: #fff;
border-radius: 10px;
backgdrop-filter: blur(10px);
transition: 0.3s;
}
.hat_action_button:hover {
background-color: lime;
transform: scale(1.2);
box-shadow: none;
}
#clan-menu {
margin: 0;
font-weight: bolder;
box-sizing: border-box;
user-select: none;
cursor: url(img/ui/cursor-default.png) 2 0, default;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 450px;
height: 360px;
position: absolute;
border-radius: 15px;
border: 5px solid white;
justify-content: space-between;
flex-direction: column;
align-items: center;
align-content: center;
margin-bottom: 10px;
padding: 25px;
box-shadow: none;
transition: 0,3s;
display: block;
opacity: 1;
background: transparent;
backdrop-filter: blur(10px);
}
#clan-menu:hover {
background: #212121;
box-shadow: none;
}
.clan_action_button {
margin: 0;
font-weight: bolder;
box-sizing: border-box;
user-select: none;
background-color: transparent;
box-shadow: none;
margin-left: auto;
outline: none;
border: 4px solid white;
border-color: white;
padding: 7px;
font-size: 18px;
cursor: url(img/ui/cursor-pointer.png) 6 0, pointer;
margin-top: auto;
margin-bottom: auto;
color: #fff;
border-radius: 10px;
transition: 0.3s;
}
.clan_action_button:hover {
box-shadow: none;
transform: scale(1.2);
background-color: lime;
border: 4px solid white;
border-color: white;
}
#create-clan-button {
margin: 0;
font-weight: bolder;
box-sizing: border-box;
user-select: none;
background-color: transparent;
box-shadow: none;
outline: none;
border-radius: 10px;
border: 4px solid white;
color: white;
padding: 16px 30px;
cursor: url(img/ui/cursor-pointer.png) 6 0, pointer;
transition: 0.3s;
}
#create-clan-button:hover {
background-color: lime;
box-shadow: none;
transform: scale(1.2);
border: 4px solid white;
}
#clan-menu-clan-name-input {
margin: 0;
padding: 0;
font-family: "Montserrat", sans-serif;
font-weight: bolder;
box-sizing: border-box;
user-select: none;
cursor: url(img/ui/cursor-default.png) 2 0, default;
outline: none;
background-color: transparent;
box-shadow: none;
border: 4px solid white;
font-size: 17px;
padding-top: 15px;
padding-bottom: 15px;
min-width: 58%;
padding-left: 5px;
border-radius: 10px;
color: white;
transition: 0.3s;
}
#clan-menu-clan-name-input:hover {
background-color: #212121;
box-shadow: none;
text-shadow: none;
transform: scale(1.2);
}
#pop-settings {
margin: 0;
font-family: "Montserrat", sans-serif;
font-weight: 900;
box-sizing: border-box;
user-select: none;
cursor: url(img/ui/cursor-default.png) 2 0, default;
position: absolute;
background: transparent;
backdrop-filter: blur(10px);
border-radius: 15px;
border: 5px solid white;
justify-content: space-between;
flex-direction: column;
align-items: center;
align-content: center;
margin-bottom: 10px;
padding: 25px;
box-shadow: none;
transition: 0.3s;
opacity: 1;
animation: bounce 400ms 1 ease;
width: 580px;
height: 330px;
overflow-y: scroll;
display: flex;
}
#pop-login {
margin: 0;
font-family: "Montserrat", sans-serif;
font-weight: 900;
box-sizing: border-box;
user-select: none;
cursor: url(img/ui/cursor-default.png) 2 0, default;
position: absolute;
background: transparent;
backdrop-filter: blur(10px);
border-radius: 15px;
border: 5px solid white;
justify-content: space-between;
flex-direction: column;
align-items: center;
align-content: center;
margin-bottom: 10px;
padding: 25px;
box-shadow: none;
transition: opacity 300ms;
opacity: 1;
animation: bounce 400ms 1 ease;
width: 460px;
display: flex;
}
`
setTimeout(() => {
document.head.appendChild(hahacss);
}, 1000);
// REMOVE USELESS THINGS & CHANGE SOME TEXT
setTimeout(() => {
// REMOVE OR DO NONE ON DISPLAY
document.querySelector("#da-left").remove();
document.querySelector("#logo").remove();
document.querySelector("#lostworld-io_300x250_2").remove();
document.querySelector("#da-right").remove();
document.querySelector("#lostworld-io_970x250").remove();
document.querySelector("#game-bottom-content").remove();
document.querySelector("#alsoTryImg").remove();
document.querySelector("#cross-promo >
a.biscuit_hover.biscuit_position").remove();
document.querySelector("#policy").remove();
document.querySelector("#left-content").remove();
document.querySelector("#discord > img").remove();
document.querySelector("#main-content").style.backgroundColor =
"transparent";
document.querySelector("#game-right-content-main").style.opacity = 0;
document.querySelector("#game-left-content-main").style.opacity = 0;
document.querySelector("#play > div.background-moving.background-img-
play").remove();
document.querySelector("#hat-menu > div.pop-top.select").remove();
document.querySelector("#hat_menu_content > div:nth-
child(8)").style.display = "none";
document.querySelector("#hat_menu_content > div:nth-
child(1)").style.display = "none";
setTimeout(() => {
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11].forEach(element =>
document.getElementsByClassName("pricing hat_price_tag")[element].remove())
}, 6000);
});