Powerline.io mods

Change your stats(kills,and score) (use keys 1, 2, 3, 4, 5, 6, and 7.use ctrl to toggle all the stats), once refreshed scores no longer apply/show.

目前為 2020-10-08 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         Powerline.io mods
// @namespace    http://tampermonkey.net/
// @version      9.0
// @description  Change your stats(kills,and score) (use keys 1, 2, 3, 4, 5, 6, and 7.use ctrl to toggle all the stats), once refreshed scores no longer apply/show.
// @author       shed_modz_
// @match        powerline.io
// @grant        none
// ==/UserScript==



//press use numbers 1-5 for mods to use the mods
//|===================================================================================|
//|                        Updates (VERSION 9.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                                             |
//====================================================================================|

////////////////////////////////////////////////////
///////Hot keys are 1, 2, 4, 5, 6  ///////////////////
//////////////////////////////////////////////////

//script



window.addEventListener("keydown", mod, false);
//score mods
//kd mods



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;
   }
   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" && "16") {
     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;
     document.getElementById("stat-ks").innerHTML = z;
     document.getElementById("stat-bks").innerHTML = z;
   }
}
document.getElementById("topGuiConnecting").innerHTML = "Finding non scripted server(this may take 2 minutes)";

document.getElementsByClassName("basic-text2").innerHTML = "Please you this just as a troll. Go in a game and die. Then before you spawn press 1,2,3, or four. Then enter the value and be amazed.";
document.getElementsByTagName("title").innerHTML = "*TROLL*";//this part failed
document.getElementById("mainDialog").src = "arrow.png";
document.getElementById("linktext").innerHTML = "Once you press enter you will lose all of you progress";
document.createElement("div");
document.createElement("p");
document.getElementsByTagName("p").innerHTML = "ERROR";

//linktext
//basic-text2