Sonic50
|
  |
| Joined: 12 Aug 2007 |
| Total Posts: 32 |
|
|
| 24 Jan 2012 04:59 PM |
Can someone please fix it to show everything in game.Lighting.Stuff3?
group = game.Lighting.Stuff3:GetChildren() for r = 1, #group do object = group[r] script.Parent.Parent.Stuf.Text = (object.Name) r = r +1 end
~Trollaminus |
|
|
| Report Abuse |
|
|
|
| 24 Jan 2012 05:00 PM |
group = game.Lighting.Stuff3:GetChildren() for r = 1, #group do object = group[r] script.Parent.Parent.Stuf.Text = script.Parent.Parent.Stuf.Text..", "..object.Name end
-[::ƧѡÎḾḠΰῩ::]-[::Maker of stuff and Helper of Scripting::]- |
|
|
| Report Abuse |
|
|
Sonic50
|
  |
| Joined: 12 Aug 2007 |
| Total Posts: 32 |
|
|
| 24 Jan 2012 05:03 PM |
Thanks. Also how could i make it so if i add something to Stuff3 while in game it will show that?
~Trollaminus |
|
|
| Report Abuse |
|
|
Sonic50
|
  |
| Joined: 12 Aug 2007 |
| Total Posts: 32 |
|
| |
|
|
| 24 Jan 2012 05:12 PM |
group = game.Lighting.Stuff3:GetChildren() for r = 1, #group do object = group[r] script.Parent.Parent.Stuf.Text = script.Parent.Parent.Stuf.Text..", "..object.Name end group.ChildAdded:connect(function(child) script.Parent.Parent.Stuf.Text = script.Parent.Parent.Stuf.Text..", "..child.Name end)
-[::ƧѡÎḾḠΰῩ::]-[::Maker of stuff and Helper of Scripting::]- |
|
|
| Report Abuse |
|
|
Sonic50
|
  |
| Joined: 12 Aug 2007 |
| Total Posts: 32 |
|
|
| 24 Jan 2012 05:14 PM |
Does not work.
~Trollaminus |
|
|
| Report Abuse |
|
|
Sonic50
|
  |
| Joined: 12 Aug 2007 |
| Total Posts: 32 |
|
| |
|
Sonic50
|
  |
| Joined: 12 Aug 2007 |
| Total Posts: 32 |
|
| |
|
|
| 24 Jan 2012 05:59 PM |
DOH, I'm stupid D:
group = game.Lighting.Stuff3:GetChildren() for r = 1, #group do object = group[r] script.Parent.Parent.Stuf.Text = script.Parent.Parent.Stuf.Text..", "..object.Name end game.Lighting.Stuff3.ChildAdded:connect(function(child) script.Parent.Parent.Stuf.Text = script.Parent.Parent.Stuf.Text..", "..child.Name end)
-[::ƧѡÎḾḠΰῩ::]-[::Maker of stuff and Helper of Scripting::]- |
|
|
| Report Abuse |
|
|
Sonic50
|
  |
| Joined: 12 Aug 2007 |
| Total Posts: 32 |
|
|
| 24 Jan 2012 06:08 PM |
Ok thanks that works, but when i add another item into Stuff3 it does not change the name it just take the first ones name. ~Trollaminus |
|
|
| Report Abuse |
|
|
Sonic50
|
  |
| Joined: 12 Aug 2007 |
| Total Posts: 32 |
|
| |
|
Sonic50
|
  |
| Joined: 12 Aug 2007 |
| Total Posts: 32 |
|
|
| 24 Jan 2012 06:55 PM |
anyone please?
~Trollaminus |
|
|
| Report Abuse |
|
|
Sonic50
|
  |
| Joined: 12 Aug 2007 |
| Total Posts: 32 |
|
| |
|
Sonic50
|
  |
| Joined: 12 Aug 2007 |
| Total Posts: 32 |
|
| |
|