Character won't rotate properly

How can I solve this? Aren’t the values of rotators -180 to 180?