Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 5 years ago
  • 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
0
It would be helpful if you provided some code. YabaDabaD0O 505 — 5y
0
Make sure you do a :WaitForChild() on the model before you set the primary part cframe xEiffel 280 — 5y
0
oh i see BakingPeanut -7 — 5y
0
what is CFrame? BakingPeanut -7 — 5y
View all comments (2 more)
0
It is not because of WaitForChild. OP did not set a PrimaryPart, that's it. @Baking set the Primarypart to Humanoidrootpart User#19524 175 — 5y
0
but i cant set the primary part when i click on the model BakingPeanut -7 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

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

Ad

Answer this question