RSU7727
|
  |
| Joined: 26 Feb 2012 |
| Total Posts: 371 |
|
|
| 01 Aug 2013 09:10 AM |
How to make something happen to all children of an object/model
How do I script in such a way that all children for instance get 1 in Transparency and CanCollide=False? |
|
|
| Report Abuse |
|
|
|
| 01 Aug 2013 09:31 AM |
| Not sure. I am posting so I can see the replies :) |
|
|
| Report Abuse |
|
|
RSU7727
|
  |
| Joined: 26 Feb 2012 |
| Total Posts: 371 |
|
|
| 01 Aug 2013 09:53 AM |
| Would still be great to know this ^_^ |
|
|
| Report Abuse |
|
|
DrWaffler
|
  |
| Joined: 16 Sep 2011 |
| Total Posts: 4248 |
|
|
| 01 Aug 2013 09:57 AM |
for i,v in pairs(game.Workspace.MODEL:GetChildren())do v.Transparency = 1 v.CanCollide = false end
<3
It doesn't happen instantly, but it happens to all of them. |
|
|
| Report Abuse |
|
|