SetAssetUrl (Method)

From Legacy Roblox Wiki
Jump to navigationJump to search
Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
SetAssetUrl( )
Returns nil
Description: Sets the URL that LoadAsset uses to fetch assets
Member of: InsertService


Example
Set the asset URL from the command bar:
game:GetService("InsertService"):SetAssetUrl("http://www.roblox.com/Asset/?id=%d")