Can't Use Tween service

You can write your topic however you want, but you need to answer these questions:

  1. **What do you want to achieve?**I want a script to play a tween on a color correction

  2. **What is the issue?**I type

local goal2 = {}
goal.Brightness = 0.3

local tweenInfo2 = TweenInfo.new(20,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false,0)

local tween2 = TweenService:Create(game.Lighting.ColorCorrection, tweenInfo2, goal2)

tween2:Play()

There are no error but it does not make the lightning brighter on the server side or the player side

And i enable the ColorCorrection

In your second line “goal.Brightness = 0.3”, you are trying to set a value in a nonexistant table. You forgot the “2” after “goal”. The corrected code would be:

local goal2 = {}
goal2.Brightness = 0.3

My bad lol,Thankyou,Ive not seen that small error

1 Like