Is there any way to acquire a player's user ID when he/she paid for a private server?

Hello fellow developers!

Currently I am developing an online school called GE International School
and want to provide extra service to players who paid for the private server.
For that, I need their User IDs.
Are there any good ways to acquire them?

You can easily get the UserId by doing Player.UserId

If the player is already int their private server, you can check the owner using game.PrivateServerOwnerId

As for checking whether or not a player in a public server owns a private server, use MarketplaceService | Roblox Creator Documentation

Simply place the PlaceId of the game in the arguments.

2 Likes