Hello! So i've been looking all over the Roblox Dev forums even this site to find some sort of way to make your own Output but without success. I'm making it not because i want it to just look fancy but also to give other devs access to it. So what i want to do is basically the F9 console but my own that i can give to others.
By the way you don't need to include the whitelisting system because it's really easy to make on your own. I were just wondering if there is any way to make a custom F9 output.
Thanks in advance! -Derzett
First lets talk about reading the output.
The best way to go about this is using the handy LogService
Roblox provides.
https://developer.roblox.com/en-us/api-reference/class/LogService
There is only one function and one event for this service: GetHistoryLog()
, our only function. "Returns a table of tables, each of which corresponds to something which has been displayed in the output"
And we have our only event, MessageOut(message , messageType )
.
This fires whenever text is added to the output.
I'm sure you could disable the Developer console using :SetCore()
https://developer.roblox.com/en-us/api-reference/function/StarterGui/SetCore
And using the UserInputService
will probably allow you to bind a GUI to pop up when you press F9.
https://developer.roblox.com/en-us/api-reference/class/UserInputService
Exploiters can manipulate anything clientside, so unless you have some epic security installed for this GUI, don't do it for a big game. We don't want exploiters to have an easier way of seeing how your code works.