Weekly product payment

Hey so I am trying to make a VIP and Premium option for my clothing group. Instead of this being a one time payment, I want it to be a weekly payment. An example of this is shown in Outlaster where they sell VIP as a weekly payment. After they buy VIP, all I want is for a simple overhead GUI.

Edit: Outlaster no longer sells Weekly VIP and now sells only a lifetime option

You can use a DevProduct “VIP”. When they purchase it, set a datastore entry called “expiryTime” which would be equal to

DateTime.now().UnixMillis + 7*24*60*60*1000

Then, you can add a script where it checks if DateTime.now() >= expiryTime. If so, then remove the DataStore Entry. Otherwise, load the VIP perks. Hope this helps you. :slightly_smiling_face: