// ==UserScript== // @name & Majesty // @namespace http://tampermonkey.net/ // @version 2.0 // @description !majesty // @icon https://cdn.discordapp.com/emojis/853002908924510240.gif?v=1 // @author . // @match http://zombs.io/ // @match http://tc-mod-xyz.glitch.me/ // @grant Ryan Wolf // @downloadURL https://update.greasyfork.icu/scripts/434725/%20Majesty.user.js // @updateURL https://update.greasyfork.icu/scripts/434725/%20Majesty.meta.js // ==/UserScript== document.querySelector(".hud-chat-messages").style.width ="900px"; let CAMenucss = ` .hud-CAMenu-grid3::-webkit-scrollbar-track { box-shadow: inset 0 0 5px white; border-radius: 10px; border: white solid 1px; background-color: rgba(0,0,0,0.8); } .hud-CAMenu-grid3::-webkit-scrollbar { background-color: black; border-radius: 10px; width: 10px; } .hud-CAMenu-grid3::-webkit-scrollbar-thumb { background: rgba(217, 217, 217, 1); border-radius: 10px; width: 3px;} .hud-CAMenu-grid3::-webkit-scrollbar-thumb:hover { background: rgba(177, 177, 177, 1); border-radius: 10px; } .hud-menu-CAMenu { /*scroll bar*/ /**/ display: none; position: fixed; top: 45%; left: 35%; width: 1000px; height: 670px; margin: -270px 0 0 -300px; padding: 20px; background: rgba(0, 0, 0, 0.6); color: #eee; border-radius: 4px; z-index: 15; } .hud-menu-CAMenu .hud-CAMenu-grid3 { display: block; height: 360px; padding: 10px; margin-top: 18px; background: rgba(0, 0, 0, 0.3); overflow: auto; } .hud-spell-icons .hud-spell-icon[data-type="CAMenu"]::before { background-image: url("https://cdn.discordapp.com/emojis/853004676889968720.png?v=1"); } .hud-spell-icon[data-type="CAMenu"]:hover{ } /* BTN */ .CAbtn:hover { cursor: pointer; } .CAbtn1 { background-color: rgba(0, 0, 0, 0); border: 2px solid white; color: white; height:40px; margin: 5px; border-radius: 10px; padding: 7px; width: 243px; } .CAbtn1:hover{ opacity: 0.6; cursor: pointor; } .CAbtn1-activated { background-color: rgba(255, 255, 255, 0.5); border: 2px solid white; color: white; height:40px; margin: 5px; border-radius: 10px; padding: 7px; width: 243px; } .CAbtn1-activated:hover{ opacity: 0.6; cursor: pointor } .CAbtnR { background-color: #FF5964; border: 2px solid white; color: white; height:40px; margin: 5px; border-radius: 10px; padding: 7px; width: 243px; } .CAbtnR:hover{ opacity: 0.6; cursor: pointor; } .CAbtnY { background-color: #FFE74C; border: 2px solid white; color: white; height:40px; margin: 5px; border-radius: 10px; padding: 7px; width: 243px; } .CAbtnY:hover{ opacity: 0.6; cursor: pointor; } .CAbtnG { background-color: #6BF178; border: 2px solid white; color: white; height:40px; margin: 5px; border-radius: 10px; padding: 7px; width: 243px; } .CAbtnG:hover{ opacity: 0.6; cursor: pointor; } .CAbtnB { background-color: #35A7FF; border: 2px solid white; color: white; height:40px; margin: 5px; border-radius: 10px; padding: 7px; width: 243px; } .CAbtnB:hover{ opacity: 0.6; cursor: pointor; } .hud-CAMenuClose-icon{ position: relative; transform: scale(2); bottom: 460px; float: right; z-index:100; opacity: 0.2; } .hud-CAMenuClose-icon:hover{ opacity: 0.5; cursor: pointer; } .hud-CAMenuTitle{ position: relative; bottom: 480px; font-size: 30px; color: white; text-align: center; left:10px; font-weight: bold; font-family: "Hammersmith One", sans-serif; } /*emm*/ .box { display: block; width: 100%; height: 50px; line-height: 34px; padding: 8px 14px; margin: 0 0 10px; background: #eee; border: 0; font-size: 14px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); border-radius: 4px; } .codeIn, .joinOut { height: 50px; } .hud-menu-zipp3 h3 { display: block; margin: 0; line-height: 20px; } .hud-menu-zipp3 .hud-the-tab { position: relative; height: 40px; line-height: 40px; margin: 20px; border: 0px solid rgb(0, 0, 0, 0); } .hud-menu-zipp3 .hud-the-tab { display: block; float: left; padding: 0 14px; margin: 0 1px 0 0; font-size: 14px; background: rgba(0, 0, 0, 0.4); color: rgba(255, 255, 255, 0.4); transition: all 0.15s ease-in-out; } .hud-menu-zipp3 .hud-the-tab:hover { background: rgba(0, 0, 0, 0.2); color: #eee; cursor: pointer; } `; let styles = document.createElement("style"); styles.appendChild(document.createTextNode(CAMenucss)); document.head.appendChild(styles); styles.type = "text/css"; // Büyüler let spell = document.createElement("div"); spell.classList.add("hud-spell-icon"); spell.setAttribute("data-type", "CAMenu"); spell.classList.add("hud-CAMenu-icon"); document.getElementsByClassName("hud-spell-icons")[0].appendChild(spell); // Hareket document.getElementsByClassName("hud-CAMenu-icon")[0].addEventListener("mouseover", onMenuicon); document.getElementsByClassName("hud-CAMenu-icon")[0].addEventListener("mouseout", offMenuicon); function onMenuicon() { var caMenuTooltip = document.createElement('div'); caMenuTooltip.classList.add("hud-tooltip"); caMenuTooltip.classList.add("hud-tooltip-right"); caMenuTooltip.classList.add("CaTooltip"); caMenuTooltip.style = "left: 76px; top: 325px; font-size:15px;font-weight:bold; font-family:Hammersmith One;"; caMenuTooltip.innerHTML = "Majesty"; document.body.appendChild(caMenuTooltip); } function offMenuicon() { document.getElementsByClassName("CaTooltip")[0].remove(); } // Menü Alt Yapı let modHTML = `
✕