Ok, so is this what you're saying?
WordD = { "", "ass", "" }
local WordC = ""
function WFilter( ply, text, toall )
for _, v in pairs( WordD ) do
if string.find( text, v) then
WordC = string.Replace(text,v,"****")
else
WordC = (text)
end
end
return WordC
end
hook.Add( "PlayerSay", "WFilter", WFilter );
BTW, thanks for the move, and all the help you've given me so far.