rrytry
|
  |
| Joined: 21 Aug 2012 |
| Total Posts: 4151 |
|
| |
|
|
| 05 Nov 2013 05:15 PM |
| You want to get ALL of the properties? |
|
|
| Report Abuse |
|
|
rrytry
|
  |
| Joined: 21 Aug 2012 |
| Total Posts: 4151 |
|
| |
|
|
| 05 Nov 2013 05:22 PM |
for _,v in pairs(workspace:GetChildren()) do if v.Name == 'cat1" then --codehereblablablabla end end
I dunno, maybe that'll work? |
|
|
| Report Abuse |
|
|
rrytry
|
  |
| Joined: 21 Aug 2012 |
| Total Posts: 4151 |
|
| |
|
rrytry
|
  |
| Joined: 21 Aug 2012 |
| Total Posts: 4151 |
|
| |
|
rrytry
|
  |
| Joined: 21 Aug 2012 |
| Total Posts: 4151 |
|
| |
|
rrytry
|
  |
| Joined: 21 Aug 2012 |
| Total Posts: 4151 |
|
| |
|
KEVEKEV77
|
  |
| Joined: 12 Mar 2009 |
| Total Posts: 6961 |
|
|
| 05 Nov 2013 05:50 PM |
Ok..... so you have a model, and The model's name is cat. Doesent matter whats inside it.
all = game.Workspace.GetChildren:GetChildren() -- Selects all the bricks and applys this script to all of them. Think of Children as Stuff inside the modl which is it's parent. for i = 1,#all do -- the # refers to the tag "all" which is all the bricks in "GetChildren" all[i].BrickColor = BrickColor.random () -- Random BrickColor! |
|
|
| Report Abuse |
|
|
KEVEKEV77
|
  |
| Joined: 12 Mar 2009 |
| Total Posts: 6961 |
|
|
| 05 Nov 2013 05:51 PM |
WAIT WAIT
Lemme change something, lol
all = game.Workspace.cat:GetChildren() -- Selects all the bricks and applys this script to all of them. Think of Children as Stuff inside the modl which is it's parent. for i = 1,#all do -- the # refers to the tag "all" which is all the bricks in "GetChildren" all[i].BrickColor = BrickColor.random () -- Random BrickColor! |
|
|
| Report Abuse |
|
|
rrytry
|
  |
| Joined: 21 Aug 2012 |
| Total Posts: 4151 |
|
| |
|
KEVEKEV77
|
  |
| Joined: 12 Mar 2009 |
| Total Posts: 6961 |
|
|
| 05 Nov 2013 05:59 PM |
| erm.... post your part u have right now, ans the pro's will help you. |
|
|
| Report Abuse |
|
|
rrytry
|
  |
| Joined: 21 Aug 2012 |
| Total Posts: 4151 |
|
| |
|
rrytry
|
  |
| Joined: 21 Aug 2012 |
| Total Posts: 4151 |
|
| |
|
|
| 05 Nov 2013 06:57 PM |
"catty1.forcecat.position = position " m would reference the current parts I don`t know your layout but I assume "forcecat" is the body object m.forcecat.position = position I hope you defined position though.
|
|
|
| Report Abuse |
|
|
rrytry
|
  |
| Joined: 21 Aug 2012 |
| Total Posts: 4151 |
|
| |
|
rrytry
|
  |
| Joined: 21 Aug 2012 |
| Total Posts: 4151 |
|
| |
|