Is there a way to close but not disable chat/leaderboard?

When you spawn, the game automatically opens chat and leaderboard. I don’t want to disable them till they’re out of the menu, but I want them to start off closed (they have to click the chat icon to open it, whereas it doesn’t start opened).

Is there any script that allows me to do so?

This is what I have but this permanently closes chat and hides it, which is not what I’m looking for.

game.StarterGui:SetCoreGuiEnabled( "Chat" , false )
1 Like

A hacky solution is to disable it using SetCoreGuiEnabled then enabling it again. Only minimizes chat, not leaderboard.

local StarterGui = game:GetService("StarterGui")

StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, true)
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.EmotesMenu, false)
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Health, false)
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList, true)

Found this via a Google search, so I figured I’d reply with the correct way to do this.

game:GetService("StarterGui"):SetCore("ChatActive",false);
1 Like

Thanks for this, I figured that there was no solution that didn’t involve hacky methods, but this is great. I’ll test it out soon, thanks again for replying.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.