Help! The light object doesn't rotate towards player direction

Hi all. Can you help me with one problem? I want to make it so that in a top-down game, the camera angle with the e button moves to the right side, and with the q button it moves to the left side. I attached the camera to the player. Player movement angle offset = CameraAngle(). I attached a flashlight (light object) to the player. But it does not turn to where the player’s head is turned. What to do? I’ll send the pictures right now

here’s my code: