Powerline.io mods

Change your stats(kills,and scor) (use keys 1, and 2), once refreshed scores no longer.

当前为 2020-10-07 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Powerline.io mods
  3. // @namespace http://tampermonkey.net/
  4. // @version 4.0
  5. // @description Change your stats(kills,and scor) (use keys 1, and 2), once refreshed scores no longer.
  6. // @author shed_modz_
  7. // @match powerline.io
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11.  
  12. //press 1 to use the mods
  13. //===============================================================================
  14. // Updates
  15. // -made mod
  16. // -updated mod
  17. // -patch update
  18. // -mega mod update includes, new hot keys(read desc),
  19. //===============================================================================
  20.  
  21. ////////////////////////////////////////////////
  22. ///////Hot keys are 1 and 2 ///////////////////
  23. //////////////////////////////////////////////
  24.  
  25. window.addEventListener("keydown", mod, false);
  26. //score mods
  27.  
  28. function mod (i){
  29.  
  30. if (i.keyCode == "49") {
  31. var a = window.prompt("How much score do you want?");
  32. document.getElementById("stat-length").innerHTML = a;
  33. document.getElementById("stat-blength").innerHTML = a;
  34. }
  35. else if (i.keyCode == "49") {
  36. var b = window.prompt("How many kills do you want?");
  37. document.getElementById("stat-ks").innerHTML = b;
  38. document.getElementById("stat-bks").innerHTML = b;
  39. }
  40. }
  41.  
  42.  
  43. //coming soon