Hit Event doesn't work as it should

I’ve created a basic moving block, which should hit the player and deal damage.

It moves, but it damages the player only if he is moving. If the player stands still, block will hit him, but will cause no damage.

Does anybody know how to fix this?

I am using a HitComponentEvent and found that this helps.