how to institute automatic cannon as constructor

Dis gun be gud.