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

Show/Hide Top Bar Without Removing The Chat?

Asked by 4 years ago
Edited by royaltoe 4 years ago

Good day.

I am trying to disable the topbar while retaining the chat button display and functionality.

I've read some forum posts asking similar questions which helped with my progress so far. I proceeded with disabling the topbar as I need to hide the username display at the top right of the screen as it is covering my GUI (IgnoreGuiInset is enabled).

Based on what I've tried and what I've read in the forums, the chat button cannot be displayed while the topbar is disabled. The solution I came up with is to replicate the chat button and connect an event function that toggles the display of the topbar. However, I can't find a sample script on how to do this.

Is there any way to do this via script? If not, what alternatives can I try?

Thank you very much.

P.S. if needed, here's how I disable the topbar

game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
wait()
pcall(function()
    local starterGui = game:GetService('StarterGui')
    starterGui:SetCore("TopbarEnabled", false)
end)
0
The default chat is part of the topbar. You're better off creating a custom chat that does not require the topbar. DeceptiveCaster 3761 — 4y

Answer this question