You may have replaced some screws in the wrong places. The screws holding down the shield plate for the screen plug ins need to be put in the exact place they came out as they are different sizes. If you put them in the wrong place, you can break the logic board, which could lead to the problems you are having.
Take it to an Apple Authorized Service Provider. They can run diagnostics on it to determine why it loops. Find an Apple Authorized Service Provider at https://locate.apple.com/pr/en/