Scheduling working weird

So I have a consumable item which is linked to an advancement which then calls a function but if you have a stack there is no cooldown so im trying to add one by scheduling a function to run a reenable function which then revokes the advancement, but the scheduling is being really weird ive realised i cant schedule a function as @s so i made the function tag the player, then when the cooldown is over it untags the player, but the scheduling in the function just plainly doesnt work

Continue to help post