SetCoreGuiEnabled.all to false is not disabling the developer console, is there other way?
✓ ANSWER ACCEPTED
How to disable the developer console?
1 answer
✓ Accepted answer
Here's what you're looking for:
StarterGui:SetCore("DeveloperConsoleVisible", false)
To check if the developer console is open (so that you can close it):
StarterGui:GetCore("DeveloperConsoleVisible")
You will need to run this on a local script for it to work, since this is all running on the client.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Are you talking about the one in studio?
No, the one in-game that appears when you press F9