CombineChildren.cs & Unity 5?

Hi, this script I had used in my Unity 3 project. When I updated to Unity 5 the script wasn’t compatible & I had to make 2 changes to it to get it to work again, but it doesn’t really work on my android device when testing. On some scenes, the script will bug out and make all of the child objects invisible.

Is there a replacement script for this in Unity 5 because I can’t seem to find it in the new Utility scripts as part of the U5.

Found a fix, if anyone is wondering, the problem was caused because if one of the child objects is set to Static in the inspector the entire script fails and all objects show as transparent.