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

How do you make a surface GUI so only you can see them?

Asked by 10 years ago

So basically the title says it all. How do you get a Surface GUI so that only you can see the actual GUI.

Thanks Kieran

2 answers

Log in to vote
1
Answered by 10 years ago

To do this you would simply set the Parent of the SurfaceGui to the desired player's PlayerGui. To make it show up on a certain part you can use the SurfaceGui.Adornee property.

0
Woah, thanks for responding so fast but what would be the whole script? Sorry, I know a little but not really things like this! kieranm9090 49 — 10y
0
Yup. Do you know how to use a script to set the Parent and Adornee of something? (You would set the Adornee the same way you set the parent, except it does a completely different thing.) DaMrNelson 130 — 10y
0
No sorry :/ Never heard of Adornee before kieranm9090 49 — 10y
0
It would be something like this: http://pastebin.com/aqgti090 DaMrNelson 130 — 10y
Ad
Log in to vote
-1
Answered by 10 years ago

Try putting them on localparts. To create local parts, simply parent them to the CurrentCamera: game.Workspace.CurrentCamera This MUST be in a localscript.

0
What is wrong with this. It works the same as putting it into the PlayerGui? PiggyJingles 358 — 10y
0
Probably just because its a bit more confusing (wasn't me who downvoted, though). DaMrNelson 130 — 10y

Answer this question