I would like to make a mute command that disables the ability for a player to chat but they can still see other peoples messages
Attempting to disable the player’s inputting function on their client doesn’t work, but you can probably stop the input from the server by preventing their message from processing into displaying for others. I am not quite sure where to look, but you can probably fork the chat scripts.
The ChatService script is already designed to let you do this to a certain extent.
This code should exist inside a ServerScript.
local ChatService = require(game:GetService("ServerScriptService"):WaitForChild("ChatServiceRunner"):WaitForChild("ChatService")) local AllChat = ChatService:GetChannel("All") function MutePlayer(name) AllChat:MuteSpeaker(name) end MutePlayer("PLAYER NAME HERE")
You may also consider doing some digging before posting your own thread, a very simple search was able to find this: