I've been trying to find a way to rotate a Model with a script. If you want me to be specific, I am trying to make an NPC (Non-Player Character) Model rotate to a certain degree for cut-scenes in a game.Here are some things I tried.
- I looked on the Dev page at the Models article, and looked at the functions available. I found nothing.
- I tried using a script to rotate the NPC's Torso. I thought since the other parts were welded together to this part, changing its Orientation would move everything else in the NPC along with the Torso. Here's the script:
-- This is parented to an NPC's Torso
script.Parent.Orientation = Vector3.new(script.Parent.Orientation.X, script.Parent.Orientation.Y + 90, script.Parent.Orientation.Z)
This did not work.
I'm not sure what to do. Please leave any solutions you know of as an answer. Bye!

2 comments
A little Coment on eternal_silverfox. If you still rotating the orientation of script.Parent (With fromEularAngle), don't use fromEularAngleXYZ, use fromEularAnglesYXZ. Though if your using cframes, the ladder works perfectly fine.
My bad, meant YXZ.