Functions
This page lists all the global functions that you can use with scripts in the script builder.
Last updated
This page lists all the global functions that you can use with scripts in the script builder.
Last updated
Prints into the script builder output instead of the Roblox one. If the format printing setting is enabled then it will format the message with .
Warns into the script builder output instead of the Roblox one. If the format printing setting is enabled then it will format the message with .
Throws an error, if the format printing setting is enabled then it will format the message with . Script errors are automatically caught by the script builder and outputted into your output.
Prints into the script builder output with richtext enabled, ignoring the format printing setting. Useful if you want to print information to the user into the output.
Warns into the script builder output with richtext enabled, ignoring the format printing setting. Useful if you want to warn information to the user into the output.
This is a deprecated Roblox function, and should not be used in new work. It's just added for compatibility.
This is a removed Roblox function, and should not be used in new work. It's just added for compatibility.
Exactly like on Roblox but will always print identity 2, and outputs into the script builder output.
Exactly the same as Roblox's function, but is blocked from people in place 1 (outside of VIP servers) that don't have place 1 require permissions. This is because this function can very easily escape the sandbox.
If you want to use mesh parts or not have to use model to script in place 1, then check out .
A reimplementation of Roblox's LoadLibrary feature which was .
Has almost the exact same functionality as . But can only have asset id's as the target, and does some security checks to prevent people from running untrusted code outside the sandbox. This is used to load user made assets into the game (even meshparts).
Credits to for the idea.
First of all you need to get the Model from Roblox , and then add it in studio. After that you can insert in all assets that you want to be able to use ingame. And then publish the ModuleScript (remember to enable "Distribute on Marketplace"), then copy the asset id.
Creates and returns a new with the specified source under the specified parent, with optional run arguments.
If no parent argument is specified then it will default to .
Alias for .
Creates and returns a new with the specified source under the specified parent, with optional run arguments.
If no parent argument is specified then it will default to the script 's .
Alias for .