How can I make a cool down for game overlays

that works but look at this to i mean if u want a better cooldown ig just look at the cooldown part of the guide