Humanoid.RigType = Enum.RigType.R15 raises unaccurate error

So running this lua code below:
char.Humanoid.RigType = Enum.RigType.R15

Raises this error:
Unable to assign property RigType. EnumItem of type RigType expected, got an EnumItem of type RigType

Its asking for EnumItem of type RigType and I am providing it with a EnumItem of type RigType which makes no sense.

Expected behavior

But the compiler is actually lying, the property RigType of Humanoid expects a Enumitem of type “HumanoidRigType”

So running this code would work
char.Humanoid.RigType = Enum.HumanoidRigType.R15

When running
char.Humanoid.RigType = Enum.RigType.R15

The error should be “Unable to assign property RigType. EnumItem of type HumanoidRigType expected, got an EnumItem of type RigType”

3 Likes

This is just an acknowledgment announcement!

We’ve filed a ticket into our internal database for this issue, and will come back as soon as we have updates!

Thanks for flagging!

1 Like