simple username whitelist
Key RequiredUniversal

simple username whitelist

Universal Scriptroflrofl 686 views 11 executesUpdated Apr 6, 2025
5.0/ 5(3 votes)
30100% Positive
Lua Script•23 lines (464 chars)
local whitelist = {
    "username",
    "username",
    "username",
    "username",
    "username",
    "username"
}

local playerName = game.Players.LocalPlayer.Name

local function isWhitelisted(name)
    for _, whitelistedName in ipairs(whitelist) do
        if name == whitelistedName then
            return true
        end
    end
    return false
end

if isWhitelisted(playerName) then
    print("hi") -- replace with your script, prefably a loadstring
end

Features & Information

pretty self explanatory
#username#whitelist

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts