Powerline.io mods

Change your stats(kills,and score) (use keys 1-9 for single mods. use ctrl to change all of your stats. and use key h for help.)

当前为 2020-10-27 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

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

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

    // ==UserScript==
    // @name         Powerline.io mods
    // @namespace    http://tampermonkey.net/
    // @version      12.0
    // @description  Change your stats(kills,and score) (use keys 1-9 for single mods. use ctrl to change all of your stats. and use key h for help.)
    // @author       shed_modz_
    // @match        powerline.io
    // @require      http://code.jquery.com/jquery-3.4.1.min.js
    // @grant        none
    // ==/UserScript==
    
    
    
    //press use numbers 1-5 for mods to use the mods
    //|===================================================================================|
    //|                        Updates (VERSION 13.0 being made)                         |
    //|                     -made mod                                                     |
    //|                     -updated mod                                                  |
    //|                     -patch update                                                 |
    //|                     -mega mod update includes, new hot keys(read desc),           |
    //|                     -patch hot KEYS                                               |
    //|                     -patch hot KEYS                                               |
    //|                     -new hot KEYS                                                 |
    //|                     -New mod features                                             |
    //|                     -Bug fix                                                      |
    //|                     -Adblock feature(may not be working)                          |
    //|                     -patched game, and name                                       |
    //|===================================================================================|
    
    /////////////////////////////////////////////////////////////////////
    ///////Hot keys are 1, 2, 4, 5, 6, ctrl, and h  ////////////////////
    ///////////////////////////////////////////////////////////////////
    
    //script
    //remove stuff
    
    localStorage.nick  = "MADE BY SHED";
    
    
    window.addEventListener("keydown", mod, false);
    //score mods
    //kd mods
    
    
    doument.getElementById("ads").style.display = "none";
    function mod (i){
    
       if (i.keyCode == "49") {//key one
           var a = window.prompt("How much score do you want?");
           document.getElementById("stat-length").innerHTML = a;
       }
        if (i.keyCode == "50") {//key two
         var b = window.prompt("How many kills do you want?");
         document.getElementById("stat-ks").innerHTML = b;
       }
       if (i.keyCode == "51") {//keythree
         var c = window.prompt("What do you wnat to set your best score to?");
         document.getElementById("stat-blength").innerHTML = c;
       }
       if (i.keyCode == "52") {//key 4
        var d = window.prompt("What do you want you best kills to be?");
        document.getElementById("stat-bks").innerHTML = d;
        localStorage.bestLength = d;
       }
       if (i.keyCode == "53") {//key 5
         var txt = window.prompt("What wwould you like the chat box to say?");
         document.getElementById("firstRightBox").innerHTML = txt;
       }
       if (i.keyCode == "54") {//key 6
         var death = window.prompt("Who would you like to have eliminated you?");
         document.getElementById("stat-title").innerHTML = death;
       }
       if (i.keyCode == "72") {// key h
         var help = window.open("", "", "width=500", "height=1000");
         help.document.write("<h1 text-align='center'>Help</h1");
         help.document.write("<div id='help'></div>");
         help.document.write("<p text-align='center'>Use keys 1-6 to change/edit stuff.(Works if your at the death menu that displays your stats)Press key h for help");
       }
       if (i.keyCode == "55") {//key 7
         var des =alert("Destroying powerline, refresh to restart game.");
         document.write("Powerline.io Server fail");
       }
       if (i.keyCode == "17") {
         var z = window.prompt("What do you want all of your stats to be?");
         document.getElementById("stat-length").innerHTML = z;
         document.getElementById("stat-blength").innerHTML = z;
         localStorage.bestKillStreak = z;
         localStorage.bestLength = z;
         document.getElementById("stat-ks").innerHTML = z;
         document.getElementById("stat-bks").innerHTML = z;
       }
       if (i.keyCode == 56) {//key 8
         var name = window.prompt("What would you like to change your nick name to?");
         localStorage.nick = name;
       }
       if (i.keyCode == 57) {//key 9 //remove everything
          $(document).ready(function(){
          $("img").removeAttr("src");
     });
          $(document).ready(function() {
          $("font").removeAttr("style");
          $("font").removeAttr("class");
          $("font").remove();
     });
          $(document).ready(function(){
          
          $("footer").removeClass("leftBottomBox");
          $("div").removeClass("ads");
     });
       }
    }

    //linktext
    //basic-text2