There’s a better way to hold admin commands… I’ve made a post about creating a basic admin system which is below but this is what I’d recommend doing for your commands, descriptions, and titles.
local Commands = {
["Example Command"] = { --[["Title of the command"]]
CommandPhrases = {"example1","example2","ex1"}; --[[Add the phrases you want to use to trigger the event.]]
Level = 6, --[[This is the level of admin needed to use the command.]]
Active = true, --[[This determines if the command is able to be used or not.]]
Description = "This is where the commands description will be.", --[[This is where you describe what the command is supposed to do.]]
Function = function(Args) --[[This is the function that you need to call to run the command.]]
warn(Args)
end}
;
}
This gives users easier accessibility to add, modify, or remove what they need for each command. I’d recommend a table of commands like this, you can title it as you see fit and grab it with a for table
search. I especially recommend this as you can deactivate commands if you want to hold onto a command but not have it used.
Regarding the GUI, it definitely needs work. You don’t want a plain, or overly complex system.
@blve_hxrizon has a great product that I’d recommend looking at as an example of what you should or shouldn’t have in an admin panel.