I want to know how to make a clone of the workspace without the game crashing.
COMMUNITY QUESTION
How to make a clone of the workspace without the game crashing?
3 answers
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.
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)
1 comment
0
4000 might be an understatement
local Folder = Instance.new("Folder")
Folder.Parent = workspace
for _,v in pairs(workspace:GetDescendants) do
v:Clone().Parent = Folder
wait()
end
end
1 comment
0
yep but ithasnt answered the second part
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
pls dont ask me y i cant do anything abt it
u simply cant