PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

InsertService

Show deprecated

InsertService

Show deprecated

Used to insert assets from Roblox into the current game.


Properties

bool

AllowClientInsertModels

[NotScriptable]

Functions

Array

GetBaseSets ( )

[Yields]

Returns an array of dictionaries, containing information about various Roblox approved sets.

Array

GetCollection ( int64 categoryId )

[Yields]

Returns the most recently uploaded models in the specified category.

Array

GetFreeDecals ( string searchText , int pageNum )

[Yields]

Retrieves a list of Free Decals from the Catalog

Array

GetFreeModels ( string searchText , int pageNum )

[Yields]

Retrieves a list of Free Models from the Catalog

int64

GetLatestAssetVersionAsync ( int64 assetId )

[Yields]

Returns the latest AssetVersionId of an asset for assets created by the place creator.

Can be used in combination with LoadAssetVersion to load the latest version of a model, even if it gets updated while the game is running.

Array

GetUserSets ( int64 userId )

[Yields]

Returns an array of dictionaries, containing information about sets owned by the user.

Instance

LoadAsset ( int64 assetId )

[Yields]

Returns a Model inserted into InsertService containing the asset

Instance

LoadAssetVersion ( int64 assetVersionId )

[Yields]

Returns a model inserted into InsertService containing the asset with the given assetVersionId.

Events