How to detect if a character is Rthro?

I tried Humanoid.RigType but looks like “Rthro” is not a rigtype, rthro is R15. So I dont know what to do.

1 Like

You could detect if the Player has a Rhtro UpperTorso Id. Basically you would have to get all Ids of Rhtro Torsos and check on join if the Torso Id of the player matches with the one you saved.

1 Like

If it’s local script then

wait (1/60)
local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local LT = char:FindFirstChild("LowerTorso")

if LT then
print ("Character is Rthro")
else
print ("Character isn't Rthro")
end

your like comparing r6 and r15 rig because normal r15 rig also has LowerTorso


maybe check if lower or upper torso is mesh part and check if the mesh id is for rthro

1 Like

Aw, you are right, I forgot about it ;~;

Too much work damn D: but thanks for answering

Ok now I tested again and rewrote it, it should work.
If it’s local script:

wait (1/60)
local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()

for _, v in pairs (char:GetDescendants()) do 
	if v:IsA("MeshPart") then
		if v.TextureID ~= "" then -- do not change "" to nil or else somehow it won't work
			print ("Character is Rthro")
		else
			print ("Character isn't Rthro")
		end
	end
end
1 Like

You mean, so the rthros doesnt have a Texture id value? :o

rthro uses mesh parts… idrk if some of it uses character mesh… dont know the difference.


try something similar to @Phantom9997.

insert a local script or server script on StarterCharacterScripts
and it should be like:

local Char = script.Parent -- the player
local Hum = Char:FindFirstChild("Humanoid")

if Hum ~= nil then
    if Hum.RigType == Enum.HumanoidRigType.R15 then
        for index, value in pairs(Char:GetChildren()) do
            if value.Name == "UpperTorso" then
                if value:IsA("MeshPart") then
                    print("Something")
                end
            end
        end
    end
end

I mean that Rthros has Texture ID, but R15 doesn’t. So if character has texture - it’s Rthro, else it’s R15.
P.S

== means equal

~= means… not equal

that’s why I added “~=” bc if the humanoid is nil then what am I checking? and I’m also checking the humanoid rig type because rthro also uses r15 rig type. and I check if the value’s name is “UpperTorso” and I checked if its a MeshPart because rthro also uses it… don’t know if it uses Texture Id or you mean Mesh Id.

welp, I replied it to him

; w;
But the point is that R15 uses MeshPart too. So difference is only in TextureID. Rthro has TextureID unlike R15.

4 Likes

that info is useful thanks--------------------------------

1 Like

Regular avatar bodies use meshed lower torsos too.

The classic “Superhero” body uses a mesh lower torso, and with the scripts posted here, would get filtered along with the typical Rthro ones.