Hello, so i have a script wich i want to try and change and im wondering if it could be possible to get help with it because i'm a bit unsure..

(This is for a GUI)

The script

local main = require(game.ServerScriptService.PanelModule)

local groupId = main.settings.Main.groupId -- Insert Group ID Here.
local moderator = main.settings.Main.moderator -- Insert Moderator RankNumber Here.
local admin = main.settings.Main.admin -- Insert Admin RankNumber Here.
local owner = main.settings.Main.owner -- Insert Owner RankNumber Here.
local currency = main.settings.Main.currency

And im wondering if it's possible to change it to sometihng along the lines of

local ADMINS =
{

Names
Names

}

If it's possible to make it so you don't have to have the group it's just depented on the name only becuase i don't own a group and i only want some people to have access to it.

Appricate any help

1 comment

0

Yes, just create a table of usernames that you want to have admin access and check if the player is listed in the table when setting up admin controls. https://devforum.roblox.com/t/how-to-make-basic-admin-commands/59691 Read in the table that says adding admins.