Advertisement
Guest User

spec info

a guest
Apr 15th, 2018
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. // ==UserScript==
  2. // @name Hide Spectator Info
  3. // @version 1.0
  4. // @description Hide spectator text at top of screen
  5. // @author Catalyst
  6. // @include http://*.koalabeast.com:*
  7. // @include http://*.jukejuice.com:*
  8. // @include http://*.newcompte.fr:*
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12.  
  13. tagpro.ready(function waitForId() {
  14. if (!tagpro.playerId) {
  15. return setTimeout(waitForId, 100);
  16. }
  17. if(tagpro.spectator)
  18. {
  19. if (tagpro.ui.sprites.spectatorInfo1 != undefined) {
  20. setTimeout(function() {tagpro.ui.sprites.spectatorInfo1.visible = false;}, 0);
  21. }
  22.  
  23. if (tagpro.ui.sprites.spectatorInfo2 != undefined) {
  24. setTimeout(function() {tagpro.ui.sprites.spectatorInfo2.visible = false;}, 0);
  25. }
  26. }
  27. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement