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

When You Remove Top Bar, How do you add back the Chat?

Asked by 6 years ago

When you hide the top bar, the chat hides with it. How do you enable chat while hiding the top bar?

game:GetService('StarterGui'):SetCore("TopbarEnabled", false) --Hide topbar
game:GetService('StarterGui'):SetCoreGuiEnabled(Enum.CoreGuiType.Chat, true) --Attempt to show chat
0
Unless there’s something in the chat scripts you can change, I don’t think you can. Anything in the top bar gets disabled. User#20279 0 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

The closest thing to this you can do is set the transparency to 1 and disabling everything else BUT the chat, unfortunately... http://prntscr.com/jh7ae0

local StarterGui = game:GetService("StarterGui")

StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, true)

game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"):SetTopbarTransparency(1)
0
I was looking through the ChatMain script and you can actually enable chat if you remove a function, but thanks for trying to help me :) GatitosMansion 187 — 6y
Ad

Answer this question