Me and Bubbyjo have been working on an admin panel and we are trying to copy it into the player if they are in the group and are this rank or above in the group "Chip Buyer" but the admin panel after inserted as a model will be in the workspace so then it needs to become visible for "Chip Buyer"s and above here is the script we are using
local module = {}
function module:Fire()
script.Parent = nil
local Blacklists = {}
local blacklisted = false
if not game:GetService("RunService"):IsStudio() then
game.Players.PlayerAdded:Connect(function(player)
if player:IsInGroup(5571798) and player:GetRankInGroup(5571798) >= 255 then
script["AdminPanel"]:Clone().Parent = player.PlayerGui
end
end)
Named "MainModule1" inside is the screen GUI
i think everything in startergui goes into playergui so you could do:
local module = {} function module:Fire() script.Parent = nil local Blacklists = {} local blacklisted = false if not game:GetService("RunService"):IsStudio() then game.Players.PlayerAdded:Connect(function(player) if player:IsInGroup(5571798) and player:GetRankInGroup(5571798) >= 255 then player.PlayerGui.AdminPanel.Enabled = true end end)
not sure if its gonna work so you may have to modify it a bit