Double jump script

I need help making a double jump script for my d-run server, but i want there to be a secret way to double jump, if that makes sense. Thanks.