Is it possible to create a button that opens the developer console?

Is it possible to create a button that opens the developer console?
If yes, how?

Please inform me if this is the wrong category.

1 Like

To my knowledge, no, however might I ask why? There is already an Input key which is f9. I don’t see why you would need a button…

1 Like

I was just thinking about adding that to my admin GUI.
Thanks for your post @ItsSovxy.

If you want to have a script executor in your admin panel than you can make a remote that sends the script to the server to be ran using loadstring. just make sure to secure your remote to make sure a random exploiter can’t run it. If you want to see the output of a scripts than you can use LogService.

1 Like

You mean a server side executor, or just console?

I just want a button that opens the developer console (like the F9 key). But @AC_Starmarine also has an unasked for but very helpful suggestion that I would like to make in the future! Thank you

There is a way to open the dev console after looking. You can use this script:

local StarterGui = game:GetService("StarterGui") 

StarterGui:SetCore("DevConsoleVisible", true) -- true to open, false to close
4 Likes