Solved hide/show entities to individuel players?

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Laserlp

New Member
Aug 4, 2024
7
0
1
15
Hey! Like the title says, I wanted to ask how I can hide or show individuel entities to individuel players.

What I have made so far is this:
Code:
on every 5 ticks:
    loop all players:
        if {Level.%loop-player%} is more than 9:
            loop all text displays in radius 25 around loop-player:
                if name of loop-entity-2 is "PerkSelector":
                    reveal loop-entity-2 to loop-player
                if name of loop-entity-2 is "PerkSelectorDisabled":
                    hide loop-entity-2 from loop-player
        else:
            loop all text displays in radius 25 around loop-player:
                if name of loop-entity-2 is "PerkSelector":
                    hide loop-entity-2 from loop-player
                if name of loop-entity-2 is "PerkSelectorDisabled":
                    reveal loop-entity-2 to loop-player

But the only important lines are these:
Code:
hide loop-entity-2 from loop-player
reveal loop-entity-2 to loop-player

This is basically what isn't working. The thing is it's not spitting out any errors, it's just not working xD
Maybe someone has an idea... Thanks!
 
Last edited: