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

Is it possible to make GUIs only view able to certain users?

What the title says.

1 comment

0

Guis are local to each user, a gui is not "shared" between users.

4 answers

Yes it is. You're propably wondering 'How? When i put it in startergui, all players have this gui...' True. How to fix that? Just put the gui in ReplicatedStorage, Make a serverscript check if it's the right player if yes, clone the script to game.Players.(enter player here).PlayerGui

Regards, Jonas

Yes, can use PlayerGui to access specific players' guis. For example:

game.Players:FindFirstChild("the name of the player").PlayerGui.your gui.Visible = true

Hope this helped! if this is what you're looking for please accept my answer!

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