Smart Trashbin metal detector with coin reward... need help

Are you trying to power two servos from a 9 volt smoke alarm battery?

Can you try using a 5 volt power supply? A cellphone power bank is a better source, you'd have to cut into a USB cable and use the red (+) and black (ground) wires.

Or you could use 4 AA batteries for 6 volts (servos be fine).

With either 5 or 6 volts you would not need the regulators.

a7