How to get model's Orientation X2

I am trying to get the orientation of 2 models. Issue is the way I am doing it X, Y, Z are already used in a local statement for my variable House and I need to get the orientation of mansion too. This is what I was using to get the orientation. Devforum

Here is my code

	local X, Y, Z = House:GetPivot():ToOrientation()
		local OrientationY	= math.deg(Y) --< get Orientation.Y
		local Mansion = game.Workspace:FindFirstChild(player.Plot.Value).CenterPos
--Needing to get mansions orientation

Is there better ways of getting the orientation or there a way to get the House’s and Mansion’s orientation??

Use

math.rad(Y) * 2

and you will get the Y multiplied by 2

That’s not what the issue is though.
I am trying to get the orientation for 2 of my models, but I already used the variables.

rename it also this solves this How to get orientation of model

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