ControlC ControlC · Pastebin

Graphic Enhancer

Pasted: Nov 1, 2021, 6:54:46 pm · Views: 944
-- Roblox Graphics Enhancher
local light = game.Lighting
for i, v in pairs(light:GetChildren()) do
v:Destroy()
end

local ter = workspace.Terrain
local color = Instance.new("ColorCorrectionEffect")
local bloom = Instance.new("BloomEffect")
local sun = Instance.new("SunRaysEffect")
local blur = Instance.new("BlurEffect")

color.Parent = light
bloom.Parent = light
sun.Parent = light
blur.Parent = light

-- enable or disable shit

local config = {

Terrain = true;
ColorCorrection = true;
Sun = true;
Lighting = true;
BloomEffect = true;

}

-- settings {

color.Enabled = false
color.Contrast = 0.15
color.Brightness = 0.1
color.Saturation = 0.25
color.TintColor = Color3.fromRGB(255, 222, 211)

bloom.Enabled = false
bloom.Intensity = 0.1

sun.Enabled = false
sun.Intensity = 0.2
sun.Spread = 1

bloom.Enabled = false
bloom.Intensity = 0.05
bloom.Size = 32
bloom.Threshold = 1

blur.Enabled = false
blur.Size = 6

-- settings }


if config.ColorCorrection then
color.Enabled = true
end


if config.Sun then
sun.Enabled = true
end


if config.Terrain then
-- settings {
ter.WaterColor = Color3.fromRGB(10, 10, 24)
ter.WaterWaveSize = 0.15
ter.WaterWaveSpeed = 22
ter.WaterTransparency = 1
ter.WaterReflectance = 0.05
-- settings }
end


if config.Lighting then
-- settings {
light.Ambient = Color3.fromRGB(0, 0, 0)
light.Brightness = 4
light.ColorShift_Bottom = Color3.fromRGB(0, 0, 0)
light.ColorShift_Top = Color3.fromRGB(0, 0, 0)
light.ExposureCompensation = 0
light.FogColor = Color3.fromRGB(132, 132, 132)
light.GlobalShadows = true
light.OutdoorAmbient = Color3.fromRGB(112, 117, 128)
light.Outlines = false
-- settings }
end