How to make a sprint button with a cooldown (Difficulty 5/10)

I think they used the wrong link here is the guide: How to make an edible energy bar! (Difficulty: 3/10 or 🟩)