I am trying to script a TextButton so that once it’s pressed it locally disables the players chat.
Is it possible to locally disable a players chat via TextButton, etc.?
My code is inside of a LocalScript under a TextButton and once the button is pressed it doesn’t do anything, I am not sure what is going wrong but suspect it is because it’s not local.
Hey, you’re almost there! SetCore takes two parameters, and you’ve got just one as the comma separating the two is inside the quotation marks. Placing false after the quotation marks will fix your issue with using SetCore.
It should also be noted that you can use StarterGui:SetCoreGuiEnabled() to set whether the chat is seen/enabled. This can be done locally and an example of how to implement this can be seen below: