KRUNKER.IO MODS v2.1 (Dogeware Enhanced)

Advanced mod suite for Krunker.io with adaptive detection

  1. // ==UserScript==
  2. // @name KRUNKER.IO MODS v2.1 (Dogeware Enhanced)
  3. // @namespace https://github.com/Dogeware-Scripts
  4. // @version 2.1.5
  5. // @description Advanced mod suite for Krunker.io with adaptive detection
  6. // @author Dogeware Team
  7. // @match *://krunker.io/*
  8. // @match *://browserfps.com/*
  9. // @exclude *://krunker.io/social*
  10. // @exclude *://krunker.io/editor*
  11. // @icon https://i.imgur.com/LdO1D1y.png
  12. // @grant unsafeWindow
  13. // @require https://unpkg.com/three@0.158.0/build/three.min.js
  14. // ==/UserScript==
  15.  
  16. /* Uudet ominaisuudet ja parannetut toiminnallisuudet */
  17. const THREE = unsafeWindow.THREE || window.THREE;
  18. const DEBUG_MODE = false;
  19.  
  20. // Proxy-järjestelmä havaitsemiskykysuojaukseen
  21. const securityProxy = {
  22. get: (target, prop) => {
  23. if(typeof target[prop] === 'function') {
  24. return new Proxy(target[prop], {
  25. apply: (target, thisArg, args) => {
  26. if(Math.random() < 0.7) return target.apply(thisArg, args);
  27. return null;
  28. }
  29. });
  30. }
  31. return target[prop];
  32. }
  33. };
  34.  
  35. class SceneManager {
  36. constructor() {
  37. this.mainScene = null;
  38. this.sceneNames = ['MainScene', 'GameWorld', 'Main'];
  39. this.detectionInterval = setInterval(() => this.detectScene(), 1000);
  40. }
  41.  
  42. detectScene() {
  43. this.sceneNames.forEach(name => {
  44. const scene = THREE.Scene?.children.find(
  45. child => child.name === name
  46. );
  47. if(scene) {
  48. this.mainScene = scene;
  49. clearInterval(this.detectionInterval);
  50. }
  51. });
  52. }
  53. }
  54.  
  55. class PlayerManager {
  56. static findHeadBone(playerObj) {
  57. const queue = [...playerObj.children];
  58. while(queue.length > 0) {
  59. const child = queue.shift();
  60. if(child?.name?.toLowerCase().includes('head')) {
  61. return child;
  62. }
  63. queue.push(...(child?.children || []));
  64. }
  65. return null;
  66. }
  67.  
  68. static getValidPlayers(scene) {
  69. return scene.children.filter(child => {
  70. try {
  71. return child?.children?.[0]?.type === 'Group';
  72. } catch(e) {
  73. return false;
  74. }
  75. });
  76. }
  77. }
  78.  
  79. class AimbotSystem {
  80. constructor() {
  81. this.smoothing = 0.65;
  82. this.maxDistance = 500;
  83. this.aimOffset = new THREE.Vector3(0, 1.6, 0);
  84. }
  85.  
  86. calculateAimPosition(target) {
  87. const headPos = new THREE.Vector3();
  88. const headBone = PlayerManager.findHeadBone(target);
  89. if(headBone) headBone.getWorldPosition(headPos);
  90. return headPos.add(this.aimOffset);
  91. }
  92.  
  93. smoothAim(current, target, delta) {
  94. return current + (target - current) * this.smoothing * delta;
  95. }
  96. }
  97.  
  98. const DogewareMod = {
  99. config: {
  100. visuals: {
  101. wireframe: false,
  102. espBox: true,
  103. glowEffect: true
  104. },
  105. combat: {
  106. aimbot: true,
  107. triggerbot: false,
  108. silentAim: false
  109. },
  110. misc: {
  111. fovChanger: 120,
  112. thirdPerson: false
  113. }
  114. },
  115.  
  116. init() {
  117. this.sceneManager = new SceneManager();
  118. this.aimbot = new AimbotSystem();
  119. this.setupEventListeners();
  120. this.injectCustomUI();
  121. this.mainLoop();
  122. },
  123.  
  124. mainLoop() {
  125. requestAnimationFrame(() => this.mainLoop());
  126. try {
  127. if(!this.sceneManager.mainScene) return;
  128. const players = PlayerManager.getValidPlayers(this.sceneManager.mainScene);
  129. const localPlayer = players.find(p => p?.isLocalPlayer);
  130. if(this.config.combat.aimbot) {
  131. const nearestEnemy = this.findNearestEnemy(localPlayer, players);
  132. if(nearestEnemy) this.handleAimbot(localPlayer, nearestEnemy);
  133. }
  134. this.applyVisualModifications(players);
  135. } catch(e) {
  136. DEBUG_MODE && console.error('Main loop error:', e);
  137. }
  138. },
  139.  
  140. findNearestEnemy(localPlayer, players) {
  141. return players.reduce((closest, player) => {
  142. if(player === localPlayer) return closest;
  143. const dist = localPlayer.position.distanceTo(player.position);
  144. return dist < (closest?.distance || Infinity) ? {player, distance: dist} : closest;
  145. }, null)?.player;
  146. },
  147.  
  148. handleAimbot(localPlayer, target) {
  149. const aimPos = this.aimbot.calculateAimPosition(target);
  150. const delta = 60 / 1000; // Approx delta time
  151. localPlayer.rotation.y = this.aimbot.smoothAim(
  152. localPlayer.rotation.y,
  153. Math.atan2(aimPos.x - localPlayer.position.x,
  154. aimPos.z - localPlayer.position.z),
  155. delta
  156. );
  157. localPlayer.rotation.x = this.aimbot.smoothAim(
  158. localPlayer.rotation.x,
  159. -Math.atan2(aimPos.y - localPlayer.position.y,
  160. Math.hypot(aimPos.x - localPlayer.position.x,
  161. aimPos.z - localPlayer.position.z)),
  162. delta
  163. );
  164. },
  165.  
  166. applyVisualModifications(players) {
  167. players.forEach(player => {
  168. if(player === this.localPlayer) return;
  169. player.traverse(child => {
  170. if(child.material) {
  171. child.material.wireframe = this.config.visuals.wireframe;
  172. if(this.config.visuals.glowEffect) {
  173. child.material.emissive.setHex(0xFF3300);
  174. child.material.needsUpdate = true;
  175. }
  176. }
  177. });
  178. });
  179. },
  180.  
  181. setupEventListeners() {
  182. document.addEventListener('keydown', e => {
  183. if(e.key.toLowerCase() === 'insert') this.toggleMenu();
  184. });
  185. },
  186.  
  187. toggleMenu() {
  188. const menu = document.getElementById('dw-menu');
  189. menu.style.display = menu.style.display === 'none' ? 'block' : 'none';
  190. },
  191.  
  192. injectCustomUI() {
  193. const shadowHost = document.createElement('div');
  194. const shadowRoot = shadowHost.attachShadow({mode: 'closed'});
  195. shadowRoot.innerHTML = `
  196. <style>
  197. /* Päivitetty UI-tyyli */
  198. .dw-menu {
  199. position: fixed;
  200. top: 20px;
  201. left: 20px;
  202. background: rgba(0,0,0,0.9);
  203. color: #fff;
  204. padding: 15px;
  205. border-radius: 8px;
  206. font-family: Arial;
  207. z-index: 99999;
  208. }
  209. .dw-section { margin: 10px 0; }
  210. .dw-toggle { cursor: pointer; }
  211. </style>
  212. <div class="dw-menu" id="dw-menu">
  213. <h3>Dogeware Mods v2</h3>
  214. <div class="dw-section">
  215. <label class="dw-toggle">
  216. <input type="checkbox" id="aimbotToggle"> Aimbot
  217. </label>
  218. </div>
  219. <!-- Lisää UI-komponentteja tähän -->
  220. </div>
  221. `;
  222. document.body.appendChild(shadowHost);
  223. }
  224. };
  225.  
  226. // Alustus
  227. setTimeout(() => {
  228. if(typeof THREE !== 'undefined') {
  229. DogewareMod.init();
  230. } else {
  231. console.error('Three.js not loaded');
  232. }
  233. }, 5000);
  234.  
  235. // Anti-debugger suojaus
  236. const antiDebug = () => {
  237. function blockDebuggers() {
  238. setInterval(() => {
  239. if(typeof console !== 'undefined') {
  240. console.log = () => {};
  241. console.warn = () => {};
  242. debugger;
  243. }
  244. }, 1000);
  245. }
  246. try { blockDebuggers(); } catch(e) {}
  247. };
  248. window.onload = antiDebug;

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址