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

How can I remove a specific message in chat?

I know it's possible to remove a specific message on the chat, but I couldn't find anywhere on the wiki. anyone has some helpful information?

2 comments

0

Do you mean like a specific word. and You can't remove chat from the game, Please respond to me so I can help you the best I can! :D

0

Delete a specific message, like i'm making a "Draw With Friends" sort of game, and I cant have people saying the answer on chat, so if someone says it it needs to be removed, is the only solution making a custom chat entirely?

2 answers

I got it figured out, the module was MessageSender, if the message was the word i wanted to blacklist I would just not fire the remote event. pretty simple

1 comment

0

that's pretty smart

--LocalScript

local Message = ""

local Local_Player = game:GetService("Players").LocalPlayer

Local_Player.Chatted:Connect(function(x)
	if x == Message then
		--What happens when the message is said Eg: Local_Player.Character.Humanoid.Health = 0 | Or. Local_Player:Kick("MESSAGEHERE")
	end
end)

3 comments

0

that's not what I meant, thats to do something when the player sends a message, i want to remove the message the player sent

0

You can't. You would have to make your Own message System.

0

well, i could and I did, look at the answer i posted.

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