1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Spectator invisibility to each other?

Discussion in 'Skript' started by Zyxed, May 18, 2021.

Thread Status:
Not open for further replies.
  1. Zyxed

    Supporter

    Joined:
    May 17, 2021
    Messages:
    23
    Likes Received:
    1
    Is it possible to make spectator players invisible to each other?

     
  2. Best Answer:
    Post #4 by Minecoll_YT, May 19, 2021
  3. Uzumaki

    Uzumaki Well-Known Member

    Joined:
    Feb 20, 2017
    Messages:
    310
    Likes Received:
    10
    hide player from all players
     
  4. Zyxed

    Supporter

    Joined:
    May 17, 2021
    Messages:
    23
    Likes Received:
    1
    Thanks for the quick reply! How do I implement it to only spectator players?
     
  5. Minecoll_YT

    Supporter Forums Helper

    Joined:
    Dec 2, 2018
    Messages:
    650
    Likes Received:
    39
    e. g.
    Code (Text):
    1. set player's gamemode to spectator
    2. while players gamemode is spectator:
    3.     hide player from all players
    4.     wait 5 ticks
    5. reveal player from all players
     
  6. Zyxed

    Supporter

    Joined:
    May 17, 2021
    Messages:
    23
    Likes Received:
    1
    Thank you!
     
    • Funny Funny x 1
Thread Status:
Not open for further replies.

Share This Page

Loading...