How to get Player Infos from players who aren't in the server

So, I noticed that I cant get GetPlayerByUserId() and other features like AccountAge and MemberShipType or DisplayName from users who aren’t in the same server as the script.
Local and Server Script.
I taught it just doesn’t work and wanted to fill a feature request.
But then I reminded me about a game who you can search for any User and get data’s like that.
So my question is:
How to get Player Infos from players who aren’t in the server.

1 Like

You’re able to use UserService:GetUserInfosByUserIdsAsync() to fetch the user’s DisplayName.

For MembershipType, simply query the PremiumFeatures API and process the response accordingly.

2 Likes

There is there a UserService? I didn’t know anything about that, thank you.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.