I’m sorry to hear that, I’m not experienced with math.(), hope you find a solution soon, best of luck!
I tell you what, maybe try just putting the rotating line of code in the Command Bar in studio and try and rotate the model that way, if it does rotate, then the issue is else where in your code, otherwise maybe you haven’t got the math.() right or something.