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

  1. // ==UserScript==
  2. // @name Powerline.io mods
  3. // @namespace http://tampermonkey.net/
  4. // @version 13.0
  5. // @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.)
  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 14.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. //| -patched game, and name |
  25. //|===================================================================================|
  26. /////////////////////////////////////////////////////////////////////
  27. ///////Hot keys are 1, 2, 4, 5, 6, ctrl, and h ////////////////////
  28. ///////////////////////////////////////////////////////////////////
  29. //script
  30. //remove stuff
  31. alert("JOIN THE DISCORD https://discord.gg/KCrDax8M4N");
  32. console.log("https://discord.gg/KCrDax8M4N");
  33. $("#tips").after('<center><button id="blackSnake">Set name demogorgon</butt></center');
  34. $("#blackSnake").click(function() {
  35. localStorage.nick = "demogorgon";
  36. });
  37. window.addEventListener("keydown", mod, false);
  38. //score mods
  39. //kd mods
  40. doument.getElementById("ads").style.display = "none";
  41. function mod (i){
  42. if (i.keyCode == "49") {//key one
  43. var a = window.prompt("How much score do you want?");
  44. document.getElementById("stat-length").innerHTML = a;
  45. }
  46. if (i.keyCode == "50") {//key two
  47. var b = window.prompt("How many kills do you want?");
  48. document.getElementById("stat-ks").innerHTML = b;
  49. }
  50. if (i.keyCode == "51") {//keythree
  51. var c = window.prompt("What do you wnat to set your best score to?");
  52. document.getElementById("stat-blength").innerHTML = c;
  53. }
  54. if (i.keyCode == "52") {//key 4
  55. var d = window.prompt("What do you want you best kills to be?");
  56. document.getElementById("stat-bks").innerHTML = d;
  57. localStorage.bestLength = 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. localStorage.bestKillStreak = z;
  82. localStorage.bestLength = z;
  83. document.getElementById("stat-ks").innerHTML = z;
  84. document.getElementById("stat-bks").innerHTML = z;
  85. }
  86. if (i.keyCode == 56) {//key 8
  87. var name = window.prompt("What would you like to change your nick name to?");
  88. localStorage.nick = name;
  89. alert("NEW DISCORD https://discord.gg/KCrDax8M4N");
  90. console.log("https://discord.gg/KCrDax8M4N");
  91. }
  92. if (i.keyCode == 57) {//key 9 //remove everything
  93. $(document).ready(function(){
  94. $("img").removeAttr("src");
  95. });
  96. $(document).ready(function() {
  97. $("font").removeAttr("style");
  98. $("font").removeAttr("class");
  99. $("font").remove();
  100. });
  101. $(document).ready(function(){
  102. $("footer").removeClass("leftBottomBox");
  103. $("div").removeClass("ads");
  104. });
  105. }
  106. if (i.keyCode == "48") {//0
  107. localStorage.nick = "demogorgon";
  108. }
  109. if (i.keyCode == "189") {//minus
  110. localStorage.nick = "200bots.ga";
  111. }
  112. if (i.keyCode == "187") {//equal
  113. localStorage.nick = "Tusy Soul";
  114. }
  115. if (i.keyCode == "192") {//idk
  116. localStorage.nick = "Made By shed_modz_ FOLLOW AND DOWNLOAD ON GREASYFORK.ORG";
  117. }
  118. if (i.keyCode == "81") {//q
  119. localStorage.nick = "SOMERANDOMTXTPLEASEUSETHISASRANDOM.TXTFOLLOWSHEDMODSONGREASYFORK.ORG. THERE WILL BE DAILY UPDATES AND MORE! SO DO IT YOU KNOW YOU WANT TO!!!";
  120. }
  121. }
  122.  
  123. //linktext
  124. //basic-text2