But the 'with' command makes it so the script works with the player... Hmm. I don't like how that was put...
NPC Code:
with (getplayer(#s(this.owner))) {
if (keydown(6)) {
To my knowledge, the 'with' command is making the enclosed script work for that player...