top of page
  • Writer's pictureAoki

[Roblox] Script to turn off all the lights

Here's the script to access [Lighing]>[Apperance] to turn off all the liggts to make the darkest night atomosphere


light = game:GetService("Lighting")


light.Brightness = 0

light.EnvironmentDiffuseScale = 0

light.OutdoorAmbient =,0,0)

light.ClockTime = 0

light.Sky.CelestialBodiesShown = false

light.Sky.StarCount = 0


44 views0 comments

Recent Posts

See All

[Unity] UI Canvas for VR

1. Create a camera under [Main Camera] and delete [Audio Listner] 2. Rename this camera to [UI Camera] 3. [UI Camera] - Change [Clear Flags] to [Depth Only] 4. [UI Camera] - Change [Culling Mask] to [


bottom of page