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

Getting the owner of a place

Is there a way to get name of the owner of a place given the place? (MarketplaceService and AssetService return nil or Not Found.)

1 comment

0

They should not return nil or Not Found - if they do you are doing something wrong.

1 answer

✓ Accepted answer

Yes, via a method I consider quite hackish:

local market = game:GetService("MarketplaceService")
local placeid = 137913728 -- same id
local ProductInfo = market:GetProductInfo(placeid)
if ProductInfo then
	print(ProductInfo.Creator.Name)
end

Also worth nothing: ProductInfo.Creator.Id returns the user id of that name.

You can use this on any place - also places which is not the running place. Just fill in the place id.

3 comments

0

Ok, ill test this at home, will be a few hours.

0

This isn't hackish at all... you're getting the info on an asset. How is that hackish?

0

I disagree. Marketplace service is intended to be used on catalog items, not places. I consider that hackish.

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