I changed all the gui to UI and added UnityEngine.UI which fixed most of the errors. As you can see by the screenshot UI at line 210, 212 have error. So i changed it to UnityEngine.UI.Image, which then gave texture error. Anyone Help Please. Thanks
How to report problems correctly in the Unity3D forums:
As you can see in documentation, the field that you are looking for is called sprite and not texture
Thanks for the Help.