venge mod menu

CheatWare a mod menu for many games but at the moment only venge.io also works with school laptops/computers

目前为 2022-08-25 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name venge mod menu
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.3
  5. // @description CheatWare a mod menu for many games but at the moment only venge.io also works with school laptops/computers
  6. // @author Zaidbaidadekalb
  7. // @match https://venge.io/
  8. // @icon https://www.google.com/s2/favicons?domain=venge.io
  9. // @grant none
  10. // @license GNU General Public License v3.0
  11. // ==/UserScript==
  12.  
  13. alert("Thank you for using CheatWare Make sure the script is up to date or there will be a hight risk of ban");
  14.  
  15.  
  16. var vengelink = "https://venge.io/"
  17. var customFov = 103;
  18.  
  19. var key = "Zaid"
  20. var link2 = "https://www.codegrepper.com/code-examples/javascript/how+to+position+a+button+in+javascript"
  21.  
  22. if (confirm("do you want to get key if not click cancel ")) {
  23. txt = alert("OK");
  24. document.write('<!DOCTYPE html>');
  25. document.write('<html>');
  26. document.write('<head>');
  27. document.write('<meta name="viewport" content="width=device-width, initial-scale=1">');
  28. document.write('<style>');
  29. document.write('.tooltip {');
  30. document.write(' position: relative;');
  31. document.write(' display: inline-block;');
  32. document.write('}');
  33. document.write('');
  34. document.write('.tooltip .tooltiptext {');
  35. document.write(' visibility: hidden;');
  36. document.write(' width: 140px;');
  37. document.write(' background-color: #555;');
  38. document.write(' color: #fff;');
  39. document.write(' text-align: center;');
  40. document.write(' border-radius: 6px;');
  41. document.write(' padding: 5px;');
  42. document.write(' position: absolute;');
  43. document.write(' z-index: 1;');
  44. document.write(' bottom: 150%;');
  45. document.write(' left: 50%;');
  46. document.write(' margin-left: -75px;');
  47. document.write(' opacity: 0;');
  48. document.write(' transition: opacity 0.3s;');
  49. document.write('}');
  50. document.write('');
  51. document.write('.tooltip .tooltiptext::after {');
  52. document.write(' content: "";');
  53. document.write(' position: absolute;');
  54. document.write(' top: 100%;');
  55. document.write(' left: 50%;');
  56. document.write(' margin-left: -5px;');
  57. document.write(' border-width: 5px;');
  58. document.write(' border-style: solid;');
  59. document.write(' border-color: #555 transparent transparent transparent;');
  60. document.write('}');
  61. document.write('');
  62. document.write('.tooltip:hover .tooltiptext {');
  63. document.write(' visibility: visible;');
  64. document.write(' opacity: 1;');
  65. document.write('}');
  66. document.write('</style>');
  67. document.write('</head>');
  68. document.write('<body>');
  69. document.write('');
  70. document.write('<p>Just go to the pastebin then get key then Refreash page then put key .</p>');
  71. document.write('');
  72. document.write('<input type="text" value="https://pastebin.com/raw/RqsSfL9j" id="myInput">');
  73. document.write('');
  74. document.write('<div class="tooltip">');
  75. document.write('<button onclick="myFunction()" onmouseout="outFunc()">');
  76. document.write(' <span class="tooltiptext" id="myTooltip">Copy to clipboard</span>');
  77. document.write(' Copy text');
  78. document.write(' </button>');
  79. document.write('</div>');
  80. document.write('');
  81. document.write('<script>');
  82. document.write('function myFunction() {');
  83. document.write(' var copyText = document.getElementById("myInput");');
  84. document.write(' copyText.select();');
  85. document.write(' copyText.setSelectionRange(0, 99999);');
  86. document.write(' navigator.clipboard.writeText(copyText.value);');
  87. document.write(' ');
  88. document.write(' var tooltip = document.getElementById("myTooltip");');
  89. document.write(' tooltip.innerHTML = "Copied: " + copyText.value;');
  90. document.write('}');
  91. document.write('');
  92. document.write('function outFunc() {');
  93. document.write(' var tooltip = document.getElementById("myTooltip");');
  94. document.write(' tooltip.innerHTML = "Copy to clipboard";');
  95. document.write('}');
  96. document.write('</script>');
  97. document.write('</body>');
  98. document.write('</html>');
  99. document.write('');
  100.  
  101. } else {
  102. txt = alert
  103.  
  104.  
  105. }
  106.  
  107. if (confirm("Make sure you have the correct key if not click cancel here is the key: " + key)) {
  108. txt = alert
  109. } else {
  110. txt = alert("You clicked cancel");
  111. div.remove()
  112.  
  113. }
  114.  
  115. var version = "the version is 0.3"
  116.  
  117. let div = document.createElement("div");
  118. let btn = document.createElement("button");
  119. let btn2 = document.createElement("button");
  120. let vengeb = document.createElement("button");
  121. let text = document.createElement("textContent");
  122. let github = document.createElement("button");
  123.  
  124.  
  125.  
  126.  
  127. btn.innerHTML = "version";
  128. btn2.innerHTML = "Start";
  129. vengeb.innerHTML = "Venge.io!";
  130. btn.style= "display: block";
  131. btn2.style= "display: block";
  132. github.style = "display: block";
  133. vengeb.style= "display: block";
  134. vengeb.style.opacity = "0";
  135.  
  136.  
  137.  
  138. div.id = "div_id" ;
  139. div.className = "div_class";
  140. div.style= "display: inline-block";
  141. div.style = "background-color:#2c2c2c;";
  142. div.style.width = "300px";
  143. div.style.height = "300px";
  144. document.body.appendChild(div);
  145. div.style.zIndex = "10000000";
  146. div.style.position = "fixed";
  147. div.style.top = "440px"; //or whatever
  148. div.style.left = "1500px"; // or whatever
  149. div.style.borderRadius = "5px";
  150. btn.style.borderRadius = "5px";
  151. btn.style.position = "absolute";
  152. btn2.style.position = "absolute";
  153. btn.style.marginLeft = "5px";
  154. btn2.style.marginLeft = "244px";
  155. btn2.style.marginTop = "259px";
  156. btn2.style.borderRadius = "5px";
  157. btn.style.marginTop = "5px";
  158. github.style.borderRadius = "5px";
  159. github.style.position = "absolute";
  160. btn.style.marginLeft = "5px";
  161. github.style.marginTop = "-230px";
  162. vengeb.style.marginTop = '237px'
  163. vengeb.style.marginLeft = "230px";
  164. vengeb.style.borderRadius = "5px";
  165. div.innerHTML = "Settings/Things";
  166. github.innerHTML = "GitHub Page";
  167.  
  168.  
  169. btn.onclick = function () {
  170. alert(version);
  171. };
  172. // key \\
  173. if (key === "Zaid") {
  174. alert("You have the correct key");
  175. }
  176. vengeb.onclick = function () {
  177. alert("Enjoy CheatWare")
  178. 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);})();
  179. if (window.location.href === vengelink){
  180. alert
  181. } else {
  182. alert("Wrong game or webise make sure ur at venge lobby or else it will not work");
  183. }
  184. }
  185.  
  186. btn2.onclick = function () {
  187.  
  188. vengeb.style.opacity = "1";
  189.  
  190. }
  191.  
  192. if (key != "Zaid") {
  193. div.remove()
  194.  
  195.  
  196. alert("wrong key or it might be that you just dident type anyhting in the keybox");
  197.  
  198. }
  199. github.onclick = function () {
  200. window.open("https://github.com/Zaidbaidadekalb/Game-cheats-WIP-");
  201. }
  202. //End of Key \\
  203. div_id.appendChild(btn);
  204. div_id.appendChild(btn2);
  205. div_id.appendChild(vengeb);
  206. div_id.appendChild(text);
  207. div_id.appendChild(github);
  208. text.style.position = 'absolute';
  209. text.textContent = "Main"
  210. text.style.top = "240px";
  211. text.style.left = "250px";
  212.  
  213.  
  214. // The current position of mouse
  215. let x = 0;
  216. let y = 0;
  217.  
  218. // Query the element
  219. const ele = document.getElementById('div_id');
  220.  
  221. // Handle the mousedown event
  222. // that's triggered when user drags the element
  223. const mouseDownHandler = function (e) {
  224. // Get the current mouse position
  225. x = e.clientX;
  226. y = e.clientY;
  227.  
  228. // Attach the listeners to `document`
  229. document.addEventListener('mousemove', mouseMoveHandler);
  230. document.addEventListener('mouseup', mouseUpHandler);
  231. };
  232.  
  233. const mouseMoveHandler = function (e) {
  234. // How far the mouse has been moved
  235. const dx = e.clientX - x;
  236. const dy = e.clientY - y;
  237.  
  238. // Set the position of element
  239. ele.style.top = `${ele.offsetTop + dy}px`;
  240. ele.style.left = `${ele.offsetLeft + dx}px`;
  241.  
  242. // Reassign the position of mouse
  243. x = e.clientX;
  244. y = e.clientY;
  245. };
  246.  
  247. const mouseUpHandler = function () {
  248. // Remove the handlers of `mousemove` and `mouseup`
  249. document.removeEventListener('mousemove', mouseMoveHandler);
  250. document.removeEventListener('mouseup', mouseUpHandler);
  251. };
  252.  
  253. ele.addEventListener('mousedown', mouseDownHandler);