RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make an script that will make an realistic lighting"
-- server script local Lighting = game.Lighting local function setLighting() Lighting.TimeOfDay = "14:00:00" Lighting.Ambient = Color3.fromRGB(255, 255, 255) Lighting.OutdoorAmbient = Color3.fromRGB(255, 255, 255) Lighting.Brightness = 1 Lighting.FogColor = Color3.fromRGB(255, 255, 255) Lighting.FogStart = 0 Lighting.FogEnd = 1000 Lighting.FogExponent = 1 Lighting.GlobalShadows = true Lighting.ShadowColor = Color3.fromRGB(0, 0, 0) Lighting.Outlines = false Lighting.ColorShift_Bottom = Color3.fromRGB(0, 0, 0) Lighting.ColorShift_Top = Color3.fromRGB(0, 0, 0) end setLighting() game.Lighting.Changed:Connect(setLighting)