Skip to main content

Setting up the whitelist

The Whitelist script contains the global whitelist, which will be used by all panels. It's disabled by default. If you wish to enable it, open the Whitelist script and add player usernames, player IDs, groups, gamepasses or teams to it.

All whitelist elements should go between { and }. Each whitelist entry should be separated by a comma (,)

info

The whitelist is disabled by default. You don't have to do anything if you want to keep it that way

Usernames

If you want to add players by username, put each username in quotes (" "). Make sure each username is capitalised properly and that you're using usernames and NOT display names. For example, if you wanted to whitelist 3 players: gabys2005, idezye and GiorgioworldcupTEMP, the whitelist would look like this:

return { "gabys2005", "idezye", "GiorgioworldcupTEMP" }

User IDs

Every user on Roblox has their own unique ID which never changes. You can get it by going to that user's profile and copying the numbers from the link. For example if a user's profile is available at https://www.roblox.com/users/147274250/profile, then their ID is 147274250.

You can add users by ID to the whitelist the same way as above, but don't include the quotes. For example:

return { 147274250, 8119061, 2648641915 }

Using user IDs helps ensure that those players will have access to the panels, even when they change their username

Group ranks

Sometimes you might want a certain rank or ranks in a group to have access to the panels. This is a bit more complicated than usernames or user IDs. A template for that looks like this:

{ Group = 32780278, Ranks = { "Staff", "Owner" } },

Change 32780278 to the ID of your group (you can get the ID the same way you get the ID of a player) and Staff and Owner to the ranks you wish to whitelist, you can add more ranks the same way you added usernames earlier.

In the end, the whitelist script could look like this:

return {
{ Group = 32780278, Ranks = { "Staff", "Owner" } },
}
tip

You can put each whitelist entry on a new line, this helps avoid confusion

Gamepass owners

There are cases where you might want only owners of a gamepass to have access to the panels. Adding gamepasses to the whitelist is very similar to groups. The template looks like this:

{ Gamepass = 14143793 },

Just change the 14143793 to the ID of your gamepass

In the end, the whitelist script could look like this:

return {
{ Gamepass = 14143793 },
}

Teams

Maybe you want everyone on a team to be able to access the panels. You can just include the team in the settings. For example, if everyone who is on the Staff team should be able to access the panels, the whitelist could look like this:

return {
game.Teams.Staff,
}

Examples

Most of the time you'll just want to allow a few players to control the panels. In those cases, the whitelist could look like this:

return { "gabys2005", "idezye", "GiorgioworldcupTEMP", "oxyo_rbx" }

You can mix the different whitelist types together, for example you might want to make it so all gamepass holders and a select few players can control the panels. This could look like this:

return {
"gabys2005",
"idezye",
{ Gamepass = 14143793 },
}