Print returns Blank (No Text) when there is text on TextBox?

Straight-forward version:

local TextService = game:GetService('TextService')
local String = 'Hello world!'

local FilterSuccess, FilterResult = pcall(function()
	return TextService:FilterStringAsync(String, PlayerUserId)
end)
if (FilterSuccess)
then
	String = FilterResult:GetNonChatStringForUserAsync(PlayerUserId) or ''
else
	print(('Unexpected error with FilterSuccess!: %s'):format(FilterResult))
end

I don’t understand clearly. Could you give me like an example? A short one?

Just did in my post above, I edited it.

1 Like

How would we use it for a situation like mine?

String would be the filtered string.
You should be able to implement this.

1 Like

Thanks again, real poggers bro…

1 Like

I’m sorry I’m still pissed about this even after 2 months. THAT IS BASICALLY WHAT I SAID!