I found this script on devforum, maybe try using this (it won’t do it based on rank or team, but it’s a basic start just to see if this works)
local FolderWithAccessories = game.ServerStorage:WaitForChild("AccessoriesFolder")
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(char)
player.CharacterAppearanceLoaded:Wait()
for _, accessory in pairs(FolderWithAccessories:GetChildren()) do
if accessory:IsA("Accessory") then
char:WaitForChild("Humanoid"):AddAccessory(accessory)
end
end
end)
end)
Credit to this post