Connected the gun control script to the capsule