I have a subscription in my game, and you get a character upon purchase. However, I would like to make that character have new styles and deal more damage. (if this is against TOS then please let me know) So how would I check to see how long a player has been a member for?
Well, from what I know, it wouldn’t be possible using the Roblox API. However, there is one thing you can do.
You can save the os.time() when the person first entered with premium and simply subtract that value from another os.time() to find out the amount of time that has passed between each session.
You won’t have the exact subscription time, but it’s already a foundation that can be worked on.
Thanks for your response! However I’m not talking about a premium system. I am talking about the roblox subscription system. I heard that you could find this out using Roblox API but I couldn’t find the function to do so.
My best response is that you’ll have to save receipt along with time of first purchase (os.time) into the datastore. I don’t think there is an actual function for it.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.