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

How do I mass clone a part?

Asked by
Tutoola 20
9 years ago

My code:

while true do
workspace.Part:clone(50)

end

2 answers

Log in to vote
2
Answered by
Tigerism 220 Moderation Voter
9 years ago

First you need to add a wait() to the while loop, or you'll crash.

Then doworkspace.Part:Clone().Parent = workspace to clone it to workspace. Final code:

while true do
wait()
game.Workspace.Part:Clone().Parent = workspace
end
Ad
Log in to vote
2
Answered by
BlastNet 250 Moderation Voter
9 years ago

Here's an example:

while wait() do
workspace.Part:clone().Parent = workspace
end
0
that's what i do ilolallthetime 70 — 9y

Answer this question