Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Developer console hider problem?

Asked by 5 years ago
local ownerOnly = false 

while true do 
    game["Run Service"].RenderStepped:wait()
    if not (ownerOnly and game.Players.LocalPlayer.userId == game.CreatorId) then
        game.StarterGui:SetCore("DeveloperConsoleVisible", false)
    end
end

So, in my game I'm trying to make it so normal users can't see anything in developer console or even open it at all. Sadly, every-time this script tries to run I get an error from CoreScripts saying that it wasn't registered by it. Is there a way that I'm able to make the core register the script as a valid thing? Any help would be appreciated.

0
Hiding the dev console doesnt really matter. They cant see anything on the server, only on the client. Meaning, they'll only see errors, warnings, or prints in the output that are run from local scripts. Its nothing to worry about, unless youre writing code on the client that shouldnt be there. In fact, many games actually utilize the clients ability to see their own errors, and put messages like Psudar 882 — 5y

Answer this question