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

How to get the Owner ID of game made by a group ?

SOLVED

I want to make a code and i need to have the Owner ID of the group that made the game. Someone can help me, because i check many doc but i'v found no solution.

1 answer

✓ Accepted answer
if game.CreatorType == Enum.CreatorType.Group then
      local success, result = pcall(function()
            return player:GetRankInGroup(game.CreatorId) == 255
      end)
      if success and result then
            -- PLAYER IS AN OWNER
      end
end

2 comments

0

Thx, that working !

0

Np

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