How to use AssetService

I’ve looked on the old an new documentation for AssetService and I can’t find any code samples that show how to use it. Could any of you give an explanation on what the service does and how to use it in scripts?

AssetService basically is related with assets, you can get asset thumbnail, asset id for package etc…

You remember the game Blockate, whenever you create your blockate world it basically creates a place within the experience.

You can create place by using AssetService:CreatePlaceAsync(...) once you created the place then you can make changes by doing AssetService:SavePlaceAsync()

You can use AssetService:GetGamePlacesAsync()

Every functions of AssetService is listed on the documentation page.

https://developer.roblox.com/en-us/api-reference/class/AssetService

1 Like

Ooh, so is that how Piggy’s custom level creation system works?

Yeah ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎