My character will not rotate

i think you forgot to connect the compare float node with the add movement input in the second event.