--[[
--▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬--
				   May, 3rd 2021
			    Created by NovemberReject

  Put this script in Workspace or ServerScriptService
   Set technology "ShadowMap" in Lighting properties

--▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬--
]]



local Vignette = true -- change to false if you don't want a shadow frame



local Lighting = game:GetService("Lighting")
local Bloom = Instance.new("BloomEffect")
local Blur = Instance.new("BlurEffect")
local ColorCor = Instance.new("ColorCorrectionEffect")
local SunRays = Instance.new("SunRaysEffect")
local DepthOfField = Instance.new("DepthOfFieldEffect")


for i, v in pairs(Lighting:GetChildren()) do
	if v then
		v:Destroy()
	end
end

Bloom.Parent = Lighting
Blur.Parent = Lighting
ColorCor.Parent = Lighting
SunRays.Parent = Lighting
DepthOfField.Parent = Lighting

Bloom.Intensity = 1
Bloom.Size = 56
Bloom.Threshold = 1

Blur.Size = 3

ColorCor.Brightness = 0
ColorCor.Contrast = 0.4
ColorCor.Saturation = 0.1
ColorCor.TintColor = Color3.fromRGB(255, 226, 202)

SunRays.Intensity = 10
SunRays.Spread = 5

Lighting.Ambient = Color3.fromRGB(50, 30, 0)
Lighting.Brightness = 2
Lighting.ColorShift_Bottom = Color3.fromRGB(0,0,0)
Lighting.ColorShift_Top = Color3.fromRGB(0,0,0)
Lighting.EnvironmentDiffuseScale = 1
Lighting.EnvironmentSpecularScale = 1
Lighting.GlobalShadows = true
Lighting.OutdoorAmbient = Color3.fromRGB(70, 70, 70)
Lighting.ShadowSoftness = 0
Lighting.ClockTime = 15
Lighting.GeographicLatitude = -12
Lighting.ExposureCompensation = 0.5

DepthOfField.Enabled = true
DepthOfField.FarIntensity = 0.32
DepthOfField.FocusDistance = 0.05
DepthOfField.InFocusRadius = 40
DepthOfField.NearIntensity = 0.48

script:Destroy()
