Hello, My Hide Leaderboard/HP/Chat script don't work. Umm.. in Roblox Studio work perfect, but not in normal server. Here is code:
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList, false) --Player list game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Health, false) --Health game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, false) --Chat
Your main problem is that you're trying to use the StarterGui, when you need to use the Players PlayerGui. Also, you also need to make sure the PlayerGui is there before you do this.
So let's try this script:
while game.StarterGui:GetCoreGuiEnabled(Enum.CoreGuiType.PlayerList)==true do game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList, false) --Player list game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Health, false) --Health game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, false) --Chat wait() end
Anyways, if you have any further problems/questions, please leave a comment below and I'll see what I can do. Hope I helped :P