I would like to know how to make a script that I would click a brick and another brick's light would turn on.
You'd insert a ClickDetector into a brick and toggle the Enabled property of a SpotLight when it is clicked.