How do you alter ColorCorrection properties by script?

Hey, so I’m tryna tween the properties of a ColorCorrection effect through a script. And from what I’ve read, the property’s are read-only. So I was wondering if there’s a way to properly adjust the effects real-time, as I’m almost positive I’ve seen this happen in various experiences.

here’s the code (local), no errors but the effect doesn’t change

local TS = game:GetService("TweenService")
local Info = TweenInfo.new(1.2)
local goal = {}

goal.Brightness = -0.2
goal.Contrast = 1
goal.Saturation = 1
goal.TintColor = Color3.new(1, 0, 0)
--event fires 
local colorCorrection = game:GetService("Lighting").ColorCorrection
colorCorrection.Enabled = true
TS:Create(colorCorrection, Info, goal)

Thanks in advanced!

1 Like

I think you can just make a for i loop, and change the tintcolor to i

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.