How do I make one model to be in the same position as another model?

I’ve tried many solutions, but none of them seeing to work.
Here’s the code I tried:

LobbyDetails.PrimaryPart = LobbyDetails:WaitForChild("RescueMonitor"):WaitForChild("TV")
	Lobby1.PrimaryPart = LobbyDetails:WaitForChild("RescueMonitor"):WaitForChild("TV")
	Lobby1.Parent = game.Workspace.Lobby
	Lobby1:SetPrimaryPartCFrame(LobbyDetails:GetPrimaryPartCFrame())
	LobbyDetails:Destroy()
	Lobby1.Name = "Detail"

What’s wrong with it and how do I fix it?

1 Like

Probs want to see their CFrame to the same for both parts. Like:

LobbyDetails.PrimaryPart = LobbyDetails:WaitForChild("RescueMonitor"):WaitForChild("TV")
	Lobby1.PrimaryPart = Lobby1:WaitForChild("RescueMonitor"):WaitForChild("TV") -- Any part that is in Lobby1 model
	Lobby1.Parent = game.Workspace.Lobby
	Lobby1:SetPrimaryPartCFrame(LobbyDetails.PrimaryPart.CFrame)
	LobbyDetails:Destroy()
	Lobby1.Name = "Detail"

It still doesn’t seem to work

:SetPrimaryPartCFrame is deprecated, do this (an example)

Model1:PivotTo(Model2:GetPivot())

or with your case:

Lobby1:PivotTo(LobbyDetails:GetPivot())

NIORNWGWRHNGFUIEQO (Translation: Turns out I was an idiot and accidentally set the same PrimaryPart for both models)

Just be careful, As :SetPrimaryPartCframe is deprecated, meaning it is not up to date, and could be removed in the future with updates. Try to use Pivots instead with :PivotTo()

1 Like

I used PivotTo, but I only marked the other reply as a solution because they replied first, so they would’ve gotten the solution first if I hadn’t made the dumb mistake

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.