For i, v + TweenService?

Alright, I’m trying to make the lights light up smoothly, but with just for i, v it doesn’t work smooth at all.
I tried to do:

for i, v in pairs(Lanterns:GetDescendants()) do
			if v:IsA("MeshPart") then
				if v.Material == Enum.Material.Neon then
					local goal1 = {}
					goal1.Transparency = 0.5
					
					v.Color = Color3.fromRGB(0,0,0)
					
					TweenService:Create(v, TweenInfo.new(5), goal1)
				end
			end
		end

But it just doesn’t work at all.
And I want to maybe change the color from their current one smoothly to really black.
Any help will be appreciated!

You didn’t play the tween:

for i, v in pairs(Lanterns:GetDescendants()) do
	if v:IsA("MeshPart") then
		if v.Material == Enum.Material.Neon then
			local goal1 = {}
			goal1.Transparency = 0.5

			v.Color = Color3.fromRGB(0,0,0)

			TweenService:Create(v, TweenInfo.new(5), goal1):Play()
		end
	end
end
3 Likes

oh, my bad lol