[CLOSED] Help with ADMIN Gui appearing for certain people

How do I make this GUI appear
image
When an certain player joins/respawns etc.
I’m an builder so I really don’t know how to script really so yeah.

This is in ServerScriptService idk where else to put it tell me.
Please help me, I want to join the game and I want the admin panel to appear.

First of all, you put UI in StarterUI, not in ServerScriptService.

As long as the Visible property is on, it will appear once you join the game.

1 Like

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

I wan’t it to appear for one person, aka me, It has to be an script clearly.

Also I just want Open source code, because I’m an builder and don’t plan on learning scripting.

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

I need an script, I’m not an scripter so that’s why I need help, like an Open source script because I don’t plan on scripting.

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)
2 Likes

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)?

yes, then add the script that I just sent and it should work.

Doesn’t work… Sir.
Characterssss

Here look!
image

show the script that you entered

nvm It’s okayyyyyy
Characterss