Are GUI Textbox Input automatically moderated?

Hello, I have a small question, am I required to have a censor service for my GUI’s textbox, or will it automatically censor?

I have a textbox that sends the given input into a separate text label, will the text be automatically moderated, or do I need to implement that in myself? If so, how?

Hi there. You are not required to, depending on the situation, but keep in mind that Roblox does not automatically censor the input. Consider using TextService to utilize Roblox’s filtering system.

3 Likes

What are you doing with the input text? Depending on what you’re doing with it, you may or may not need to filter it.

The text label will be seen by others, it’s like an advertisement kind of thing, people can input text and it’ll be shown on screens throughout the Workspace. I assume it’ll require censoring and by extension, TextService, right?

Okay. Then, I would highly suggest filtering it using TextService. Would you like me to give a demonstration?

If you’d like to, that’d be great!

Alrighty.

local txt -- the input text
local userid -- the userid of the player that sent the input


Filtered = game:GetService("TextService"):FilterStringAsync(txt, userid):GetNonChatStringForBroadcastAsync()
3 Likes

I see, thank you very much for your assistance!