Why is Filter String Async not filtering text properly

So I am making an admin system and I need to be able to filter messages for certain commands which display a message to the entire server in order to comply with Roblox’s filtering rules:

local filteredTextResult = TextService:FilterStringAsync(text, player.UserId)
Hint_2.Text = filteredTextResult

The problem is though that it isn’t filtering the text, instead it just sets the text to the default “Label”, is there a way to fix this?

Please read about TextService:FilterStringAsync:

TL:DR; The method returns a TextFilterResult which isn’t the filtered string yet.

1 Like

Thank you both for your help, have a good day.