Hi guys! Is there a way to have a timed developer product? Say, to have faster walkspeed for 2 days or for 4 games, or 3 minutes, for example?? Thanks in advance!
This is possible, you would have to save a value through datastore or data persistence, but you would want to use the tick()
function at the time of purchase or reduce a number for the amount of games played.
Like at the time of purchase use tick()
and then how many days you want times 86400 (60 seconds, times 60 minutes, times 24 hours), then save the stats, and once time is expired remove the walkspeed.
For the games you would save a stat, after that many games have been played then remove the advantage.