How would you be able to set a part's orientation to look at another part?
Example: If the enemy hits the player, the player's humanoidrootpart will turn to look at the enemy using orientation.
I've tried using this to get the opposite value of the Y axis:
script.Parent.HumanoidRootPart.Orientation = Vector3.new(0 ,Enemy.HumanoidRootPart.Orientation.Y - (Enemy.HumanoidRootPart.Orientation.Y * 2), 0)
but sometimes the Y axis is a negative number so this approach doesn't work. Is there a reasonable way to accomplish this? Thanks.
