I tried searching this up on the Developer Hub but I couldn't find anything.
Hey I'm pretty new myself so I hope this explanation helps!
So R6 only has 6 parts - head,torso,Left Arm,Right Arm,Right Leg,Left Leg
R15 has 15 parts - Head, Upper Torso, Lower Torso, LeftUpper Arm, LeftLower Arm, LeftHand, RightUpper Arm, RightLower Arm, RightHand, LeftUpperLeg, LeftLowerLeg, LeftFoot, RightUpperLeg, RightLowerLeg, RightFoot
local character = --the character rig local humanoid = character.Humanoid if(humanoid.RigType == enum.HumanoidRigType.R15) then local limb = character[name_of_limb_goes_here] end