Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do you make a part only visible to a certain rank in a group?

I own an airline and I want the passengers thinking that they are flying at cruise. So, I want to make the cruise invisible to passengers, but visible to staff. How do I do that?

1 answer

✓ Accepted answer

You can use local parts to make structures visible only to specific people. There are two ways you can approach this. The simplest way is to turn on filtering enabled and create the parts in a local script. Every player with the local script in them will see the parts. This, however, means that all your other scripts will have to work with FilteringEnabled. Another way is to create a LocalBin in the character which stores the local parts. That can be read here: http://wiki.roblox.com/index.php?title=Local_parts

Once you know how local parts work you can simply use the :GetRankInGroup() function to determine whether the parts are created locally for the player or not.

This discussion is preserved as it was. New answers, comments, and votes are closed.