|
| 31 May 2012 12:18 PM |
game.Players.PlayerAdded:connect(function(player) local model = Instance.new("Model",workspace) model.Name = player.Name.."'s Coaster" local tag = Instance.new("StringValue",model) tag.Name = "Tag" tag.Value = ""..player.Name local starterkit = game.Lighting:FindFirstChild("StarterKit") local new = starterkit:Clone() new.Parent = model local stuff = new:GetChildren() stuff.Parent = model new:Remove() end)
***NO OUTPUT*** |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 31 May 2012 12:25 PM |
game.Players.PlayerAdded:connect(function(player) local model = Instance.new("Model",workspace) model.Name = player.Name.."'s Coaster" local tag = Instance.new("StringValue",model) tag.Name = "Tag" tag.Value = ""..player.Name local starterkit = game.Lighting:FindFirstChild("StarterKit") local new = starterkit:Clone() new.Parent = model local stuff = new:GetChildren() for i = 1,#stuff do stuff[i].Parent = model new:Destroy() end end)
|
|
|
| Report Abuse |
|
|
|
| 31 May 2012 12:30 PM |
| It works but there's one problem, there's only one model that didn't get deleted, there's a total of three models in the character's coaster model. |
|
|
| Report Abuse |
|
|
|
| 31 May 2012 12:30 PM |
| I want ALL the models to NOT get deleted in the character's coaster model. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
|
| 01 Jun 2012 11:30 AM |
for _,v in pairs (BLAH) do if not v:IsA("Model") then v:Destroy() end end |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
| |
|
TheMyrco
|
  |
| Joined: 13 Aug 2011 |
| Total Posts: 15105 |
|
|
| 01 Jun 2012 11:32 AM |
I was actualy on time but the data had to travel to le server and in those crucial milliseconds he posted dat. /troll
|
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 01 Jun 2012 11:40 AM |
| I thought at first when you said "time" you were going to mention the big bang theory :P |
|
|
| Report Abuse |
|
|
TDesire
|
  |
| Joined: 24 May 2012 |
| Total Posts: 35 |
|
|
| 01 Jun 2012 01:02 PM |
| You watch alot of TBS bro. |
|
|
| Report Abuse |
|
|