|
| 26 Apr 2015 03:16 PM |
Hi,
I'm looking for a function that's called everytime someone add an object to the game. I could tag all bricks in a game with brick.ChildAdded:connect but Im looking for a more convinient method.
Is it possible to run the function childAdded(child) everytime an item is added, nomatter where it's added? |
|
|
| Report Abuse |
|
|
|
| 26 Apr 2015 03:20 PM |
workspace.DescendantAdded
...? |
|
|
| Report Abuse |
|
|
|
| 26 Apr 2015 03:21 PM |
Any and all instances? Anywhere as long as it's a descendant of `game`?
game.DescendantAdded:connect(print) --print of course if just an example function. |
|
|
| Report Abuse |
|
|
| |
|