make a table of the ID’s of the players that can access the gui, and when a player joins you can just do table.find to see if that player’s ID exists in the table. if it does u can clone the gui and place the clone in the playergui of the player
You shouldn’t put the admin gui in starter gui cuz any exploiter can simply just go to their player gui and toggle visible property to true and see it. ServerScriptService would be a better alternative, as no client can access it
local admins = {
154067533 -- add your admins' UserId's here, you can add more if you would like
}
game.Players.PlayerAdded:Connect(function(p)
local isAdmin = table.find(admins,p.UserId)
if isAdmin then
print(p.Name.." is an admin!")
script.adminUI:Clone().Parent = p.PlayerGui
end
end)
So I make an ScreenGUI and put the ImageUI or whatever in the ScreenGUI put ScreenGUI into SeverSScript service, make an Script put the ScreenGUI under the script(In the script)?