I'm very confused on how to use FilterStringAsync from a Service called, TextService.
Here is the script, NOTE: it's in a server script!
--note; TS = game:GetService("TextService")
local other = string.sub(msg,7):upper()
local filter = TS:FilterStringAsync(other,player.UserId)
wait(0.2)
MessageEvent:FireAllClients("[WARNING]: "..filter,BrickColor.new("Crimson").Color)
For the error, it states that Line 6 has the error. The error is; attempted to index local 'filter' (a userdata value), any help?

1 comment
What? That's not a function, nor what it even looks like what is being accomplished.