for i = 0,1,0.07 do print(i) Frame.BackgroundColor3 = Frame.BackgroundColor3:lerp(Color3.fromRGB(183,183,183), i) wait(0.01) end
i'll leave you to it
It should work, so there must be an unrelated issue in the context. However, note that it will not be linear if you do it like that, since you are lerping the same value that is constantly changing. For a linear change you should use the original color.
local original = Frame.BackgroundColor3 for i = 0,1,0.07 do print(i) Frame.BackgroundColor3 = original:lerp(Color3.fromRGB(183,183,183), i) wait(0.01) end