Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 6 years ago

What the title says.

0
Guis are local to each user, a gui is not "shared" between users. User#5423 17 — 6y

4 answers

Log in to vote
0
Answered by 6 years ago

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

Ad
Log in to vote
0
Answered by 6 years ago

I learned with this following tutorial: https://www.youtube.com/watch?v=gcvoegnFHxM . It's really usefull and will teach you everything about gui's. If you want to get better at using gui's just watch the whole playlist. :)

Log in to vote
0
Answered by
65225 80
6 years ago
Edited 6 years ago

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!

Log in to vote
-1
Answered by 6 years ago

Yes, yes it is.

0
Is there somewhere I can learn how to do that? Nathan123 -5 — 6y
0
Yes there is. I learned with this following tutorial: https://www.youtube.com/watch?v=gcvoegnFHxM . It's really usefull and will teach you everything about gui's. If you want to get better at using gui's just watch the whole playlist. :) wilsonsilva007 373 — 6y

Answer this question