Added getweapon

Used pcall to gracefully handle errors