How to make a catapult trap door

Thank you! I was thinking about the launch character function, so I will use that.