I want to see who owns a game to register a system I have to a Game ID, In order to do this though I want to check if the GameID the user entered is not valid to them. How would I do this? Is there an API I could use? I want to be able to get the ID of ANY Game owner meaning for example, If I were to put in the Jailbreak ID It would give me asimos ID or name.
COMMUNITY QUESTION
How would I check who the owner of a game is?
1 answer
you can check a player's UserId and see if it is the same as the CreatorId of the game on a player added event.
game.Players.PlayerAdded:Connect(function(plr)
if plr.UserId == game.CreatorId then
print("can I have an A+?")
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
Not what I am asking.
CreatorID
Um...perhaps clarify? All users have a starting place when registered so...
You can probably use :GetProductInfo() for this : https://www.robloxdev.com/api-reference/function/MarketplaceService/GetProductInfo