How do I know when a map is fully loaded?
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:
1 | local map = game.ServerStorage.MapExample:Clone() |
3 | map.Parent = game.Workspace |
5 | game.Workspace.Map:WaitForChild( "ZZZZZ" ) |
But nothing seemed to change. Thanks in advance!