First of all, please, put your code in code tags. How to is here .
Second, please post what kind of error messages you get and what is the code you’re trying.
Alternatively you can try to disable the CameraFollow script when your player dies and turn back on when you respawn it.