Currently, I am working on the core game mechanics in my place, and I'm stuck with a decision. Do I load in maps using InsertService() or do I load them in by having the maps in my game already, and then cloning them into the workspace? Will the second method break any map scripts? Will the fact that the map is just sitting there in my game's ServerStorage slow down performance?
Method #1
local map = game:GetService("InsertService"):LoadAsset(13456733)
map.Parent = workspace
if workspace:FindFirstChild("Model") then
for _,ungrouped in ipairs(workspace.Model:GetChildren()) do
if not ungrouped:IsA("Terrain") and not ungrouped:IsA("Camera") and not ungrouped:IsA("Folder") then
local u = ungrouped:Clone()
if u then
u.Parent = workspace
end
end
end
end
workspace.Model:Destroy()
Method #2
local map = game.ServerStorage.Map1:Clone()
map.Parent = workspace

4 comments
don't post opinion-based questions
This isn't opinion based, I'm looking for an answer that is backed up with facts.
No its opinion based.
Ok fine whatever you say