in the output It says
09:10:47.681 - Model:GetPrimaryCFrame() failed because no PrimaryPart has been set, or the PrimaryPart no longer exists. Please set Model.PrimaryPart before using this. 09:10:47.682 - A primary part should be set so that the character can be spawned correctly.
I searched how to do it on this website but there was just a script error when I changed the code from workspace.model.PrimaryPart = workspace.model.Part to
StarterPlayer.StarterCharacter.PrimaryPart = StarterPlayer.StarterCharacter.
help me out if you can it will help with my game and fix a lot of bugs.

1 comment
I'm confused as to what you are trying to accomplish. You cannot set StarterPlayer as a primary part because it is not a BasePart. If you are trying to set it to a part IN starter player, then you need a reference to that part.