getcustomasset
Copies a workspace file into the content provider and returns an rbxasset:// URL usable by Image, Sound and Mesh properties.
Signature
getcustomasset(path: string, noCache: boolean?): stringParameters
pathstringPath to the asset inside the workspace.
noCacheboolean?Bypass the cached copy.
Returns
string
Example
local img = Instance.new("ImageLabel")
img.Image = getcustomasset("saiko/logo.png")