retracee
|
  |
| Joined: 27 Apr 2013 |
| Total Posts: 854 |
|
|
| 02 Dec 2017 07:40 PM |
I'm a newbie to scripting in roblox I just started 30 minutes ago.
I'm making a GUI only available to my friends and I and I know how to make a script for certain players but not everyone but me
if game.Players.retracee then script.Parent:Remove() end
How would I make it for all other players besides the few players on my whitelist?
|
|
|
| Report Abuse |
|
|
| |
|
LaeMVP
|
  |
| Joined: 24 Jun 2013 |
| Total Posts: 4416 |
|
|
| 02 Dec 2017 07:47 PM |
local weebs = {[yourUserId] = true}
script.Parent.Visible = not not weebs[localPlayer.UserId]
pseudo code
also not not because nil to false |
|
|
| Report Abuse |
|
|
retracee
|
  |
| Joined: 27 Apr 2013 |
| Total Posts: 854 |
|
| |
|