Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Lighting = game:GetService("Lighting")
- local Sky = Instance.new("Sky")
- Sky.Parent = Lighting
- Sky.StarCount = 3000
- Sky.MoonTextureId = "rbxassetid://9013498700"
- Sky.SunTextureId = "rbxassetid://184785902"
- Lighting.TimeOfDay = "00:00:00"
- Lighting.Brightness = 1.5
- Lighting.Ambient = Color3.fromRGB(127, 127, 127)
- Lighting.OutdoorAmbient = Color3.fromRGB(127, 127, 127)
- Lighting.FogEnd = 100000
- Lighting.FogStart = 0
- local ColorCorrection = Instance.new("ColorCorrectionEffect")
- ColorCorrection.Parent = Lighting
- ColorCorrection.Brightness = 0.2
- ColorCorrection.Contrast = 0.2
- ColorCorrection.Saturation = 0.2
- local YellowTintCorrection = Instance.new("ColorCorrectionEffect")
- YellowTintCorrection.Parent = game.Lighting
- YellowTintCorrection.TintColor = Color3.fromRGB(255, 235, 189)
- YellowTintCorrection.Saturation = 0.4
- YellowTintCorrection.Contrast = 0.2
- local function ApplyMaterialAndColor(obj)
- if obj:IsA("BasePart") then
- obj.Material = Enum.Material.DiamondPlate
- obj.Reflectance = 0.3
- local currentColor = obj.Color
- obj.Color = Color3.new(currentColor.r * 0.85, currentColor.g * 0.85, currentColor.b * 0.85)
- end
- end
- for _, obj in pairs(workspace:GetDescendants()) do
- ApplyMaterialAndColor(obj)
- end
- workspace.DescendantAdded:Connect(function(obj)
- wait()
- ApplyMaterialAndColor(obj)
- end)
- Lighting.GlobalShadows = false
- Lighting.EnvironmentDiffuseScale = 0.5
- Lighting.EnvironmentSpecularScale = 0.5
- for _, obj in pairs(workspace:GetDescendants()) do
- if obj:IsA("BasePart") then
- obj.CastShadow = false
- end
- end
- workspace.DescendantAdded:Connect(function(obj)
- if obj:IsA("BasePart") then
- obj.CastShadow = false
- end
- end)
- Lighting:GetPropertyChangedSignal("FogEnd"):Connect(function()
- Lighting.FogEnd = 100000
- end)
- for _,v in ipairs(Lighting:GetDescendants()) do
- if v:IsA("Atmosphere") then
- v.Density = 0
- v:GetPropertyChangedSignal("Density"):Connect(function()
- v.Density = 0
- end)
- end
- end
- while true do
- Lighting.TimeOfDay = "00:00:00"
- wait(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement