Chat Filtering not filtering as far as I know

Hi!
I tried to do a filtering script here.

game.ReplicatedStorage.Filter.OnServerEvent:Connect(function(plr, Str)
	local CS = game:GetService("Chat")
	
	local a = CS:FilterStringForBroadcast(Str, plr)
	repeat task.wait() until a
	print(a)
	plr.PlayerGui.Core.All.PostOther.TextLabel.Text = a
	return a
end)

But, when I put a bunch of words that would be pointlessly filtered by Roblox, it went through.
image
I dont think that would work in the Roblox chat.
So, what did I do wrong?

Might be wrong here, but if I remember correctly, filtering services don’t work in Studio. Maybe try testing in the Roblox player?

1 Like

Filtering Services Dont work in studio. If you’re gonna test it out, use the Roblox Application.

3 Likes