how to make a cooldown

um I have a problem with the schedule command and I want to make a cooldown for abillity that will show in action bar and it woudnt hurt to also have like the 0.1 but its not nessery
Continue to help post