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-14 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Powerline.io mods
  3. // @namespace http://tampermonkey.net/
  4. // @version 9.5
  5. // @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.
  6. // @author shed_modz_
  7. // @match powerline.io
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11.  
  12.  
  13. //press use numbers 1-5 for mods to use the mods
  14. //|===================================================================================|
  15. //| Updates (VERSION 9.0 being made) |
  16. //| -made mod |
  17. //| -updated mod |
  18. //| -patch update |
  19. //| -mega mod update includes, new hot keys(read desc), |
  20. //| -patch hot KEYS |
  21. //| -patch hot KEYS |
  22. //| -new hot KEYS |
  23. //| -New mod features |
  24. //| -Bug fix |
  25. //|===================================================================================|
  26.  
  27. ////////////////////////////////////////////////////
  28. ///////Hot keys are 1, 2, 4, 5, 6, and h ///////////////////
  29. //////////////////////////////////////////////////
  30.  
  31. //script
  32.  
  33. alert("10.0 coming out within 3 days from oct 14");
  34.  
  35. window.addEventListener("keydown", mod, false);
  36. //score mods
  37. //kd mods
  38.  
  39.  
  40.  
  41. function mod (i){
  42.  
  43. if (i.keyCode == "49") {//key one
  44. var a = window.prompt("How much score do you want?");
  45. document.getElementById("stat-length").innerHTML = a;
  46. }
  47. if (i.keyCode == "50") {//key two
  48. var b = window.prompt("How many kills do you want?");
  49. document.getElementById("stat-ks").innerHTML = b;
  50. }
  51. if (i.keyCode == "51") {//keythree
  52. var c = window.prompt("What do you wnat to set your best score to?");
  53. document.getElementById("stat-blength").innerHTML = c;
  54. }
  55. if (i.keyCode == "52") {//key 4
  56. var d = window.prompt("What do you want you best kills to be?");
  57. document.getElementById("stat-bks").innerHTML = d;
  58. }
  59. if (i.keyCode == "53") {//key 5
  60. var txt = window.prompt("What wwould you like the chat box to say?");
  61. document.getElementById("firstRightBox").innerHTML = txt;
  62. }
  63. if (i.keyCode == "54") {//key 6
  64. var death = window.prompt("Who would you like to have eliminated you?");
  65. document.getElementById("stat-title").innerHTML = death;
  66. }
  67. if (i.keyCode == "72") {// key h
  68. var help = window.open("", "", "width=500", "height=1000");
  69. help.document.write("<h1 text-align='center'>Help</h1");
  70. help.document.write("<div id='help'></div>");
  71. 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");
  72. }
  73. if (i.keyCode == "55") {//key 7
  74. var des =alert("Destroying powerline, refresh to restart game.");
  75. document.write("Powerline.io Server fail");
  76. }
  77. if (i.keyCode == "17") {
  78. var z = window.prompt("What do you want all of your stats to be?");
  79. document.getElementById("stat-length").innerHTML = z;
  80. document.getElementById("stat-blength").innerHTML = z;
  81. document.getElementById("stat-ks").innerHTML = z;
  82. document.getElementById("stat-bks").innerHTML = z;
  83. }
  84. }
  85. document.getElementById("topGuiConnecting").innerHTML = "Finding non scripted server(this may take 2 minutes)";
  86.  
  87. 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.";
  88. document.getElementsByTagName("title").innerHTML = "*TROLL*";//this part failed
  89. document.getElementById("mainDialog").src = "arrow.png";
  90. document.getElementById("linktext").innerHTML = "Once you press enter you will lose all of you progress";
  91. document.createElement("div");
  92. document.createElement("p");
  93. document.getElementsByTagName("p").innerHTML = "ERROR";
  94.  
  95. //linktext
  96. //basic-text2