Kick Warn

made with much love

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Kick Warn
// @description  made with much love
// @version      0.0.1
// @author       Cazka#1820
// @match        *://diep.io/*
// @icon         https://www.google.com/s2/favicons?domain=diep.io
// @grant        none
// @license      MIT
// @namespace    https://greatest.deepsurf.us/users/541070
// ==/UserScript==
'use strict';

window.m28.pow.solve = new Proxy(window.m28.pow.solve, {
    apply(target, thisArg, args) {
        const now = Date.now();

        args[2] = new Proxy(args[2], {
            apply(target, thisArg, args) {
                const time = Date.now() - now;
                if(time > 15000) {
                    window.alert(`Kick Warn! Last pow took ${time / 1000} seconds.`);
                }
                return Reflect.apply(target, thisArg, args);
            }
        });
        return Reflect.apply(target, thisArg, args);
    }
});