Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do i remove the chat GUI, but preserve the chat bar?

An example of this happening is Twisted Murderer. In Twisted murderer, they have a customized chat GUI. But I noticed that ROBLOX s chat GUI isn't entirely deactivated. Just the chat GUI is deactivated, but the chat bar (were you write your message) is still there. How do i achieve that?

4 answers

✓ Accepted answer

This features lies within your place settings.

Go to Your Place > Configure Place > Permissions > (Scroll down to Other Permissions) > And change the Chat Type to Bubble.

2 comments

0

Looks accurate. Gonna test it out. Accepting for now.

0

Yep, exactly what i wanted.

Good question: you don't.

You write your own chat bar and you write your own chat UI.

Disabling the chat UI using ROBLOX's built in method, SetCoreGUIEnabled, disables both at once.

1 comment

0

Hmmmmm. But if you do some testing, you can notice that, with SetCoreGUIEnabled disabling chat, on the black ribbon on top of the screen the chat icon disapears. But on Twisted Murderer, that chat icon is still there.


--If your talking about disabling the coregui chat then here it is.
game.StarterGui:SetCoreGuiEnabled(Enum.Chat, false)

Actually, there is a quick solution to this. The Roblox chat creates its GUI in the player's PlayerGui. So, if you do a simple local script like this:

local oldchat = game.Players.LocalPlayer.PlayerGui.Chat -- Location of Roblox's chat
oldchat.Frame.ChatChannelParentFrame.Visible = false -- Makes the old chat invisible, but not the bar
oldchat.Frame.ChatBarParentFrame.Position = UDim2.new(0,0,0,0) -- Sets the position of the bar to the top left

you should get the results you want!

Also, don't forget that this has to be a LocalScript. I suggest putting it in the same script you are using for your custom chat script.

This discussion is preserved as it was. New answers, comments, and votes are closed.