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.
I dont think that would work in the Roblox chat.
So, what did I do wrong?