// ==UserScript== // @name venge mod menu // @namespace http://tampermonkey.net/ // @version 0.4 // @description CheatWare a mod menu for many games but at the moment only venge.io also works with school laptops/computers // @author Zaidbaidadekalb // @match https://venge.io/ // @icon https://www.google.com/s2/favicons?domain=venge.io // @grant none // @license GNU General Public License v3.0 // @run-at document-end // @downloadURL none // ==/UserScript== alert("Thank you for using CheatWare Make sure the script is up to date or there will be a hight risk of ban"); var vengelink = "https://venge.io/" var customFov = 103; var key = "Zaid" var link2 = "https://www.codegrepper.com/code-examples/javascript/how+to+position+a+button+in+javascript" if (confirm("do you want to get key if not click cancel ")) { txt = alert("OK"); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write('

Just go to the pastebin then get key then Refreash page then put key .

'); document.write(''); document.write(''); document.write(''); document.write('
'); document.write(''); document.write('
'); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); } else { txt = alert } if (confirm("Make sure you have the correct key if not click cancel here is the key: " + key)) { txt = alert } else { txt = alert("You clicked cancel"); div.remove() } var version = "the version is 0.4" let div = document.createElement("div"); let btn = document.createElement("button"); let btn2 = document.createElement("button"); let vengeb = document.createElement("button"); let text = document.createElement("textContent"); let github = document.createElement("button"); btn.innerHTML = "version"; btn2.innerHTML = "Start"; vengeb.innerHTML = "Venge.io!"; btn.style= "display: block"; btn2.style= "display: block"; github.style = "display: block"; vengeb.style= "display: block"; vengeb.style.opacity = "0"; div.id = "div_id" ; div.className = "div_class"; div.style= "display: inline-block"; div.style = "background-color:#2c2c2c;"; div.style.width = "300px"; div.style.height = "300px"; document.body.appendChild(div); div.style.zIndex = "10000000"; div.style.position = "fixed"; div.style.top = "440px"; //or whatever div.style.left = "1500px"; // or whatever div.style.borderRadius = "5px"; btn.style.borderRadius = "5px"; btn.style.position = "absolute"; btn2.style.position = "absolute"; btn.style.marginLeft = "5px"; btn2.style.marginLeft = "244px"; btn2.style.marginTop = "253px"; btn2.style.borderRadius = "5px"; btn.style.marginTop = "5px"; github.style.borderRadius = "5px"; github.style.position = "absolute"; btn.style.marginLeft = "5px"; github.style.marginTop = "-220px"; vengeb.style.marginTop = '227px' vengeb.style.marginLeft = "230px"; vengeb.style.borderRadius = "5px"; div.innerHTML = "Settings/Things"; github.innerHTML = "GitHub Page"; btn.style.backgroundColor = "#282828FF"; github.style.backgroundColor = "#282828FF"; btn2.style.backgroundColor = "#282828FF"; vengeb.style.backgroundColor = "#282828FF"; btn.style.border = "2 #FFFFFFB7"; btn2.style.border = "2 #FFFFFFB7"; github.style.border = "2 #FFFFFFB7"; vengeb.style.border = "2 #FFFFFFB7"; btn.style.padding = "3px 7px 3px 7px"; btn2.style.padding = "3px 7px 3px 7px"; github.style.padding = "3px 7px 3px 7px"; vengeb.style.padding = "3px 7px 3px 7px"; btn.onclick = function () { alert(version); }; // key \\ if (key === "Zaid") { alert("You have the correct key"); } vengeb.onclick = function () { alert("Enjoy CheatWare") javascript:(function(){window.s0=document.createElement('script');window.s0.setAttribute('type','text/javascript');window.s0.setAttribute('src','https://bookmarkify.it/bookmarklets/52126/raw');document.getElementsByTagName('body')[0].appendChild(window.s0);})(); if (window.location.href === vengelink){ alert } else { alert("Wrong game or webise make sure ur at venge lobby or else it will not work"); } } btn2.onclick = function () { vengeb.style.opacity = "1"; } if (key != "Zaid") { div.remove() alert("wrong key or it might be that you just dident type anyhting in the keybox"); } github.onclick = function () { window.open("https://github.com/Zaidbaidadekalb/Game-cheats-WIP-"); } //End of Key \\ div_id.appendChild(btn); div_id.appendChild(btn2); div_id.appendChild(vengeb); div_id.appendChild(text); div_id.appendChild(github); text.style.position = 'absolute'; text.textContent = "Main" text.style.top = "210px"; text.style.left = "250px"; // The current position of mouse let x = 0; let y = 0; // Query the element const ele = document.getElementById('div_id'); // Handle the mousedown event // that's triggered when user drags the element const mouseDownHandler = function (e) { // Get the current mouse position x = e.clientX; y = e.clientY; // Attach the listeners to `document` document.addEventListener('mousemove', mouseMoveHandler); document.addEventListener('mouseup', mouseUpHandler); }; const mouseMoveHandler = function (e) { // How far the mouse has been moved const dx = e.clientX - x; const dy = e.clientY - y; // Set the position of element ele.style.top = `${ele.offsetTop + dy}px`; ele.style.left = `${ele.offsetLeft + dx}px`; // Reassign the position of mouse x = e.clientX; y = e.clientY; }; const mouseUpHandler = function () { // Remove the handlers of `mousemove` and `mouseup` document.removeEventListener('mousemove', mouseMoveHandler); document.removeEventListener('mouseup', mouseUpHandler); }; ele.addEventListener('mousedown', mouseDownHandler);