Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to set model rotation exact to other part rotation?

Asked by 4 years ago

I tried it so much times and it keeps spinning if i add code in loop or it gives wrong rotation and it set rotation of only 1 part in model. I need code that will get rotation of part and set model rotation exact to part rotation.

1 answer

Log in to vote
0
Answered by
iiii676 23
4 years ago

Do you mean for example part A's orientation = part B's orientation? This would be...

local ARotation = script.Parent.Orientation
game.Workspace.PartB.Orientation = ARotation
Ad

Answer this question