How can I move a model to the origin position of another model

So basically I want when I click a button it moves a model to the origin position of another model

1 Like
model1:PivotTo(model2:GetPivot())

I think I found a way I just changed the cframe