unexpected token error BCE

if(Input.GetKey(KeyCode.E));
transformTranslate(Vector3(0, 2, 0) * Time.deltaTime);
;
if(Input.GetKey(KeyCode.c));
TransformTranslate(-Vector3(0, 2 ,0) * Time.deltaTime);
GameObject.activeInHierarchy.;

End of line 1 and 4 you have an unnecessary semi-colon. Also, assuming the indentation of line 6 is significant you might want some braces at the end of line 4 and a new one 7. Further, at the end of line 6 you have a dot before the semi-colon. There is something missing there.

And, the compiler will have given you a line number where the error occured. If you need to ask the community for help, please share with them the line number. Also, BCE is not an error, there will be some numbers following the BCE, and that’s the error number.

ok thanks man i now understand why it wasnt working