How do I set up an object to rotate in place?

Hi man , this will rotate any actor in his place forever. You can adjust the float or pin in any other var.