What Is a Roblox Script Whitelist?
What a Roblox script whitelist is, how it decides who can run your script, how it differs from a key system, and when you need one.
A Roblox script whitelist is a list of people allowed to run your script. Everyone on the list can use it; everyone else is turned away. It's the simplest way to make a script private, and it's the foundation most paid scripts are built on.
This post covers what a whitelist is, how it works under the hood, and how it relates to key systems.
How a whitelist works
A script whitelist always has three parts:
- An identity. Something that tells you who is running the script: a key, a Discord account, a Roblox user ID or a hardware ID.
- A list on a server. The identities that are allowed.
- A check before the script runs. The loader asks the server, "is this identity on the list?" and only continues if the answer is yes.
The list must live on a server you control. A whitelist written into the script itself can be read and edited by anyone who has the script.
Whitelist vs key system
People use the words interchangeably, but there is a difference:
- A whitelist is about who. You add specific people.
- A key system is about what they hold. Anyone with a valid key can run the script, and keys can be sold, handed out through a key flow, or expire.
In practice most services combine them: a key gets someone onto the whitelist, and the whitelist entry is locked to their device so the key can't be passed on. Our key system guide goes into keys in detail.
Which identity should you use?
| Identity | Good for | Watch out for | |---|---|---| | Key | Selling, key flows | Keys get shared unless locked | | Hardware ID | Stopping sharing | Changes when players change devices | | Roblox user ID | Game-specific access | Alts are free to make | | Discord account | Communities, roles | Needs Discord linked |
Using a key plus a hardware lock covers most cases.
When you need a whitelist
- You sell your script, or plan to.
- You share it with a private group and want it to stay private.
- You want to remove someone's access later without changing the script for everyone.
If your script is fully free and public, you may not need one at all, though a key flow can still earn you money from it.
Picking a whitelist service
Building your own whitelist means running a server, keeping it online, and protecting the check from being patched out of the script. Most developers use a service. We wrote a separate guide on how to choose a whitelist service, and if you're comparing options, our Luarmor alternative page shows what LuaProtect includes on the free plan.
Summary
A whitelist is a server-side list of who can run your script, checked before the script starts. Combine it with keys and a device lock, keep the check inside protected code, and you have the base of a paid script.