Hide text chat command from certain players

The title pretty much says it all. I’m trying to create admin commands and I don’t want everyone to be able to see the autocomplete for the command, how do I go about doing this?

1 Like

Destroy your text chat command(s) on the client.

is this the only way? there is no built in way to hide it?

The only built in way (that I know of) is that you can set the Enabled property of the command to false, although it will still show as an autocomplete option.

Another way instead of destroying it is reparenting the command to anything expect TextChatService.

game:GetService("TextChatService"):WaitForChild("ExampleCommand").Parent = script
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.