Killing a player that gets close to a certain hero

Is there a possibility to kill a player when he gets close to a player that is a Mercy?

(My friend is a Mercy simp and i want to prank him xD)

Here’s a code:
917BW

1 Like

Hello @robertokraj
I had a look at AlaskaWolf’s code just above, and simplified it. Try ‘KP3FB
If you look at the workshop script, there are two rules. The first one is disabled, that is AlaskaWolf’s Rule. The second one is my own.
Now if you look inside, there are two conditions. The first is disabled, but is a simpler version again. The number at the end, 5, change that to change how far Mercy’s simping powers work. The second condition, looks more complex but it does the same as the first condition except you can change the distance via the ‘Workshop Settings’ card.

1 Like

Hmmmm… It was a bit overkill…
But your code does not check if the closest player is alive…
ALSO, there was a bug in my code… but here is the fixed version:
‘43PXN’

1 Like

Sorry for late reply, i was a little bit busy.
Thank you so much guys for your effort, everything works perfectly.
(My friend wants to kill me now but hey, at least it’s fun to see him dying xD)

1 Like