How do i get the velocity of an object hitting me?

First of all you need to enable Hit Events in character physics (capsule). Then use EventHit to process it and get hit actor.

But getting velocity is different for different kind of objects, like projectiles, physics objects, pawns and so on.

For example, with physics objects you can do Get Physics Linear Velocity.