Hi ,
One thing that I noticed is that you used UProperty instead of UPROPERTY in your header. Try changing the two lines with
UProperty(VisibleAnywhere, Category = Powerup)
to
UPROPERTY(VisibleAnywhere, Category = Powerup
Please let us know if that helps to resolve the compile errors that you received.