For loop wont work

		
		for i = 1,6,2 do
		local info1 = TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.Out,0,false,0)
		local goal1 = {}
		goal1.Size = Vector3.new(26.894, 14.687, 26.988)
		local tween1 = TS:Create(WBB,info1,goal1)
		tween1:Play()	
		wait(1)
		local info2 = TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.Out,0,false,0)
		local goal2 = {}
		goal2.Size = Vector3.new(55.436, 36, 55.018)
		local tween2 = TS:Create(WBB,info2,goal2)
		end

Im trying to tween the size back and forward. The script isn’t repeating it just plays one time.

You only play tween1 and wait for it to finish, you don’t play tween2 and wait for it to finish:
tween1:Play()
wait(1)

1 Like