What is a way to see stats of a players profile?

Recently, I have played a game called “Flex Your Account Age” and I have been wondering how they see the players stats like what year they joined.

I searched online for it, and there was not a single thing about it.

How is this done?

Thank you and have a nice day :smiley:

3 Likes

For the account age, membership type, ect you can directly find that in the Player object just like the example below:

game.Players.PlayerAdded:Connect(function(player)
     print('This account is '..player.AccountAge..' days old');
end)

You can also create a function to convert days into years/months/weeks

If you’re willing to find more data, I advise you visiting the ROBLOX Api https://api.roblox.com/docs

2 Likes

Thank you a lot :smiley:

:frog: