Yeah I'm playing undertale yellow right now! ( Haven't killed anyone... Because it either these steps...
Step 1 are they truly evil ( i.e serial killer, murder, torturing people etc) or ACTUALLY trying to kill you... If not then spare...
Step 2 if their pure evil/ actually trying to kill you ( based on dilouge and story) then you must kill em...