I was messing around and had the idea to make an admin GUI. All I need to figure out is the admin script to customize the admins. Here's what I came out with:
--Please put in their ID for it to work
local Admins = {138149463,}
-- No touchy :)
local Players = game:GetService("Players")
local function onPlayerAdded(newPlayer)
if newPlayer.UserId == Admins then
script.Parent.AdminPanel.Visible = true
end
end
if script.Parent.Credit.Value == "robolol788" then
else script.Parent:Destroy()
end
Players.PlayerAdded:Connect(onPlayerAdded)
I have no errors in the output. Help!
