Unclear issues with a script

Started by OleMorgan on

Topic category: Help with Minecraft modding (Java Edition)

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.