I asked this yesterday, but it was closed for "not contributing" or something.
I'm looking to script a command that will mute a player without removing the entire chat. Used to you would just enable a player's SuperSafeChat
property, but Roblox has since removed it.
I could disable the chat by doing:
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, false)
But I still want the muted player to see chats other people are sending, without having to script another chat UI.
I've tried hiding the textBox in the CoreGui, but for some reason when the Visible
property is false it still functions, so the player is still able to chat.
A way I think will work is checking if the ChatBox is focused and ending it, but I want to know if there's a better way of doing it.
Thanks