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
11 years ago

i've tried this code

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

the position i dont really wana put but whatever

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

1Part = game.Workspace.part
2Part2 = Part:clone
3Part2.Parent = game.Workspace
4Part2.Position =

the position i dont really wana put but whatever

2 answers

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

I'm Aurum, and you're welcome.

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

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

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

0
Thanks funzrey 58 — 11y

Answer this question