How do you make things dark?

a lot of people have made like a dark area for nightime how do u do that???

Use a semi transparent black barrier with collision turned off
Make sure to put it in the top layer

Make a barrier, and set the transparency to a lower number then 1. Next cover the dark area with that barrier.

Dang, you beat me to it.