Miztix
|
  |
| Joined: 11 May 2009 |
| Total Posts: 3510 |
|
|
| 27 Sep 2014 04:27 PM |
It spawns the models, but they all just fall apart, I've added :MakeJoints(), but nothing changes.
map1 = game.Lighting:findFirstChild("House") map2 = game.Lighting:findFirstChild("Noob") map3 = game.Lighting:findFirstChild("Skyscraper") map4 = game.Lighting:findFirstChild("Justin Bieber") map5 = game.Lighting:findFirstChild("Ship") map6 = game.Lighting:findFirstChild("Barney") map7 = game.Lighting:findFirstChild("Castle") map8 = game.Lighting:findFirstChild("Patrick") map9 = game.Lighting:findFirstChild("Spongebob") map10 = game.Lighting:findFirstChild("Tower") time = 120 clone = map1:clone() clone:MakeJoints() clone2 = map2:clone() clone2:MakeJoints() clone3 = map3:clone() clone3:MakeJoints() clone4 = map4:clone() clone4:MakeJoints() clone5 = map5:clone() clone5:MakeJoints() clone6 = map6:clone() clone6:MakeJoints() clone7 = map7:clone() clone7:MakeJoints() clone8 = map8:clone() clone8:MakeJoints() clone9 = map9:clone() clone9:MakeJoints() clone10 = map10:clone() clone10:MakeJoints() wait() map1:remove() map2:remove() map3:remove() map4:remove() map5:remove() map6:remove() map7:remove() map8:remove() map9:remove() map10:remove() while true do local map = clone:clone() map.Parent = game.Workspace wait(time) map:remove() local map = clone2:clone() map.Parent = game.Workspace wait(time) map:remove() local map = clone3:clone() map.Parent = game.Workspace wait(time) map:remove() local map = clone4:clone() map.Parent = game.Workspace wait(time) map:remove() local map = clone5:clone() map.Parent = game.Workspace wait(time) map:remove() local map = clone6:clone() map.Parent = game.Workspace wait(time) map:remove() local map = clone7:clone() map.Parent = game.Workspace wait(time) map:remove() local map = clone8:clone() map.Parent = game.Workspace wait(time) map:remove() local map = clone9:clone() map.Parent = game.Workspace wait(time) map:remove() local map = clone10:clone() map.Parent = game.Workspace wait(time) map:remove() end |
|
|
| Report Abuse |
|
|
|
| 27 Sep 2014 04:28 PM |
| You need to anchor everything, the stuff falling apart has nothing to do with the script. |
|
|
| Report Abuse |
|
|
Miztix
|
  |
| Joined: 11 May 2009 |
| Total Posts: 3510 |
|
|
| 27 Sep 2014 04:30 PM |
| @vicious, I want the model to be destroyable |
|
|
| Report Abuse |
|
|
Miztix
|
  |
| Joined: 11 May 2009 |
| Total Posts: 3510 |
|
|
| 27 Sep 2014 04:32 PM |
| and the models don't fall apart when they're on their own |
|
|
| Report Abuse |
|
|
Miztix
|
  |
| Joined: 11 May 2009 |
| Total Posts: 3510 |
|
|
| 27 Sep 2014 04:37 PM |
| come on ppl, trying to make a game here :/ |
|
|
| Report Abuse |
|
|
Miztix
|
  |
| Joined: 11 May 2009 |
| Total Posts: 3510 |
|
| |
|
|
| 27 Sep 2014 05:00 PM |
| prai to shrek and it fixes eet |
|
|
| Report Abuse |
|
|
Curozilla
|
  |
| Joined: 18 Jun 2014 |
| Total Posts: 2219 |
|
|
| 27 Sep 2014 05:02 PM |
| Welding should do the job. |
|
|
| Report Abuse |
|
|
Miztix
|
  |
| Joined: 11 May 2009 |
| Total Posts: 3510 |
|
| |
|
Curozilla
|
  |
| Joined: 18 Jun 2014 |
| Total Posts: 2219 |
|
|
| 27 Sep 2014 05:55 PM |
| Now that's just disrespectful. |
|
|
| Report Abuse |
|
|
|
| 27 Sep 2014 05:58 PM |
map1 = game.Lighting:findFirstChild("House") map2 = game.Lighting:findFirstChild("Noob") map3 = game.Lighting:findFirstChild("Skyscraper") map4 = game.Lighting:findFirstChild("Justin Bieber") map5 = game.Lighting:findFirstChild("Ship") map6 = game.Lighting:findFirstChild("Barney") map7 = game.Lighting:findFirstChild("Castle") map8 = game.Lighting:findFirstChild("Patrick") map9 = game.Lighting:findFirstChild("Spongebob") map10 = game.Lighting:findFirstChild("Tower") time = 120 clone = map1:clone() clone:MakeJoints() clone2 = map2:clone() clone2:MakeJoints() clone3 = map3:clone() clone3:MakeJoints() clone4 = map4:clone() clone4:MakeJoints() clone5 = map5:clone() clone5:MakeJoints() clone6 = map6:clone() clone6:MakeJoints() clone7 = map7:clone() clone7:MakeJoints() clone8 = map8:clone() clone8:MakeJoints() clone9 = map9:clone() clone9:MakeJoints() clone10 = map10:clone() clone10:MakeJoints() wait() local weld map1:remove() map2:remove() map3:remove() map4:remove() map5:remove() map6:remove() map7:remove() map8:remove() map9:remove() map10:remove() while true do local map = clone:clone() map.Parent = game.Workspace wait(time) map:remove() local map = clone2:clone() map.Parent = game.Workspace wait(time) map:remove() local map = clone3:clone() map.Parent = game.Workspace wait(time) map:remove() local map = clone4:clone() map.Parent = game.Workspace wait(time) map:remove() local map = clone5:clone() map.Parent = game.Workspace wait(time) map:remove() local map = clone6:clone() map.Parent = game.Workspace wait(time) map:remove() local map = clone7:clone() map.Parent = game.Workspace wait(time) map:remove() spawn(wait) local map = clone8:clone() map.Parent = game.Workspace wait(time) map:remove() local map = clone9:clone() map.Parent = game.Workspace wait(time) map:remove() local map = clone10:clone() map.Parent = game.Workspace wait(time) map:remove() end
|
|
|
| Report Abuse |
|
|
Miztix
|
  |
| Joined: 11 May 2009 |
| Total Posts: 3510 |
|
|
| 28 Sep 2014 03:08 AM |
| @hyroad, didn't work, the model still falls apart... |
|
|
| Report Abuse |
|
|
Roblok1
|
  |
| Joined: 27 Jul 2011 |
| Total Posts: 2019 |
|
|
| 28 Sep 2014 04:17 AM |
| And this is why loops were created. So ur code doesn't come out like that. |
|
|
| Report Abuse |
|
|
Roblok1
|
  |
| Joined: 27 Jul 2011 |
| Total Posts: 2019 |
|
|
| 28 Sep 2014 04:20 AM |
| One other thing... You need to parent the models to the workspace before u call :MakeJoints() |
|
|
| Report Abuse |
|
|
|
| 28 Sep 2014 10:38 AM |
| That's what I was about to say, Roblock, also, you could probably efficionize this by a ton. |
|
|
| Report Abuse |
|
|
Miztix
|
  |
| Joined: 11 May 2009 |
| Total Posts: 3510 |
|
|
| 28 Sep 2014 01:27 PM |
| already fixed it, thanks to everyone who helped |
|
|
| Report Abuse |
|
|