local Pants = script.Pants
local Shirt = script.Shirt
local GroupID = 6763603
script.Parent.ClickDetector.MouseClick:connect(function(Player)
if not Player:IsInGroup(GroupID) then return end
if Player:GetRankInGroup(GroupID) < 255 then return end -- Role Id
local Character = Player.Character
if Character == nil then return end
-- Get new shirt
local CharacterShirt = Character:findFirstChild("Shirt")
if CharacterShirt then CharacterShirt:Destroy() end
Shirt:Clone().Parent = Character
-- Get new pants
local CharacterPants = Character:findFirstChild("Pants")
if CharacterPants then CharacterPants:Destroy() end
Pants:Clone().Parent = Character
end)
How can I make it so I can have more than role Id in this script So it work's for others to?

2 comments
you could put multiple ids in a table and loop through
How would I do that?