Lines 182 and 183
elseif player.userId == game.CreatorId then
return PLACE_OWNER_ICON
CreatorId is set to a group’s groupId when CreatorType is a group. There needs to be a check for this, otherwise you can go to a game with the same groupId as your userId and appear to be the owner.
The proper code would give the icon to the group owner:
elseif player.userId == game.CreatorId and game.CreatorType == Enum.CreatorType.User then
return PLACE_OWNER_ICON
elseif game.CreatorType == Enum.CreatorType.Group and player:GetRankInGroup(game.CreatorId) == 255 then
return PLACE_OWNER_ICON