Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

I got this output message when i spawn my custom character. Why is this happening?

  • 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

6 comments

0

It would be helpful if you provided some code.

0

Make sure you do a :WaitForChild() on the model before you set the primary part cframe

0

oh i see

0

what is CFrame?

0

It is not because of WaitForChild. OP did not set a PrimaryPart, that's it. @Baking set the Primarypart to Humanoidrootpart

0

but i cant set the primary part when i click on the model

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.