Rotate circular platform based on players movement

The idea is to have it where the player tries to Walk/Run left or right, then the platform rotates on the z and counters his movement. Ive tried a bunch with the rotation movement component but im just not having any luck.