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

help with GamePass?

Asked by 10 years ago

So I have been making gamePasses for a while and found out recently that you can makes it so say if the person got the gamepass, In about 30 days the gamepass will expire, Sort of like a membership for roblox, but on a game?If that makes sense? So say, I wanted to give this guy 2x points and 2xDamage for 200 R$ a month, How would I make it so if they buy the gamepass and 30 days is up, They have to buy it again? Thanks if someone can help?

1 answer

Log in to vote
0
Answered by
Goulstem 8144 Badge of Merit Moderation Voter Administrator Community Moderator
10 years ago

For this then you'd need to use Developer Products, rather than GamePasses. You can't delete the owned gamepass from the client'a inventory, so gampasses wouldn't work very well. You can use a Developer Product, and then use DataStore to save the current time that the player bought the Developer product, either using tick() or os.time(). os.time() is preferable in case people log on from different timezones, it would still be the same.

0
Thanks, This should help, Just have to learn DevP, and Time(), Thanks man! OpticalAce 49 — 10y
Ad

Answer this question