belspe200
|
  |
| Joined: 27 Oct 2010 |
| Total Posts: 157 |
|
|
| 13 Dec 2016 05:39 PM |
How would i change (transparency, etc..) all objects with a certain name, lets say leaf?
Thx!
|
|
|
| Report Abuse |
|
|
Soybeen
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
|
| 13 Dec 2016 05:41 PM |
In a given model?
for _,obj in next,model:GetChildren() do if obj.Name == "leaf" then obj.Transparency = .5 end end
|
|
|
| Report Abuse |
|
|
|
| 13 Dec 2016 05:41 PM |
for index,value in pairs(list of parts) do if value.Name == "whatever" then whatever() end end |
|
|
| Report Abuse |
|
|
belspe200
|
  |
| Joined: 27 Oct 2010 |
| Total Posts: 157 |
|
| |
|