Yep, hellohihello's right, it's hypnogagis hallucinations. Can be very scary when you don't really know what they are, but the good news is that they are the first step in a successful WILD!

It sounds like you were very close to sleep paralysis, the final stop to lucid dreamland. Keep at it and you'll be WILDing in no time.