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

I need to learn how to copy parts and create parts but it dosent work, how can i do it?

Asked by
funzrey 58
10 years ago

i've tried this code

part1 = Instance.new("Part")
part1.Parent = game.Workspace
part1.Position = 

the position i dont really wana put but whatever

And it dosent work So How do i copy and create?

Part = game.Workspace.part
Part2 = Part:clone
Part2.Parent = game.Workspace
Part2.Position = 

the position i dont really wana put but whatever

2 answers

Log in to vote
1
Answered by 10 years ago
Part = Instance.new("Part", game.Workspace)
PartTwo = Part:Clone()
PartTwo.Parent = game.Workspace
PartTwo.Position = Vector3.new(N/A, N/A, N/A)

I'm Aurum, and you're welcome.

0
Thank You. funzrey 58 — 10y
0
Also Forgot about Vector3.new XD funzrey 58 — 10y
Ad
Log in to vote
2
Answered by 10 years ago

Are you sure your part is called "part"? Remember, capitalization matters.

Also, it's :Clone() not :Clone. :)

0
Thanks funzrey 58 — 10y

Answer this question