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

Why does this script only work in studio?

Asked by 8 years ago

This is a regular script in the workspace

local StarterGui = Game:GetService('StarterGui')
StarterGui:SetCoreGuiEnabled (Enum.CoreGuiType.PlayerList, false)

1 answer

Log in to vote
1
Answered by
Validark 1580 Snack Break Moderation Voter
8 years ago

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

Ad

Answer this question