(function() { var hipsIndex = MyAvatar.getJointIndex("Hips"); var hipsRot = MyAvatar.getJointRotation(hipsIndex); Script.update.connect(function() { MyAvatar.setJointRotation(hipsIndex, hipsRot); }); }());