1. Some students posted a lot of unkind comments, making fun of my pose.

2. Some students posted a lot of unkind comments, which made fun of my pose.

3. Some students posted a lot of unkind comments, and they made fun of my pose.
(In this sentence, 'they' refers to 'a lot of unkind comments.' Am I right? Or does 'they' refer to 'some students'? In that case, the clause 'and they....' has two meanings. It's ambiguous, isn't it?)

4. Some students posted a lot of unkind comments making fun of my pose.

5. Some students posted a lot of unkind comments which make fun of my pose.
(Without the comma, #4 mean $5? Is that right?)

6. Making fun of my pose, some students posted a lot of unkind comments.

7. While they made fun of my pose, some students posted a lot of unkind comments.

( In this case, 'they' refers to 'some students' Am I right?)

3. Some students posted a lot of unkind comments, and they made fun of my pose.

(In this sentence, 'they' refers to 'a lot of unkind comments.' Am I right? Or does 'they' refer to 'some students'? In that case, the clause 'and they....' has two meanings. It's ambiguous, isn't it?)
Yes, you're right. It's ambiguous.

And yes, you're right about 4 and 5, too.

Yes, in 7, "they" refers to "students."

1. In this sentence, "making fun of my pose" is a participial phrase that modifies "unkind comments." The meaning of the sentence is that the unkind comments were the ones making fun of your pose. To answer the question of who made fun of your pose, you would need to look at the noun phrase "some students" earlier in the sentence. The phrase "some students" is the subject of the sentence and the ones responsible for the unkind comments.

2. This sentence is similar to the first one, but it uses a relative pronoun "which" to introduce the phrase "made fun of my pose." The phrase "which made fun of my pose" acts as a relative clause that describes the unkind comments. It confirms that the unkind comments were indeed the ones making fun of your pose. As in the first sentence, "some students" is the subject of the sentence.

3. In this sentence, "they" refers to "some students." The phrase "and they made fun of my pose" adds additional information about the actions of the students. It is not ambiguous because it is clear that the students are the ones making fun of your pose. The clause "and they made fun of my pose" explains what the students did after posting unkind comments.

4. This sentence restructures the first one by removing the comma. Without the comma, the phrase "making fun of my pose" becomes an adjective phrase that describes the unkind comments. The sentence still means that the unkind comments were the ones making fun of your pose. "Some students" is again the subject of the sentence.

5. This sentence is not grammatically correct. "Which make fun of my pose" should be "which makes fun of my pose" to agree with the verb "comments."

6. In this sentence, the phrase "making fun of my pose" is placed at the beginning of the sentence. This is called a participial phrase used as an introductory element. The sentence means that it was the students making fun of your pose by posting unkind comments. "Some students" is still the subject of the sentence.

7. In this sentence, "they" refers to "some students." The phrase "while they made fun of my pose" is a dependent clause that provides a time frame or situation when the action of posting unkind comments occurred. "Some students" is still the subject of the sentence.