Chosen Solution

help i dont know if its software or hardware

Open up the Photo Booth app you should see your self! If you don’t its likely your iSight camera is not connected or its cable/connection is damaged. Follow this guide for the first four steps (disconnecting the battery) MacBook Pro 13" Unibody Mid 2012 Logic Board Replacement then, jump down Step 9 to check the camera connection.