Now I face another problem, I’m trying to make it so only admins can view the team change menu for admins. My script is here:
local Admins = {1636313428}
for _,id in pairs(Admins) do
if game.Players.LocalPlayer.UserId == id then
print("Player is admin")
else
script.Parent.Visible = false
end
end
The problem is that it doesnt get destroyed.