Hey I've asked a lot of questions on CFrame but this answer isn't turning up on the internet. So I have a part that I want to rotate on the global Y axis, not its Euler Angles Y axis or basically, no matter what rotations it x and z axis are at it will turn falt on its Y axis, this is my current script but code but if its x or z are rotated it rotates on an axis that is the y axis of the part rotated. Not sure if this makes sense or not? and there are no errors
part = script.Parent
while wait() do
part.CFrame = part.CFrame * CFrame.Angles(0,1,0)
end
This works but if i rotate the part on its x axis it doesnt rotate flat on the y axis How would I do this?

2 comments
Ive tried this but it changes it on all three axises in a twisty way
Oh nvr mind yah this works thanks.