GetAngle, axis
GetAngle, Z

Returns the current world rotation angle of the object on the selected axis (X, Y, or Z) in float.