Universal Script 📌
691 Views
11 Executions

simple username whitelist

Universal Script 📌
rofl
roflFirst script
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

pretty self explanatory

View Raw
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


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Script hub
29.6k
92.0k
2 weeks ago
Key System

Script hub

#5 this week

Verified script badgeArcane Hub | 125+ Games & 4000+ Features

Script hub
138.1k
417.6k
9 months ago
Key System

Script hub

Hall of Fame #6

Verified script badgeAcro Hub | Easy Key System

Script hub
3.9M
964.7k
1 year ago

Script hub

Hall of Fame #3

KeylessVerified script badge[KEYLESS] Moondiety Script | 20+ supported Games

Script hub
165
9
2 days ago
Key System
Paid
Script hub
3.0M
14.6M
3 years ago

Script hub

Hall of Fame #1

KeylessVerified script badgeYARHM - MM2, FTF, Forsaken, etc.

Script hub
551
133
2 days ago
Key System