Ok, i don't think that this was a lucid dream, but here's what happened...

I was looking for two keys, one gold and one silver. I walked into my room and went to the window. I looked behind one of the blinds and saw the silver key, i reached out to get it but then a voice that was coming directly from my right side said that I must get both keys at the same time...suddenly i felt a great deal of fear, and without turning around i kew something had entered the room and i knew what it looked like...it was something about my height, yet it was wearing all black and dark green, with a black vail over its face. It quickly was identified as, "Enemy" in my mind, and i knew it had the other key. The voice came to me again and said, "sometimes you need to see yourself from your enemies point of view.
I woke up and i realized i was crying, sweating profusely, and breathing heavily (i was in my bed)...i had my eyes closed, but when i opened them, i saw myself as i appeared in the dream, standing over me, breathing heavily, all i saw was the chest and head...i started to scream and i closed my eyes again, and when i opened them again he was still there. I closed my eyes one last time and sat up...he wasnt there anymore and i was still crying and sweating and breathing heavily...all of which i was very aware of during the vision or whatever it was...
I am so confused to what happened...I know i wasn't dreaming but i don't know what could have happened....it felt like i hadn't slept at all i was so drained of energy....someone please explain!