Help with custom camera

Hello,

I want to make a custom camera where you only see your character from the side (2D) and I wanted it to be smooth. So I used a part with an body position and then set body position to where the camera would need to be and then set the camera cframe to the cframe of the part. But when I do that and run the game the part will go to its position then zoom into the character and do that multiple times before it starts to actually work after like 20 seconds.