Hello, I am receiving the “Unable to Concatenate String with Instance” error when running a script. From what I’ve looked at with other posts, I can’t seem to figure out why Player.UserId does not work, and Arg2 is already a string, so please don’t suggest tostring(Arg2), I tried and it doesn’t work.
local Len = 6
local Arg2 = msg:sub(Len)
-- Farther down in the script
local ReviewedMessage = TextService:FilterStringAsync(Arg2, Player.UserId, Enum.TextFilterContext.PrivateChat)
Please share the issue and solution and mark your reply as the topic Solution, so that anyone else who comes across this issue may find a relevant topic.