- Model:GetPrimaryCFrame() failed because no PrimaryPart has been set, or the PrimaryPart no longer exists. Please set Model.PrimaryPart before using this. A primary part should be set so that the character can be spawned correctly
COMMUNITY QUESTION
I got this output message when i spawn my custom character. Why is this happening?
1 answer
This is not a coding error, you just have to set the primary part. Go to explorer, select the custom character, and link its primary part to HumanoidRootPart
This discussion is preserved as it was. New answers, comments, and votes are closed.

6 comments
It would be helpful if you provided some code.
Make sure you do a :WaitForChild() on the model before you set the primary part cframe
oh i see
what is CFrame?
It is not because of WaitForChild. OP did not set a PrimaryPart, that's it. @Baking set the Primarypart to Humanoidrootpart
but i cant set the primary part when i click on the model