Third Person Cam from Scratch

I want to make a third-person movement and camera script from scratch without the Template, I just need to know the basics for the Camera script first then I would be able to make the movement script. If any one knows what I’m talking about then can someone help please?

Moved to collaboration. @Kayenjay a good starting point to understand a camera controller is the following tutorial: