Frame-independent event. Error during compilation

I want to create a frame-independent rotation for my object. But there is an error during compilation. All pin’s type is Frame. Im a newbie at ue. Help me please)
By the way i use ue5