Thanks, but I was just about to post that I figured it out. I couldn't find the right script because I was searching for "destroy" but it turns out I needed Break. I just put in the following script and it worked like a charm:
SetEntityCallbackFunc("LurkerBait", "EatingLurkerBait");
void EatingLurkerBait(string &in asEntity, string &in asBreak)
{
SetEntityActive("waterlurker_1", false);
SetMessage("Messages", "BusyLurker", 6);
}
This works best since the lurker gets "trapped" in a room (I plan on making some particles of him thrashing around the room once you trap him in it) then the player leaves through a doorway (A safety door with a slow lever, which is why he needed to be trapped.)
However the script you gave is neat. I'll use it if I need to do something similar later. Thanks