How to know if a player is using R15 or R6?

Hey guys! I hope you all do very very well! Being direct, I’m making a system where when you die your body parts get transparent, but I don’t know how to know if a player is using R15 or R6, to transform a specific body part into a transparent one (R15 and R6 doesn’t have the same body parts names) what do you recommend me to do?

I think you should know a way that I can get information about if the player is using R15 or R6

Thanks for reading and have a nice day! byee! :wave: :grinning_face_with_smiling_eyes: :grin: :wink:

Humanoid.RigType may help you.

1 Like

you can detect whether they have a upper or lower torso if not then they are not r15 or you can do

local humanoid = game.Players.LocalPlayer.Character.Humanoid

if humanoid.RigType == Enum.HumanoidRigType.R15 then
       print("") -- whatever you want
else
       print("") -- whatever you want
end
2 Likes