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

Does FilterStringForPlayerAsync Need to be used with .Chatted?

I'm trying to use FilterStringForPlayerAsync to filter out players' input for an in-game bio, but I keep getting this error: "ChatService:FilterString called on a client, only works from server."

I'm definitely using it server side, so my only guess is that it has to be used in conjunction with the Chat service. Does anybody know how I can fix this?

1 comment

0

Can you double check that the error isn't coming from a LocalScript?

1 answer

✓ Accepted answer

Well, to answer your title, nope!

I think that it is most likely erring since you are on Play Solo mode in Studio. And since everything is run on the client in Studio, it thinks it's running it on the client.

Simply start a test server or go into regular gameplay mode

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