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
COMMUNITY QUESTION
how to disable chat logs?
1 answer
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)
This discussion is preserved as it was. New answers, comments, and votes are closed.
