How do I weld meshed hats unto Players with a specific rank in a group?

I have a helmet here, made out of 8 MeshParts. I would like to know on how I’m supposed to weld it unto a player with a specific rank in a clan in which I own.

Here is a screenshot of the provided helmet.

local groupID = 0
local groupRank = 0

local function loadHelmet(plr, char)
   if plr:GetRankInGroup(groupID) >= groupRank then
      ... -- your helmet loading code here
1 Like