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

Help on a clone script?[SOLVED]

Asked by 10 years ago

I already know how to clone an object but how do i then send it to a certain place.

1 answer

Log in to vote
1
Answered by
iaz3 190
10 years ago
local ObjectToClone = game.Workspace.part -- What to clone

local clone = ObjectToClone:clone() -- cloned, parent will be nil. You must set it
clone.Parent = game.Workspace -- Set the parent of the object.
clone.CFrame = game.Workspace.Baseplate.CFrame -- Moves the new object inside of part Baseplate. Will not work on a model. This will move the part to the exact position of Baseplate

Ad

Answer this question