So I wanted to know if it was possibly for me to make the admins on this so that if their name is in a string value object in replicatedstorage it will look for its formate {[""]} and then make players a admin and allow them to use this command for this script:

local isAdmin = 
game.ReplicatedStorage.Admins.Value  --Insert the admin's name into the ""'s (One name per "")
  
function findPlayer(name)
    for _, player in ipairs(game.Players:GetPlayers()) do
        if player.Name:lower() == name:lower() then
            return player
        end
    end
end
 
function onChatted(message, player)
if message == "Open" and isAdmin[player.Name] then --change ":normal" to the name of the command
	game.Workspace.Door.Parent = game.Lighting

    end	
--copy everything from 'if message == ":norma;"' until the first 'end' and paste it between this and the 'end' below this.
end


 --Copy and paste everything from if message == until the first 'end'  and change the building name and command each time.
 
game.Players.PlayerAdded:connect(function(player)
    player.Chatted:connect(function(message) onChatted(message, player) end)
end)

for some odd reason it doesn't work when I have the format {[""]} in the string value object