PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

SetBaseUrl

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

This function is restricted and is intended to be used by internal Roblox scripts only. 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:

game:GetService("ContentProvider"):SetBaseUrl("http://www.roblox.com/")