Cooldown help

How would I make it that there's a cooldown while shifting there's a timer that goes down for about 10 seconds then the command stops after that you have to wait an additional ten seconds before you can crouch and do the commands again

Continue to help post