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-15 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name Powerline.io mods
  3. // @namespace http://tampermonkey.net/
  4. // @version 11.0
  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. // @require http://code.jquery.com/jquery-3.4.1.min.js
  9. // @grant none
  10. // ==/UserScript==
  11. //press use numbers 1-5 for mods to use the mods
  12. //|===================================================================================|
  13. //| Updates (VERSION 11.0 being made) |
  14. //| -made mod |
  15. //| -updated mod |
  16. //| -patch update |
  17. //| -mega mod update includes, new hot keys(read desc), |
  18. //| -patch hot KEYS |
  19. //| -patch hot KEYS |
  20. //| -new hot KEYS |
  21. //| -New mod features |
  22. //| -Bug fix |
  23. //| -Adblock feature(may not be working) |
  24. //|===================================================================================|
  25. /////////////////////////////////////////////////////////////////////
  26. ///////Hot keys are 1, 2, 4, 5, 6, ctrl, and h ////////////////////
  27. ///////////////////////////////////////////////////////////////////
  28. //script
  29. //remove stuff
  30.  
  31. window.addEventListener("keydown", mod, false);
  32. //score mods
  33. //kd mods
  34. doument.getElementById("ads").style.display = "none";
  35. function mod (i){
  36. if (i.keyCode == "49") {//key one
  37. var a = window.prompt("How much score do you want?");
  38. document.getElementById("stat-length").innerHTML = a;
  39. }
  40. if (i.keyCode == "50") {//key two
  41. var b = window.prompt("How many kills do you want?");
  42. document.getElementById("stat-ks").innerHTML = b;
  43. }
  44. if (i.keyCode == "51") {//keythree
  45. var c = window.prompt("What do you wnat to set your best score to?");
  46. document.getElementById("stat-blength").innerHTML = c;
  47. }
  48. if (i.keyCode == "52") {//key 4
  49. var d = window.prompt("What do you want you best kills to be?");
  50. document.getElementById("stat-bks").innerHTML = d;
  51. localStorage.bestLength = d;
  52. }
  53. if (i.keyCode == "53") {//key 5
  54. var txt = window.prompt("What wwould you like the chat box to say?");
  55. document.getElementById("firstRightBox").innerHTML = txt;
  56. }
  57. if (i.keyCode == "54") {//key 6
  58. var death = window.prompt("Who would you like to have eliminated you?");
  59. document.getElementById("stat-title").innerHTML = death;
  60. }
  61. if (i.keyCode == "72") {// key h
  62. var help = window.open("", "", "width=500", "height=1000");
  63. help.document.write("<h1 text-align='center'>Help</h1");
  64. help.document.write("<div id='help'></div>");
  65. 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");
  66. }
  67. if (i.keyCode == "55") {//key 7
  68. var des =alert("Destroying powerline, refresh to restart game.");
  69. document.write("Powerline.io Server fail");
  70. }
  71. if (i.keyCode == "17") {
  72. var z = window.prompt("What do you want all of your stats to be?");
  73. document.getElementById("stat-length").innerHTML = z;
  74. document.getElementById("stat-blength").innerHTML = z;
  75. localStorage.bestKillStreak = z;
  76. localStorage.bestLength = z;
  77. document.getElementById("stat-ks").innerHTML = z;
  78. document.getElementById("stat-bks").innerHTML = z;
  79. }
  80. if (i.keyCode == 56) {//key 8
  81. var name = window.prompt("What would you like to change your nick name to?");
  82. document.getElementById("nick").innerHTML = "name";
  83. }
  84. if (i.keyCode == 57) {//key 9 //remove everything
  85. $(document).ready(function(){
  86. $("img").removeAttr("src");
  87. });
  88. $(document).ready(function() {
  89. $("font").removeAttr("style");
  90. $("font").removeAttr("class");
  91. $("font").remove();
  92. });
  93. $(document).ready(function(){
  94. $("footer").removeClass("leftBottomBox");
  95. $("div").removeClass("ads");
  96. });
  97. }
  98. }
  99.  
  100. //linktext
  101. //basic-text2