Y rotation value going from 0-90-0 and switching x and z values to 180

Yes, the weapon control are animations as they were made not as an attack but to trigger a lava event. The rotation that I’m trying to reach is similar to the guardian from BOTW - it points at the player for a period of time. The only problem I’m facing is that if I only use the Y value, it flips into 3d and doesn’t work. Same goes for X and Z rotation values.

set timer by function name → delay 3s → clear timer by function name → play another animation