'Unable to cast token to token' when attempting to load player character

I am attemping to load the player’s character, but I keep getting the error Unable to cast token to token.

Code:

local desc = PLRS:GetHumanoidDescriptionFromUserId(PLR.UserId)
local model = PLRS:CreateHumanoidModelFromDescription(desc, Enum.RigType.R15)
model.Parent = workspace

I don’t understand why I am getting this error and I can’t find any solutions online.

It’s HumanoidRigType and not RigType

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.