I am trying to load a map in my game. I’m assuming I’ll have quite large maps in the future and I do not want players to be teleported into the unloaded map.
Thus I want to yield until (or at least find a way to detect when) the model has fully finished cloning.
I couldn’t find anything by searching and I have no idea how I could approach this. I would appreciate if someone found a solution for me.
roblox scenegraph is unstable until the end of the current resumption cycle after mutations (wherein .Parent changes, for instance, dont fry your code)
so use task.defer
you could also use a yield + defer + resume mechanism