How to get bullet to apply damage

Like this?