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”