Kirka.IO Enhanced

Wallhack, adblock and more for Kirka.IO.

< Feedback on Kirka.IO Enhanced

Review: قالتىس - قوليازما ئىشلەيدۇ

§
يوللانغان ۋاقتى: 2023-05-01

I NEED A REPONSE. i am the person who made the firearte inscrease script for kirka.io. Can you teach me how to set a key to toggle it
CODE
|
// ==UserScript==
// @name kirka gun fire rate increase
// @namespace http://tampermonkey.net/
// @version 0.1
// @description work in progress if you get into a game without people just wait up to 30 seconds and youll see ppl joing
// @author You
// @match https://kirka.io/
// @icon https://www.google.com/s2/favicons?sz=64&domain=kirka.io
// @grant none
// ==/UserScript==

;(original => (Date.now = () => original() * 2123).toString = () => "function now() {\n [native code]\n}")(Date.now);
// if you can send me code on how to toggle it

NotYouئاپتور
§
يوللانغان ۋاقتى: 2023-05-01

Oh, hi! Thanks for "Good" feedback!

Foremost, your code is pretty good, not going to lie. You even did anti-monkeypatching protection. But it's impossible to read, that also makes it completely unmaintainable.

I recommend you to do code refactoring to upgrade itself readability. But you can do this without it anyway.

There is step-by-step tutorial:

  1. Make new variable for multiplier (number 2123).
  2. Add keydown event listener to global object.
  3. Check if code (or better key) property of event object is pressed key you need.
  4. If so, change multiplier like that:
multiplier = multiplier === 1 ? 2123 : multiplier

I won't write code myself, because you said that you want me to teach you, that means that you need to try to do it yourself and then if you won't be able to do that, I will help you.

جاۋاب قايتۇرۇش

جاۋاب قايتۇرۇش ئۈچۈن كىرىش.