Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
Advertisement
Add Comment
Please, Sign In to add comment