PrimaryPart no longer exists. Please set Model.PrimaryPart before using this?
Hello, watch this error that appears here, I'm doing an obby and I created a platform and I wanted it to move and go back to the place, so I created this script:
04 | script.Parent.CFrame = script.Parent.CFrame * CFrame.new( 89.923 , 0.099 , 175.222 ) |
09 | script.Parent.CFrame = script.Parent.CFrame * CFrame.new( 58.457 , 0.099 , 175.222 ) |
and the error is this:
**Model:GetPrimaryPartCFrame() 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 **