Solved, it was The Phenomenon, thanks to lasta@piefed.world for the answer: https://piefed.social/post/2576197#comment_13631282

People were killed by some kind of black swarm of nanobots if they looked outside IIRC. They were also told not to make any sound or it could attract the swarm.

The only version I have found is the very short version called Emergency Alert. Do not look outside your windows. but I’m pretty sure there was a longer version with more chapters, and multiple characters.

There are other creepypasta versions but never the one I read with more than 1 chapter.