How do I make a toggle able 2x speed gamepass

how would I make a gamepass that would double the players speed but also be toggle able

When they try to toggle it just check if they have the game pass, if they do toggle if they don’t, don’t do anything

You can make a gui that only shows up if the player owns the gamepass, and then from that point on have a button that switches the player’s speed.