|
| 13 Jan 2012 07:50 PM |
I have a map that is cloned into workspace from Lighting and the players are immediately placed in the map. I want to have a gui that is placed over the player's screen until all of the bricks in the map load.
I just need to know how to wait until every brick loads inside the map model. |
|
|
| Report Abuse |
|
Cyrok
|
  |
| Joined: 11 Jan 2012 |
| Total Posts: 630 |
|
|
| 13 Jan 2012 07:52 PM |
local modelChildren = #game.Lighting["modelName"]:GetChildren() -- Cloning model into Workspace repeat wait() #until game.Workspace["modelName"]:GetChildren() == modelChildren
{ Have a short chunk of code that isn't working? Send me a message and maybe I can assist you. } |
|
|
| Report Abuse |
|