Multiplayer Linetrace Weapon (Health)

Hi, I have a linetrace which casts to the player and subtracts a value from its health variable, and at 0 I want the actor to be destroyed. How would I do this?

Thanks,
Alfie

EDIT: In the current setup, the health variable of the hit player goes down to zero, and nothing else happens.

You can set the Actor to hidden and disable input then, well depends on what you want to do. You can spawn particles, play a sound cue, display some UI. When the player revives you can set him back to visible. Or you go back to menu. Destroying the player actor is rarely a good idea though.

Ok, I’ll try that.