This is a regular script in the workspace
local StarterGui = Game:GetService('StarterGui') StarterGui:SetCoreGuiEnabled (Enum.CoreGuiType.PlayerList, false)
Because in Studio the client and the server are exactly the same machine! Try reading this
Then, try putting that in a localscript in StarterPlayerScripts or PlayerGui