Catapult Coding Help

Sounds like a similar setup to what many users used in the IQ game last year. Review this post that includes a vexcode file on one way of coding a catapult.