// ==UserScript== // @name Ultimate Krunker Utility // @namespace http://tampermonkey.net/ // @version 0.1 // @description Uncaps FPS, Greater Zoom, Video Mode. // @author Coastermaster and Timmytheman123 // @match *://krunker.io/* // @match *://browserfps.com/* // @exclude *://krunker.io/social* // @exclude *://krunker.io/editor* // @icon https://www.google.com/s2/favicons?domain=krunker.io // @grant none // @license MIT // @downloadURL https://update.greasyfork.cloud/scripts/466042/Ultimate%20Krunker%20Utility.user.js // @updateURL https://update.greasyfork.cloud/scripts/466042/Ultimate%20Krunker%20Utility.meta.js // ==/UserScript== //For a Good experiance please change these variables to match your in game settings // Press V To toggle video mode. You have to die to completely toggle it (Warning may change game settings) // Press C to Zoom (Warning may change Game Settings unless you edit these variables) var FieldOfView = 110; var WeaponFOV = 110; var WeaponADSFOVPower = 0.3; var DynamicCrosshair = false; (function() { 'use strict'; let MAX = 9999999999999999999999999; requestAnimationFrame = (a) => setTimeout(a, 1e3/MAX); })(); function SetSetting(name, value) { var actualCode = 'setSetting("' + name + '",' + value + ')' var script = document.createElement('script'); script.textContent = actualCode; (document.head||document.documentElement).appendChild(script); script.remove(); } var UIToggle = false; var askdaibsdibwaiwd = false; let d = document.addEventListener("keydown", (e) => { if (e.keyCode == 67) { SetSetting("fov", 60); SetSetting("fpsFOV", 60); SetSetting("adsFovMlt", 1) } if (e.keyCode == 86) { if (UIToggle == false){ SetSetting("showUI", false) SetSetting("showHitInd", false) SetSetting("hideNames", 3) SetSetting("showMedals", false) SetSetting("shwChat", 2) SetSetting("showMessages", false) SetSetting("showUnboxings", false) SetSetting("hitm", false) SetSetting("showHands", false) SetSetting("showWeapon", false) SetSetting("showWeaponSec", false) SetSetting("showWeaponMel", false) SetSetting("showPScore", false) SetSetting("progMOpac", 0) SetSetting("crosshairOpacityM", 0) SetSetting("crosshairUseOpacityM", true) if (DynamicCrosshair == true){ SetSetting("crosshairSho", 0) }else{ SetSetting("crosshairOpacity", 0) SetSetting("crosshairUseOpacity", true) } UIToggle = true; }else{ SetSetting("showUI", true) SetSetting("showHitInd", true) SetSetting("hideNames", 0) SetSetting("showMedals", true) SetSetting("shwChat", 0) SetSetting("showMessages", true) SetSetting("showUnboxings", true) SetSetting("hitm", true) SetSetting("showHands", true) SetSetting("showWeapon", true) SetSetting("showWeaponSec", true) SetSetting("showWeaponMel", true) SetSetting("showPScore", true) SetSetting("progMOpac", 1) SetSetting("crosshairOpacityM", 1) SetSetting("crosshairUseOpacityM", true) if (DynamicCrosshair == true){ SetSetting("crosshairSho", 1) }else{ SetSetting("crosshairOpacity", 1) SetSetting("crosshairUseOpacity", true) } UIToggle = false; } } if (e.keyCode == 72) { dialogEl.style.display = dialogEl.style.display === '' ? 'none' : ''; } if (e.keyCode == 192) { window.location.href = "https://krunker.io"; } }) let f = document.addEventListener("keyup", (e) => { if (e.keyCode == 67) { SetSetting("fov", FieldOfView); SetSetting("fpsFOV", WeaponFOV); SetSetting("adsFovMlt", WeaponADSFOVPower) } }) const value = parseInt( new URLSearchParams( window.location.search ).get( 'showAd' ), 16 ); const shouldShowAd = isNaN( value ) || Date.now() - value < 0 || Date.now() - value > 10 * 60 * 1000; const el = document.createElement( 'div' ); el.innerHTML = `
${`
Krunker Ultimate Utility

[H] show/hide help

[V] for video mode

[C] to zoom in

[T] Find New Server

[Z] Coming Soon
` } `; const msgEl = el.querySelector( '.msg' ); const dialogEl = el.querySelector( '.dialog' ); if ( shouldShowAd ) { const url = new URL( window.location.href ); url.searchParams.set( 'showAd', Date.now().toString( 16 ) ); url.searchParams.set( 'scriptVersion', GM.info.script.version ); } addEventListener("mousedown", (event) => { if (askdaibsdibwaiwd == false){ console.log("sishbiasbdasnozndowna"); document.body.appendChild( el.children[ 0 ] ); wait(10000); askdaibsdibwaiwd = true; }; });