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

How to get place's name from id?

I am making a script to teleport to other places, and I need to know how I can get the name of a place from it's id.

1 answer

The MarketplaceService provides this sort of information.

Specifically, in this case, you will use the GetProductInfo method.

The example code on that Wiki article gives you what you need. I reproduce it here:

local Asset = game:GetService("MarketplaceService"):GetProductInfo(125378389)
print(Asset.Name .. " :: " .. Asset.Description)

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