I have a problem with map loading times. The problem is I make every player's camera spin around the map to display it when it's loaded, but since there's a delay when it loads it seems to "jump" in time. So instead of waiting 5 seconds to display the map, it takes 1.
I want to pause the script until the map finishes loading to stop this problem, but I'm not sure how to do that. I see loading bars on other games so there must be a feature, unless it's some sort of placebo.
I tried to put a part on the bottom of the map model (by naming it "ZZZZZ") and using WaitForChild:
local map = game.ServerStorage.MapExample:Clone() map.Name = "Map" map.Parent = game.Workspace game.Workspace.Map:WaitForChild("ZZZZZ")
But nothing seemed to change. Thanks in advance!
I believe this may help!
local map = game.ServerStorage.MapExample:Clone() map.Name = "Map" wait(5.2) map.Parent = game.Workspace
I don't know much...
But if it didn't help... i'm sorry :(