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

How to make a clone of the workspace without the game crashing?

Asked by 6 years ago

I want to know how to make a clone of the workspace without the game crashing.

0
pls dont ask me y i cant do anything abt it TheluaBanana 946 — 6y
0
u simply cant lunatic5 409 — 6y

3 answers

Log in to vote
0
Answered by 6 years ago

Don't clone the workspace make a Folder inside of the workspace and put everything you want to copy in that and clone the folder instead.

Ad
Log in to vote
0
Answered by 6 years ago

ok let me rephrase it: how do i clone everything IN the workspace, assuming my game has like 4000 something parts inside of it without crashing(4000 * 2 = 8000 and 2 + 2 = 4; 4 - 1 = 3)

0
4000 might be an understatement TheluaBanana 946 — 6y
Log in to vote
0
Answered by
angeI1001 123
6 years ago
local Folder = Instance.new("Folder")
Folder.Parent = workspace

for _,v in pairs(workspace:GetDescendants) do
    v:Clone().Parent = Folder
    wait()
    end
end
0
yep but ithasnt answered the second part TheluaBanana 946 — 6y

Answer this question