Having censorship on names/words given to server

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    Currently, the client can send any word or name to the server for their nation to be named (and I did tests, ANY) which is obviously not acceptable. Is there a way to have censorship on it? Does ROBLOX provide anything for that?

  2. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    Yes I’ve taken a quick look and didn’t find an answer.

I don’t really understand your problem. Can we also get your script?

Hi so Roblox offers the Service, TextService which is made to basically filter text to be more Roblox Like

You can do this with the TextService:FilterStringAsync(msg,Player.UserId)

You can read more about it here.
https://developer.roblox.com/en-us/api-reference/class/TextService

hope this helps

1 Like

There is no error in the script, in case you’re wondering about that. The script basically has it so a player types in a word or name for their nation’s name, presses enter, and that text is sent to the server to use and name the nation. Problem, however, is that the player can type literally anything, which I do not want.

Looking into it ASAP. Thank you so much!

1 Like