Reference API Roblox

Engine API

Website

Related

Reference API Roblox

InsertService

Summary

This class is not creatable. Instances of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.
Tags: [NotCreatable, Service]

Member index 23

HistoryMember
553AllowClientInsertModels: bool
553AllowInsertFreeModels: bool
573ApproveAssetId(assetId: int64): null
573ApproveAssetVersionId(assetVersionId: int64): null
626CreateMeshPartAsync(meshId: Content, collisionFidelity: CollisionFidelity, renderFidelity: RenderFidelity): MeshPart
553GetBaseCategories(): Array
603GetBaseSets(): Array
462GetCollection(categoryId: int64): Array
462GetFreeDecals(searchText: string, pageNum: int): Array
462GetFreeModels(searchText: string, pageNum: int): Array
462GetLatestAssetVersionAsync(assetId: int64): int64
567GetLocalFileContents(contentId: string): string
553GetUserCategories(userId: int64): Array
462GetUserSets(userId: int64): Array
573Insert(instance: Instance): null
462LoadAsset(assetId: int64): Instance
462LoadAssetVersion(assetVersionId: int64): Instance
576LoadAssetWithFormat(assetId: int64, format: string): Objects
462LoadLocalAsset(assetPath: string): Instance
462LoadPackageAsset(url: Content): Objects
462LoadPackageAssetAsync(url: Content): Objects
553loadAsset(assetId: int64): Instance
inherited from Instance
553Archivable: bool
619Capabilities: SecurityCapabilities
553ClassName: string
553Name: string
553Parent: Instance
619Sandboxed: bool
616UniqueId: UniqueId
553className: string
576AddTag(tag: string): null
573ClearAllChildren(): null
462Clone(): Instance
573Destroy(): null
486FindFirstAncestor(name: string): Instance
486FindFirstAncestorOfClass(className: string): Instance
486FindFirstAncestorWhichIsA(className: string): Instance
486FindFirstChild(name: string, recursive: bool = false): Instance
486FindFirstChildOfClass(className: string): Instance
486FindFirstChildWhichIsA(className: string, recursive: bool = false): Instance
486FindFirstDescendant(name: string): Instance
563GetActor(): Actor
486GetAttribute(attribute: string): Variant
462GetAttributeChangedSignal(attribute: string): RBXScriptSignal
486GetAttributes(): Dictionary
486GetChildren(): Objects
462GetDebugId(scopeLength: int = 4): string
486GetDescendants(): Array
486GetFullName(): string
462GetPropertyChangedSignal(property: string): RBXScriptSignal
576GetTags(): Array
576HasTag(tag: string): bool
486IsA(className: string): bool
486IsAncestorOf(descendant: Instance): bool
486IsDescendantOf(ancestor: Instance): bool
580IsPropertyModified(name: string): bool
573Remove(): null
576RemoveTag(tag: string): null
580ResetPropertyToDefault(name: string): null
573SetAttribute(attribute: string, value: Variant): null
462WaitForChild(childName: string, timeOut: double): Instance
553children(): Objects
553clone(): Instance
573destroy(): null
553findFirstChild(name: string, recursive: bool = false): Instance
553getChildren(): Objects
462isA(className: string): bool
553isDescendantOf(ancestor: Instance): bool
573remove(): null
462AncestryChanged(child: Instance, parent: Instance)
462AttributeChanged(attribute: string)
462Changed(property: string)
462ChildAdded(child: Instance)
462ChildRemoved(child: Instance)
462DescendantAdded(descendant: Instance)
462DescendantRemoving(descendant: Instance)
500Destroying()
553childAdded(child: Instance)

Removed member index 11

HistoryMember
311SetAdvancedResults(enable: bool, user: bool = false): void
311SetAssetUrl(assetUrl: string): void
311SetAssetVersionUrl(assetVersionUrl: string): void
311SetBaseCategoryUrl(baseSetsUrl: string): void
311SetBaseSetsUrl(baseSetsUrl: string): void
311SetCollectionUrl(collectionUrl: string): void
311SetFreeDecalUrl(freeDecalUrl: string): void
311SetFreeModelUrl(freeModelUrl: string): void
311SetTrustLevel(trustLevel: float): void
311SetUserCategoryUrl(userSetsUrl: string): void
311SetUserSetsUrl(userSetsUrl: string): void

History 100

Members 23

AllowClientInsertModels

TypeDefault
boolfalse
This property is not scriptable. It cannot be accessed by script code.

History 4

Tags: [NotScriptable]

AllowInsertFreeModels

TypeDefault
boolfalse
This property is deprecated. It exists only for backward compatibility, and should not be used for new work.
This property is not replicated. Its interface does not cross the network boundary.
This property is not browsable. It is not visible in Studio's object browser.

History 5

Tags: [NotReplicated, NotBrowsable, Deprecated]

ApproveAssetId

Parameters (1)
assetIdint64
Returns (1)
null
This function is deprecated. It exists only for backward compatibility, and should not be used for new work.

History 5

Tags: [Deprecated]

ApproveAssetVersionId

Parameters (1)
assetVersionIdint64
Returns (1)
null
This function is deprecated. It exists only for backward compatibility, and should not be used for new work.

History 5

Tags: [Deprecated]

CreateMeshPartAsync

Parameters (3)
meshIdContent
collisionFidelityCollisionFidelity
renderFidelityRenderFidelity
Returns (1)
MeshPart
This function yields. It will block the calling thread until completion.

History 6

Tags: [Yields]

GetBaseCategories

Parameters (0)
No parameters.
Returns (1)
Array
This function is deprecated. It exists only for backward compatibility, and should not be used for new work. GetBaseSets should be used instead.
This function yields. It will block the calling thread until completion.

History 4

Tags: [Yields, Deprecated]

GetBaseSets

Parameters (0)
No parameters.
Returns (1)
Array
This function is deprecated. It exists only for backward compatibility, and should not be used for new work.
This function yields. It will block the calling thread until completion.

History 3

Tags: [Yields, Deprecated]

GetCollection

Parameters (1)
categoryIdint64
Returns (1)
Array
This function yields. It will block the calling thread until completion.

History 3

Tags: [Yields]

GetFreeDecals

Parameters (2)
searchTextstring
pageNumint
Returns (1)
Array
This function yields. It will block the calling thread until completion.

History 2

Tags: [Yields]

GetFreeModels

Parameters (2)
searchTextstring
pageNumint
Returns (1)
Array
This function yields. It will block the calling thread until completion.

History 2

Tags: [Yields]

GetLatestAssetVersionAsync

Parameters (1)
assetIdint64
Returns (1)
int64
This function yields. It will block the calling thread until completion.

History 4

Tags: [Yields]

GetLocalFileContents

Parameters (1)
contentIdstring
Returns (1)
string

History 1

GetUserCategories

Parameters (1)
userIdint64
Returns (1)
Array
This function is deprecated. It exists only for backward compatibility, and should not be used for new work. GetUserSets should be used instead.
This function yields. It will block the calling thread until completion.

History 5

Tags: [Yields, Deprecated]

GetUserSets

Parameters (1)
userIdint64
Returns (1)
Array
This function yields. It will block the calling thread until completion.

History 3

Tags: [Yields]

Insert

Parameters (1)
instanceInstance
Returns (1)
null
This function is deprecated. It exists only for backward compatibility, and should not be used for new work.

History 4

Tags: [Deprecated]

LoadAsset

Parameters (1)
assetIdint64
Returns (1)
Instance
This function yields. It will block the calling thread until completion.

History 3

Tags: [Yields]

LoadAssetVersion

Parameters (1)
assetVersionIdint64
Returns (1)
Instance
This function yields. It will block the calling thread until completion.

History 3

Tags: [Yields]

LoadAssetWithFormat

Parameters (2)
assetIdint64
formatstring
Returns (1)
Objects
This function yields. It will block the calling thread until completion.

History 1

Tags: [Yields]

LoadLocalAsset

Parameters (1)
assetPathstring
Returns (1)
Instance

History 2

LoadPackageAsset

Parameters (1)
urlContent
Returns (1)
Objects

History 2

LoadPackageAssetAsync

Parameters (1)
urlContent
Returns (1)
Objects
This function yields. It will block the calling thread until completion.

History 4

Tags: [Yields]

loadAsset

Parameters (1)
assetIdint64
Returns (1)
Instance
This function is deprecated. It exists only for backward compatibility, and should not be used for new work. LoadAsset should be used instead.
This function yields. It will block the calling thread until completion.

History 4

Tags: [Yields, Deprecated]

Removed members 11

SetAdvancedResults

Parameters (2)Default
enablebool
userboolfalse
Returns (1)
void

History 2

SetAssetUrl

Parameters (1)
assetUrlstring
Returns (1)
void

History 2

SetAssetVersionUrl

Parameters (1)
assetVersionUrlstring
Returns (1)
void

History 2

SetBaseCategoryUrl

Parameters (1)
baseSetsUrlstring
Returns (1)
void

History 2

SetBaseSetsUrl

Parameters (1)
baseSetsUrlstring
Returns (1)
void

History 2

SetCollectionUrl

Parameters (1)
collectionUrlstring
Returns (1)
void

History 2

SetFreeDecalUrl

Parameters (1)
freeDecalUrlstring
Returns (1)
void

History 2

SetFreeModelUrl

Parameters (1)
freeModelUrlstring
Returns (1)
void

History 2

SetTrustLevel

Parameters (1)
trustLevelfloat
Returns (1)
void

History 2

SetUserCategoryUrl

Parameters (1)
userSetsUrlstring
Returns (1)
void

History 2

SetUserSetsUrl

Parameters (1)
userSetsUrlstring
Returns (1)
void

History 2

Settings