How to make a custom third person character and avoid this error?

I need the entire code sorry… Can u paste it or not? Dont want to waste ur time…