Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How would I check who the owner of a game is?

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.

4 comments

0

Not what I am asking.

0

CreatorID

0

Um...perhaps clarify? All users have a starting place when registered so...

1

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.