Hey! I’m working on a radio system, and I need to “intercept” chat messages from the client, without them being sent to everyone on the server.
I don’t want to handle this on the server. Is there a way to use the .Chatted event locally to receive sent messages using the chat without the message being sent to everyone?
The chatted event already works client-side. But if you don’t want a message to be sent to the whole server, you should write your own chat/radio system. You should do this anyway as an exploiter could see the chat regardless, unless you use your own system with remote verification checks.
I am making a radio system, but I want to use the chatted event/intercept messages being sent from the standard chat.
I’m not entirely sure what you mean by that. But like I said before, the chatted event works on both the client and server. It will pick up every message, including whispers for some reason.
And how do I stop messages from being sent after intercepting them using the chatted event, from the client?