Function roblox::function::load_library[][src]

pub fn load_library(library_name: String) -> Result<Dictionary, String>
👎 Deprecated
Expand description

Equivalent to RbxLibrary LoadLibrary(string libraryName) in Luau.

Returns

A built-in Roblox library, based on the library_name specified. There are currently 3 available libraries: RbxGui RbxUtility RbxStamper

Errors

load_library cannot be used anymore and will raise an error when calling. However, it is still possible to load the modules that this function once did. Please see this announcement post about its removal for more information. You can download this Roblox Model file which contains ModuleScripts that provide equivalent libraries.