How to make a rotated minimap

Im still new to Cframe and UI related stuff and i would like to make a minimap for one of my game and i have already make a minimap that can tell where the player position and rotation but i want to make the minimap rotate with the camera and i dont know how to do it