PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

SetBaseUrl

Sets /ContentProvider/BaseUrl, which is used by CoreScripts to interact with the web APIs.

This function is restricted and intended for internal Roblox scripts. Although it can be used from the command line in Roblox Studio, developers are advised not to do this as it may prevent assets from loading.

Parameters

Name Type Default Description

url

The base URL to be set.

Returns

Return Type Summary

Code Samples


ContentProvider:SetBaseUrl

Set the base URL from the command bar: