Since you didn't tell the model number Nikon.
we can't give an accurate answer.
If your camera has a Manual mode, that is a good start.
..
Iv tried different settings to capture stars but I get the stars but I don't get the blackness of the sky any ideas pls

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic