Unclear issues with a script

Started by OleMorgan on

Topic category: Help with modding (Java Edition)

Last seen on 04:17, 5. Apr 2023
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Unclear issues with a script

So I've been working on mcreator for about two days to make a "The Last of Us" mod, and I've run into an issue. 
This is a right click script for a "Shiv" item that instantly kills my Runner and Clicker entities.
It works as intended for my Clicker entity, but has no effect on my Runner.

Image here

Above was my first script,
Here is my second
I would like some help with this expediently, no rudeness intended.