istype() checks are somewhat laggy, just make a new mob proc, it doesn't even need to have a new var if you want