add GlobalCooldown api for scripts