LoadAsset (Function): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>GoldenUrg initial |
>GoldenUrg →Limitations: Studio limit |
||
Line 15: | Line 15: | ||
== Limitations == | == Limitations == | ||
* Some scripts are deleted from loaded models. Presumably this is to stop viruses. | * Some scripts are deleted from loaded models. Presumably this is to stop viruses. | ||
* LoadAsset cannot be used offline (in Studio Play or Studio Start Server/Start Player). | |||
== See Also == | == See Also == |
Revision as of 04:36, 12 May 2010
LoadAsset( Number AssetId ) | |
Returns | Model |
Description: | Returns a model in the InsertService containing the loaded asset. |
Example
Game:GetService("InsertService"):LoadAsset( AssetId ).Parent = Workspace
Limitations
- Some scripts are deleted from loaded models. Presumably this is to stop viruses.
- LoadAsset cannot be used offline (in Studio Play or Studio Start Server/Start Player).