AActor incompatible with UPrimitiveComponent

The program can compile, but it is definitely not doing as I desire. It is supposed to send the player back to the starting position when the player lands on the box, but the program does nothing.