FootBa11
|
  |
| Joined: 16 Sep 2008 |
| Total Posts: 11501 |
|
|
| 19 Dec 2013 05:57 PM |
This isnt working. Is it possible to do what i am trying to do? Note I am not inserting the name into the table, but the object. Can I do that?
slots = {} things = script.Parent:GetChildren() for i = 1,#things do if things[i].Name == "one" or things[i].Name == "two" or things[i].Name == "three" then table.insert(slots, things[i]) print("inserted "..things[i].Name.." into the table") end end for v = 1,#slots do -- CODE HERE end
|
|
|
| Report Abuse |
|
lolb3
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 2268 |
|
| |
FootBa11
|
  |
| Joined: 16 Sep 2008 |
| Total Posts: 11501 |
|
|
| 19 Dec 2013 06:00 PM |
lol im dumb. My if/then statements are blank in the code I didnt give you lol.
sorry xD |
|
|
| Report Abuse |
|