Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Timed Developer Product?

Asked by 10 years ago

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!

1 answer

Log in to vote
0
Answered by
M39a9am3R 3210 Moderation Voter Community Moderator
10 years ago

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.

0
Thanks! Could you give me a rough script if possible? :) jjwood1600 215 — 10y
Ad

Answer this question