Attempting to kill people is a crime in most jurisdictions, even if someone stops you before you actually do it.
https://en.wikipedia.org/wiki/Inchoate_offense