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 10.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 https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.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, and h ///////////////////
  27. //////////////////////////////////////////////////
  28. //script
  29. window.addEventListener("keydown", mod, false);
  30. //score mods
  31. //kd mods
  32. doument.getElementById("ads").style.display = "none";
  33. function mod (i){
  34. if (i.keyCode == "49") {//key one
  35. var a = window.prompt("How much score do you want?");
  36. document.getElementById("stat-length").innerHTML = a;
  37. }
  38. if (i.keyCode == "50") {//key two
  39. var b = window.prompt("How many kills do you want?");
  40. document.getElementById("stat-ks").innerHTML = b;
  41. }
  42. if (i.keyCode == "51") {//keythree
  43. var c = window.prompt("What do you wnat to set your best score to?");
  44. document.getElementById("stat-blength").innerHTML = c;
  45. }
  46. if (i.keyCode == "52") {//key 4
  47. var d = window.prompt("What do you want you best kills to be?");
  48. document.getElementById("stat-bks").innerHTML = d;
  49. }
  50. if (i.keyCode == "53") {//key 5
  51. var txt = window.prompt("What wwould you like the chat box to say?");
  52. document.getElementById("firstRightBox").innerHTML = txt;
  53. }
  54. if (i.keyCode == "54") {//key 6
  55. var death = window.prompt("Who would you like to have eliminated you?");
  56. document.getElementById("stat-title").innerHTML = death;
  57. }
  58. if (i.keyCode == "72") {// key h
  59. var help = window.open("", "", "width=500", "height=1000");
  60. help.document.write("<h1 text-align='center'>Help</h1");
  61. help.document.write("<div id='help'></div>");
  62. 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");
  63. }
  64. if (i.keyCode == "55") {//key 7
  65. var des =alert("Destroying powerline, refresh to restart game.");
  66. document.write("Powerline.io Server fail");
  67. }
  68. if (i.keyCode == "17") {
  69. var z = window.prompt("What do you want all of your stats to be?");
  70. document.getElementById("stat-length").innerHTML = z;
  71. document.getElementById("stat-blength").innerHTML = z;
  72. document.getElementById("stat-ks").innerHTML = z;
  73. document.getElementById("stat-bks").innerHTML = z;
  74. }
  75. if (i.keyCode == 56) {//key 8
  76. var name = window.prompt("What would you like to change your nick name to?");
  77. document.getElementById("nick").innerHTML = "name";
  78. }
  79. }
  80. document.getElementById("mobileBoxId").style.display = "none";
  81. $("#tips").hide();
  82. $("#ads").hide();
  83. //linktext
  84. //basic-text2