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

how to disable chat logs?

Asked by 3 years ago

I want to disable the chat log (can't see previous messages) so players can speak but they can only see the baubles and not the box

1 answer

Log in to vote
0
Answered by 3 years ago

I am using probably not the best method, but it is working. You need to modify roblox's chat gui. Put the script below into the LocalScript.

local robloxChatGui = game.Players.LocalPlayer.PlayerGui:WaitForChild("Chat") -- roblox's gui

-- Disabling chat logs
robloxChatGui.Frame.ChatChannelParentFrame.Visible = false
robloxChatGui.Frame.ChatBarParentFrame.Position = UDim2.new(0, 0, 0, 5) -- a position of a input bar, I like this position but it can be anything you want

-- Making everything normal
game.Players.LocalPlayer.PlayerGui.Chat.Frame.ChatChannelParentFrame.Visible = true
robloxChatGui.Frame.ChatBarParentFrame.Position = UDim2.new(0, 0, 1, -42)
Ad

Answer this question