Trying to make First Person camera for parkour shooting type game.

So Im trying to make a camera for my First Person singleplayer game and Im using code from a Brackeys video from 2019 and its giving a bunch of errors and doesnt let me play test. Can you tell me whats wrong and tell me what to do to fix it? I will show you the errors and the script: Link to the video:

Script:


Errors:

Also I cant link a player body either the option to drag anything into player body doesn’t come up

A bunch of errors and it doesn’t let you playtest! Huh. Incredible.

How to report your problem productively in the Unity3D forums:

http://plbm.com/?p=220

How to understand compiler and other errors and even fix them yourself:

https://discussions.unity.com/t/824586/8

If you post a code snippet, ALWAYS USE CODE TAGS:

How to use code tags: https://discussions.unity.com/t/481379

Also,
https://www.youtube.com/watch?v=84kaypWK1bM