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

I need help cloning models?

I am trying to clone a model in the workspace.

local function createPart(location)
	local car = game.ReplicatedStorage.Assets.Car
	car:clone()
	car.Parent = game.Workspace
	car.CFrame = spawnblock.CFrame
end

This isn't working can someone please help.

2 comments

0

Is there an error?

0

I have an error. The error says, CFrame is not a valid member of Model.

1 answer

When cloning a model, the model needs to be Archivable car.Archivable = true

1 comment

0

unless there is an error (like NathanTheDeveloper) said

This discussion is preserved as it was. New answers, comments, and votes are closed.