Для получения углов поворота на стороне клиента существует метод Entity::getRotation
Как пример:
let rotation = entity.getRotation(0); // entity - объект, углы которого нужно получить
Далее можно получить угол нужной оси используя rotation.x | rotation.y | rotation.z
Okay, I found a solution. Just for people that have maybe same problem:
Thanks to Yoe on Discord, I know now that I can use simply entity natives for that and use the number result directly as entity for that natives.
So that I don't need Entity object for now