|
| 20 Feb 2015 01:30 PM |
| I have 2 objects with the same name in Workspace. How can I refer to both of them in a script. |
|
|
| Report Abuse |
|
|
| |
|
kepz
|
  |
| Joined: 18 Jul 2012 |
| Total Posts: 671 |
|
|
| 20 Feb 2015 02:25 PM |
for i, v in pairs(game.Workspace:GetChildren()) do if v.Name == "SameNameObjects" then -- do stuff end end |
|
|
| Report Abuse |
|
|
|
| 20 Feb 2015 02:25 PM |
| Make then two different names. |
|
|
| Report Abuse |
|
|