I've tried:
Table = {}
for i,v in pairs(workspace:GetChildren()) do
if v ~= nil then
table.insert(Table, v)
Table[v.Name] = v:Clone()
v:Destroy()
end
end
But nothing happens. I just see everything in Studio Explorer.
I've tried:
Table = {}
for i,v in pairs(workspace:GetChildren()) do
if v ~= nil then
table.insert(Table, v)
Table[v.Name] = v:Clone()
v:Destroy()
end
end
But nothing happens. I just see everything in Studio Explorer.
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
what is your goal here?
As Water said, maybe add description on what you're trying to achieve. Also you can use game.ServerStorage to store in-game objects.