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

How would I get the game owner name for the game?

I am trying to figure out how to get a place owner name from a game, instead of the owner ID. Is there a web API for this or something similar, or a roblox in-built function? Note: I am not asking for code, just asking if there is a function for this or a webapi for this

Note: I am pretty sure a bot removed my old question for a false flagging or whatever, so I am rewording my question so it doesn't get detected.

1 answer

✓ Accepted answer

Pretty sure there isn't a function neither a webapi but I do have a piece of code you could use, it basically looks for the player name and if the player name is who ever's name you put in it will print Owner Joined, but you can modify it to have a owner name tag in the chat or something just an example. If you do use this then put it in ServerScriptService.

wait(0.3)

local playername = game.Players.LocalPlayer.Name

if playername == "Your or someone else's name." then
print("Owner Joined!")
end

You can modify the rest if you want.

2 comments

0

No, I know it's possible as I have seen it before. It might be a 3rd party program

0

Sorry for the late accepting answer. I couldn't find an API but your answer works!

This discussion is preserved as it was. New answers, comments, and votes are closed.