How to add a filter to a command?

I did.

(Part of code, not the entire code, I sent the part of it where it sends it to the event/fires the event)

if successConvert then
        Remote:FireAllClients(filteredTextResult)
    end

Can you print out the filteredTextResult?

print(filteredTextResult)

(In the CustomAdminCmds script inside ServerScriptService)

print("CAC",filteredTextResult)

Prints out:

CAC, Instance

(In the LocalScript inside the GUI)

print("RS",filteredTextResult)

Doesn’t print anything.

It seems like it is still an Instance (TextFilterResult), did you do filteredTextResult:GetNonChatStringForBroadcastAsync()?

Yes. (30 chars, REEEEEEEEEEEEE)

Can you picture the output when you run the script and local script?

image

Is that all the output? 30char

Yes, very sorry for the late reply.