execute as @a[tag=spy] at @s run scoreboard players remove @s Ability_Cooldown 1
execute as @a[tag=spy,tag=used] unless score @s Ability_Cooldown matches 0 run schedule function usdp:spyclock 1s
execute as @a[tag=spy,tag=used,scores={Ability_Cooldown=0}] run function usdp:use_again