retrostudio
The retrostudio
library has been made to replicate the function of Visual Scripting blocks that do not correspond to any meaningful category (Misc section in the Misc tab in the block code editor).
Descriptions have been copied from their respective blocks.
Function | Description |
---|---|
| Loads the model from its retrostudio id. The success output returns true or false based on whether or not it successfully loads. If success is true and LoadedModel is nil then there was no model at that id. Loading blocks may only be used 5 + (5 * number of players) times per minute. |
| Returns a bool based on whether or not the game has loaded. |
| Returns the time era of this place. |
| Returns a bool based on whether or not this script is running in studio. |
| Returns a bool based on whether or not this script is running in a solo game server. |
| Returns a bool based on if a player is a guest or not. |
| Detects if the game is running on a touchscreen device. |
| Returns the real world time in seconds. |
| Returns the amount of CPU time used in seconds. This is high precision and can be used for benchmarking. |
| Returns date/time information based on the given time, Timezone must either be '*t' (local time) or '!*t' (UTC time | Default) |
| Returns a bool based on if a player is friends with another player. |
| Returns a bool based on if a player is in a certain group or not. |
| Returns the rank the user holds in a group. |
| Returns a table of everything selected in studio. This is for plugins and should not be used in game. |
| Reloads the place (Does not work in Studio), same function as the '!reloadplace' command. |
| Inserts a player's RetroStudio Avatar. |
| Returns the server epoch time in seconds. |
| Prints the scripts entire memory table. Useful for advanced debugging. |
Last updated