AllowCooldown function

Learn technical details about the AllowCooldown function.