Can I detatch the cylinder from a typewriter so that the bell and sliding mechanism still properly function?

I have an idea for modding a nerf gun involving attatching a typewriter cylinder to it so that either firing or cocking the gun causes the cylinder to "Ding".  Is it possible to safely detatch the cylinder of an old typewriter so that the sliding mechanism and bell still function correctly?  Also, could someone please provide me with a chart of the individual mechanisms within an antique typewriter?

Thank you Instructables.