Title pretty much explains it all, just looking for ways people get around causing lag when loading in maps (Parenting from Replicated Storage to Workspace)
Any answer is appreciated
Title pretty much explains it all, just looking for ways people get around causing lag when loading in maps (Parenting from Replicated Storage to Workspace)
Any answer is appreciated
A trick to avoiding this immediate replication lag is to load it in chunks so the objects are parented on different frames. An example of this:
local map = game.ReplicatedStorage.Map :: Model
local newMap = Instance.new("Model")
newMap.Name = map.Name
newMap.Parent = game.Workspace
for _, v in map:GetChildren() do
v.Parent = newMap
task.wait()
end
Also, I would argue that storing it in ServerStorage will be better for client performance.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.