This is a movie from the 80’s, possibly early 90’s. What I remember of it is that the aliens used some sort of beams to attack. A kid finds something that looks like an eye, inserts a piece of metal into it, and is able to use it.

Question is closed for new answers.
Selected answer as best