for Zbuffer and anyone who wants to look at this script now here it is , it needs sorting out a bit.but it works fine, if any of you guys can make it any better please post it up here .