Clear the whole chat for a Local Player

So, I am working on 3 games: golden plates, untitled shooting game and chunk.survival. I need help with the game of chunk.survival, I am trying to figure out how to clear all system messages for a Local Player. I need this to remove the “Chat ‘?’ or ‘/help’ for a list of chat commands.” system message.

I hope somebody helps me out!

Im kinda new to scripting btw

1 Like

I think you need to make your own chat, buddy. I saw the text appearing in Chat’s modules, but when changing it, it doesn’t affect the chat, so it’s useless for us.

1 Like

Loop through a table full of users you want them to have no chat

Cant you just type /clear in the chat? I pretty sure it removes the system message too.

I don’t know how you can do it with your own script though. You may want to research on how to do that. Or you will have to make a custom chat.

You can just remove it by forking the default chat modules.

By doing a quick search, I found this:

It’s inside of chat > ChatScript > ChatMain.

script.Parent.MouseButton1Click:Connect(function() --Or whatever causes to clear the local chat.
	for _, object in pairs(game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"):FindFirstChild("Chat").Frame.ChatChannelParentFrame.Frame_MessageLogDisplay.Scroller:GetDescendants()) do --current path to the chat. May change in the future.
		if object:IsA("Frame") then
			object:Destroy()
		end
	end
end)

The problem is that all other messages are also removed.