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

How do I hide the player list?

Asked by 10 years ago

How do I hide the whole list of players

0
Please don't make script request on the site. gskw 1046 — 10y

2 answers

Log in to vote
1
Answered by
duckwit 1404 Moderation Voter
10 years ago

You can Enable or Disable any CoreGuiType using the setCoreGuiEnabled() method on the StarterGui from a LocalScript, to answer your specific question it'd be:

game.StarterGui:SetCoreGuiEnabled("PlayerList", false)

Or, as chararray256 indicates, you can use the code "0" for "PlayerList":

game.StarterGui:SetCoreGuiEnabled(0, false)
Ad
Log in to vote
0
Answered by
gskw 1046 Moderation Voter
10 years ago

Put the following in a LocalScript:

game.StarterGui:SetCoreGuiEnabled(0, false)

Answer this question