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

I need help cloning models?

Asked by 7 years ago

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.

0
Is there an error? xxxXMrsAwesomeXxxx 70 — 7y
0
I have an error. The error says, CFrame is not a valid member of Model. MrMinecraft998887 87 — 7y

1 answer

Log in to vote
1
Answered by 7 years ago

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

0
unless there is an error (like NathanTheDeveloper) said TheLowOne 85 — 7y
Ad

Answer this question