Answer: Weight only.
Explanation: Mass is a measure of the amount of matter in an object. Weight is a measure of the gravitational force exerted on the material in a gravitational field. Mass and weight are proportional to each other, with the acceleration due to gravity as the proportionality constant.
If a rock is transported from the moon to the earth, the mass is constant for the object but the weight will depends on the locations of the object. The gravitational acceleration would change because the radius and mass of the Moon is different from the Earth.
Thus, the object (rock) has mass, m both on the surface of the Earth and the surface of the Moon; but it will weight much less on the surface of the Moon as the Moon's surface gravity is 1/6 of the Earth.