Pretty self explanatory title. 1. I have a ranged weapon, a clone of the water pistol, its associated projectiles and the wet status effect. 2. This weapon applies the status effect - I use color filters or a duplicate of the glow effect as a visual proxy that tells me the effect is applied. 3. When the effect via the weapon is applied I want the NPC to perform the "panic" dance and the "oooh" emote. The lua code is simple. npc.emote("oooh") npc.dance("panic") Problem: I discovered the NPC behaviors which reference the npc.lua scripts. I assume the possibility of creating an if statement that checks if my status effect is applied. if it is, then the npcs behave accordingly. For some reason beyond me it isn't working. Any ideas how to make it work?