-
What do you want to achieve? I want a ColorCorrection’s Saturation property to go to -1.
-
What is the issue? the Saturation property instead goes up to 1.
-
What solutions have you tried so far? i have already looked for other solution but none had to do with what i need.
The script: (local script) this is a death effect.
local blur = Instance.new("BlurEffect")
local color = Instance.new("ColorCorrectionEffect")
blur.Parent = game.Lighting
color.Parent = game.Lighting
color.TintColor = Color3.fromRGB(255, 0, 0)
local Num = 255
while blur.Size > 0 do
Num = Num + 20
blur.Size = blur.Size - 1
wait(0.1)
color.TintColor = Color3.fromRGB(Num, Num, Num)
color.Saturation = color.Saturation - 0.1 --here is the problem
print(Num)
end
blur:Destroy()
print("Blur!")
end)