Perungus
|
  |
| Joined: 23 May 2013 |
| Total Posts: 144 |
|
|
| 17 Jul 2013 01:04 PM |
| Ok. So say I have a Gui, I only want certain people able to see it. How can I do that? |
|
|
| Report Abuse |
|
|
Zkiller11
|
  |
| Joined: 25 Aug 2009 |
| Total Posts: 2914 |
|
|
| 17 Jul 2013 01:05 PM |
| Put it in their PlayerGui. |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2013 01:06 PM |
cansee = {"player"} gui = game.Lighting:findFirstChild("YOURGUINAMEHERE"):Clone() game.Players.PlayerAdded:connect(function(plyr) plyr.CharacterAdded:connect(function(char) for i, v in pairs (cansee) do if plyr.Name == v then gui.Parent = plyr.PlayerGui end end end) end)
|
|
|
| Report Abuse |
|
|
|
| 17 Jul 2013 01:07 PM |
game > Players > Person > GUITray > GUI > script
if script.Parent.Parent.Parent.Name == "Jimmeh_teh_thurd" then script.Parent.Visible = true else script.Parent.Visible = false end |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2013 01:08 PM |
| But, you could make it easier using a table instead of a lot of "or" statements. |
|
|
| Report Abuse |
|
|