So, I'm trying to make an admin panel for ranks 6+ in group League Hotel (Group ID is 4646564) and it doesn't work. Here's what I have so far. Any help is appreciated. Also, it's a local script.
local plr = game.Players.LocalPlayer
if plr:GetRankInGroup(4646564) >=6 then
if game.StarterGui:FindFirstChild("AdminPanel") then
game.StarterGui.AdminPanel:Destroy()
end

1 comment
Thank you.