// ==UserScript==
// @name Zombs.io SETTINGS HACK(english)9
// @namespace -
// @version 8.9
// @description The perfect hack for zombs.io ! https://discord.gg/up9kk6ZK please join:) is you want to to update this script more
// @license Hyper.
// @author My discord: Hyper.#0961
// @match http://zombs.io/
// @grant none
// @downloadURL https://update.greasyfork.icu/scripts/438951/Zombsio%20SETTINGS%20HACK%28english%299.user.js
// @updateURL https://update.greasyfork.icu/scripts/438951/Zombsio%20SETTINGS%20HACK%28english%299.meta.js
// ==/UserScript==
window.addEventListener("onkeydown", keyDown, true);
window.addEventListener("keydown", keyDown);
function keyDown(e) {
switch (e.keyCode) {
case 188:
speedrun();
speedrun2();
break;
case 189:
spampartys();
spampartys2();
break;
case 187:
partyTags();
break;
}
}
// REMOVE ADS
document.querySelectorAll('.ad-unit').forEach(function(a) {
a.remove();
});
// NEW DIV IN PARTY TAB
function partydiv() {
var newNode = document.createElement('div');
newNode.className = 'tagzspam';
newNode.style = 'text-align:center';
document.getElementsByClassName('hud-party-actions')[0].appendChild(newNode);
}
partydiv();
// DIV STYLE
var Style1 = document.querySelectorAll('.hud-map, .hud-resources, .hud-menu-shop, .hud-menu-party, .hud-menu-settings, .hud-shop-grid .hud-shop-item, .hud-party-link, .hud-party-members, .hud-party-grid, .hud-settings-grid, .hud-toolbar-item, .hud-toolbar-building, .hud-menu-icon, .hud-spell-icon, .hud-intro-form, .hud-intro-guide, .hud-intro-name, .hud-intro-server, .hud-party-tag, .hud-party-share, .hud-chat-input');
for (var i = 0; i < Style1.length; i++) {
Style1[i].style.borderRadius = '1em'; // standard
Style1[i].style.MozBorderRadius = '1em'; // Mozilla
Style1[i].style.WebkitBorderRadius = '1em'; // WebKitww
Style1[i].style.color = "#D35400";
Style1[i].style.border = "2px solid #000000";
}
// INPUT AND SELECT STYLE
var Style2 = document.querySelectorAll('select, input');
for (var i = 0; i < Style2.length; i++) {
Style2[i].style.borderRadius = '1em'; // standard
Style2[i].style.MozBorderRadius = '1em'; // Mozilla
Style2[i].style.WebkitBorderRadius = '1em'; // WebKitww
Style2[i].style.color = "#D35400";
Style2[i].style.border = "2px solid #000000";
Style2[i].style.backgroundColor = "#000000";
}
setInterval(function () {
if (document.querySelectorAll(".hud-chat .hud-chat-input:focus")[0]) {
window.removeEventListener("keydown", keyDownF);
} else {
window.addEventListener("keydown", keyDownF);
}
}, 0);
// NEW DIV IN PARTYS INNERHTML
var div1 = document.getElementsByClassName("tagzspam")[0];
div1.innerHTML += "
Party Spam
";
div1.innerHTML += "Speed: ";
div1.innerHTML += " ";
div1.innerHTML += "";
div1.innerHTML += " ";
div1.innerHTML += "";
div1.innerHTML += "
";
div1.innerHTML += "
";
const settingsHTML = `
• FT Advanced Settings 🔧
• Other settings 🌹
• AutoBase 🔨
• Leave Party 🚪
• Heal Base 💀
• Auto Delete Base 💀
• Press the settings button for the hack shortcuts!
`;
// STYLE CODES
function stylecodes() {
var ael = document.querySelectorAll('input');
for (var i2 = 0; i2 < ael.length; i2++) {
ael[i2].addEventListener("keydown", keyDown, false);
}
document.getElementById('hud-menu-party').style.width = "610px";
document.getElementById('hud-menu-party').style.height = "550px";
document.getElementsByClassName('hud-intro-form')[0].style.width = "325px";
document.getElementsByClassName('hud-party-tag')[0].setAttribute('maxlength', 49);
document.getElementsByClassName('hud-intro-name')[0].setAttribute('maxlength', 29);
document.getElementsByClassName("hud-intro-corner-bottom-right")[0].remove();
document.getElementsByClassName("hud-intro-corner-bottom-left")[0].remove();
document.getElementsByClassName("hud-day-night-overlay")[0].remove();
document.getElementsByClassName("hud-party-joining")[0].remove();
document.getElementsByClassName("hud-respawn-share")[0].remove();
document.getElementsByClassName("hud-intro-footer")[0].remove();
}
stylecodes();
// INTRO STYLE CODES INNERHTML
var IntroGuide = '';
IntroGuide += "🔱 'Karma names'
";
IntroGuide += "";
IntroGuide += " ";
IntroGuide += "";
IntroGuide += "
";
IntroGuide += "";
IntroGuide += " ";
IntroGuide += "";
IntroGuide += "
";
IntroGuide += "";
IntroGuide += " ";
IntroGuide += "";
IntroGuide += "
";
IntroGuide += "🔱 'selam verici'
";
IntroGuide += "