whats a script to remove dark lighting roblox
A simple Roblox lighting script can make the game much darker by lowering the Lighting service values and removing common glow effects.
Example script
lua
local Lighting = game:GetService("Lighting")
Lighting.Ambient = Color3.new(0, 0, 0)
Lighting.OutdoorAmbient = Color3.new(0, 0, 0)
Lighting.Brightness = 0
Lighting.ExposureCompensation = 0
Lighting.EnvironmentDiffuseScale = 0
Lighting.EnvironmentSpecularScale = 0
Lighting.ClockTime = 0
Lighting.GlobalShadows = true
Lighting.ShadowSoftness = 0
for _, effect in ipairs(Lighting:GetChildren()) do
if effect:IsA("BloomEffect")
or effect:IsA("SunRaysEffect")
or effect:IsA("ColorCorrectionEffect")
or effect:IsA("BlurEffect") then
effect:Destroy()
end
end
What it does
- Makes ambient light black.
- Sets brightness and exposure very low.
- Removes bloom, sun rays, color correction, and blur effects.
- Keeps shadows enabled so the scene still has depth.
Important note
If you want a game to look dark but still playable, donβt set everything to absolute black. A tiny bit of ambient light or a few local lights can help players see without ruining the mood.
Safer tweak
A softer version is this:
lua
local Lighting = game:GetService("Lighting")
Lighting.Ambient = Color3.fromRGB(15, 15, 15)
Lighting.OutdoorAmbient = Color3.fromRGB(15, 15, 15)
Lighting.Brightness = 1
Lighting.ExposureCompensation = -0.5
Lighting.ClockTime = 0
TL;DR: Put the script in ServerScriptService, and adjust Brightness,
Ambient, and OutdoorAmbient first for the fastest darkening effect.