I need Workshop help

How do I make it so that taking damage knocks you back? I also want to know how to make McCree’s flashbang revive a player.

it`s very simple my friend.

  1. PLAYER TOOK DAMAGE
    Apply impulse/ event player/ vector towards / attacker - event player / speed 15/
    wait 0.1
  2. Hero of event player == hero mccree
    is using/ event player/ ability 2 == true

set player variable A/ ray cast hit position / eye position of event player - add eye position of event player /multiply facing direction of event player/ number 3
wait 0.1
set player variable A==0

next rule

if distance between player variable A and dead player <= number 1 —>> resurrect this dead player. IF you cant do it , write here ill make a simple code in workshop for you mate.

Wouldnt just:

Player took damage

Apply impulse / event player / backwards / relative to player

work the same and be easier?

Add a wait command at the end so stuff like moira orbs or turrets arent so crazy