I want to publish my first tutorial in the forum, and this is about optimization for clones. I got this script:
local SelectedItem = game.ServerStorage.Map
local SelectedItemGroup = Instance.new("Model")
for i,v in pairs(SelectedItem:GetChildren()) do
local Part = v:Clone() --map clone
Part.Parent = map
wait(0.1)
end
So it’s exactly, the same thing as this:
local SelectedItem = game.ServerStorage.Map
local SelectedItemClone = SelectedItem:Clone()
SelectedItemClone.Parent = game.Workspace
But i don’t know if the first example is more optimized than the second, that’s my question. Thanks for reading