When I clone a model from lighting to workspace it removes the PrimaryPart. I don’t need anymore context. Could this be a bug or one of my scripts?
Not sure why you would use Lighting as your clone/storage spot vs ServerStorage but,
In both cases and even with a non clone move the PrimaryPart input held up fine in testing.
That may not be the case from Lighting when compiled however.
i tried move to server stoarage, But its still giving the same error. I’ll just change up the tool
Without a script sample it is hard to know what might be happening.
im just using :setmodelprimarypart(), i dont have script smple right now
Try this:
wait(6)
local model = game.Lighting.Model
local function createClone()
print("Creating Clone")
local clone = model:Clone()
clone.Parent = game.Workspace
end
createClone()
a Model on workspace with a part in it named Part.
Setting the PrimaryPart on the Model to that Part …
workspace.Model.PrimaryPart = workspace.Model.Part