A bill seeking to change the requirements for purchasing a semiautomatic gun in Colorado passed the Senate.