|
| 25 Jul 2011 01:44 PM |
how do i make it so that when i say rust it makes this script work
function Paint(Brick) Brick.Material = "CorrodedMetal" end
function Search(Object) wait() print(Object) coroutine.resume(coroutine.create(Paint), Object) local Children = Object:GetChildren() for X = 1, # Children do Search(Children[X]) end end
Search(game.Workspace)
|
|
|
| Report Abuse |
|
|
comiconor
|
  |
| Joined: 26 May 2009 |
| Total Posts: 16893 |
|
| |
|
| |
|
AlvAlv6II
|
  |
| Joined: 29 Aug 2009 |
| Total Posts: 791 |
|
|
| 25 Jul 2011 01:47 PM |
| I'm not a good scripter, but I think it needs someting connecting a chat commmand to the brick color. Something to do with a value of the player and a way to express the part, but I'm not so sure. |
|
|
| Report Abuse |
|
|
comiconor
|
  |
| Joined: 26 May 2009 |
| Total Posts: 16893 |
|
| |
|
|
| 25 Jul 2011 01:52 PM |
| can you put it with my rust script |
|
|
| Report Abuse |
|
|
comiconor
|
  |
| Joined: 26 May 2009 |
| Total Posts: 16893 |
|
| |
|