|
| 04 Jun 2014 06:33 PM |
Hello whomever is reading this. I am wondering how to make a ### that ONLY admin people can see. Please tell me how to script that.
Please Respond. |
|
|
| Report Abuse |
|
|
diabete
|
  |
| Joined: 07 May 2014 |
| Total Posts: 230 |
|
|
| 04 Jun 2014 06:36 PM |
Gui?
All I see is "how to make a pound-pound-pound that only admins can see."
if 1 + 1 ~= 2 then print("The world is ending!") elseif 1 + 1 == "fish" then print("All is well") |
|
|
| Report Abuse |
|
|
|
| 04 Jun 2014 06:40 PM |
How do I make a General Union Institute (don't know what it stands for) that only admin can see. Please help |
|
|
| Report Abuse |
|
|
diabete
|
  |
| Joined: 07 May 2014 |
| Total Posts: 230 |
|
|
| 04 Jun 2014 06:45 PM |
Graphical User Interface
local AdmGui = Game.StarterGui:FindFirstChild("SCREENGUINAME"):GetChildren()
local Admins = {["Someone"] = true} -- case sensitive
game.Players.PlayerAdded:connect(function(p) p.CharacterAdded:connect(function(c) if Admins[p.Name] then for i, v in pairs(AdmGui) do if v.className == "Frame" then v.Visible = true end end end) end)
make the frames in a screengui in startergui and make the frames not visible
if 1 + 1 ~= 2 then print("The world is ending!") elseif 1 + 1 == "fish" then print("All is well") |
|
|
| Report Abuse |
|
|
|
| 04 Jun 2014 06:50 PM |
| Thank you very much except what places do we put in the persons name |
|
|
| Report Abuse |
|
|
| |
|
|
| 04 Jun 2014 06:59 PM |
| Is that only the place where you put the name and the other stuff where you like say coordinates or something like that. What places do I need to like edit to make the ### work correctly? |
|
|
| Report Abuse |
|
|
|
| 04 Jun 2014 07:06 PM |
| local Admins = {["Someone","yourFriend","YOurMOm","YOURDAD","CintDoggie"] = true} -- case sensitive |
|
|
| Report Abuse |
|
|
|
| 04 Jun 2014 07:27 PM |
| Thank you all very much for helping me I truly appreciate it. |
|
|
| Report Abuse |
|
|