Issues with loading character

I’m trying to load a character model into my game and set it to a specific position. The loading character part works fine, but setting it to a specific position does not.

Here’s my code

local Rig = Enum.HumanoidRigType.R6
local ID = 421661162

local Desc = game.Players:GetHumanoidDescriptionFromUserId(ID)

local char = game.Players:CreateHumanoidModelFromDescription(Desc,Rig)

char.Parent = game.Workspace

char.PrimaryPart.Position = script.Parent.Position -- the problem

Try setting the CFrame of the PrimaryPart instead.
Like this:

char.PrimaryPart.CFrame = CFrame.new(script.Parent.Position)

Oh that actually worked, thank you

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