GetRequestedUrls (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.
GetRequestedUrls( )
Returns Table
Description: Gets a list of URLs that have been previously loaded by Roblox.
Member of: ContentProvider


Usage

Example
This example will print all of the URLs that Roblox has previously loaded to the Output window (Can only be used in Command):
for _, Url in ipairs(game:GetService("ContentProvider"):GetRequestedUrls()) do print(Url) end