How would I go about adding users who purchase a monthly product to Basic Admin

This is a thing that I can’t seem to figure out whatsoever, and I’ve pulled a lot of resources but none seem to help me. The thing that got me started on this topic is that the Roblox cafe called 'Boba" has a celebrity VIP gamepass where you purchase the devproduct and you get those specific perks for a certain amount of time. The shocker is that they integrated their datastore with the Basic Admin Essentials module which grants them Admin in game. Does anyone have any idea on how this works?

Thanks In Advance,
Aly

When a user purchases the product, add their PlayerID to a datastore list with an os.time stamp(from the server).

When the player joins, check the os.time to see if it has been longer than a month, if it has, remove them from the datastore list.

In the admin script, call the datastore list where it would take player IDs.

Alright, I will give that a try. Thanks for the help.

1 Like