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

How to display a filtered message for everyone?

Asked by 7 years ago

I've took the ChatManager code from: http://wiki.roblox.com/index.php?title=Custom_chat_GUI

Unfortunately it only displays filtered messages for other players, while the player who sent it doesn't see his own message.

Is there a way to make it so everyone (including the player who sent the message) could view the filtered message in chat?

1 answer

Log in to vote
1
Answered by
Shawnyg 4330 Trusted Badge of Merit Snack Break Moderation Voter Community Moderator
7 years ago

Remove sender ~= player, and remove its corresponding end. In that if statement, it checks to see if the player's name doesn't match the sender's, but of course that's not what you want.

Ad

Answer this question