For example, in Miner's Haven he releases codes, then a couple days after it's expired, how do you do that?
It's extremely easy to make the scripting behind the code GUI, but how do you make it so it expires? One way I know could be to make an IntValue called 'Expired' and set it to true but what if someone joins in a old server and they use that code? It would still be valid in old servers so it's not the most efficient way of doing it.
How do you make it so it expires for all servers, I'm assuming HttpService?

2 comments
They probably just remove the code script.
Yeah but did you read what I said? I said how do you make it so it expires on all servers instead of having to shutdown? Plus, removing the code script is silly, because what if you want to have other codes running but some to expire.