getrawmetatable

table getrawmetatable(variant<table, userdata> obj)

Returns the metatable from a table or userdata, even if its locked.


setrawmetatable

boolean setrawmetatable(variant<table, userdata> obj, table val)

Sets the metatable of a table or userdata, even if its locked.


isreadonly

boolean isreadonly(table val)

Returns true if the table is read-only, false if it isn't.


setreadonly

boolean setreadonly(table tab, boolean readonly)

Sets the read-only flag of a table.


printconsole

boolean printconsole(string val [, number r, number g, number b])

Prints val to Elysian's console with color r, g, b. Default color is 0, 0, 200.


printdebug

boolean printdebug(string val)

Prints val to the console (View->Console->Toggle)


getobjects

Instance... getobjects(string content)

Internal function used by DataModel::GetObjects (see init.lua)


readfile

string readfile(string filename)

Returns the contents of the file in the workspace folder


loadfile

function loadfile(string filename)

Loads a file from the workspace folder. Returns nil and an error on error. Similar to calling loadstring(readfile(filename)).


getgenv

table getgenv()

Returns the global environment for Elysian.


getrenv

table getrenv()

Returns the game's scripts' global environment.


Clipboard::set

boolean Clipboard.set(string data)

Sets the clipboard to `data`.


mouse1press

void mouse1press()

Presses the left mouse button.


mouse1release

void mouse1release()

Releases the left mouse button.


mouse1click

void mouse1click([number delay])

Clicks the left mouse button with an optional delay in between. Delay default is ~0.03 seconds.


mouse2press

void mouse2press()

Presses the right mouse button.


mouse2release

void mouse2release()

Releases the right mouse button.


mouse2click

void mouse2click([number delay])

Clicks the right mouse button with an optional delay in between. Delay default is ~0.03 seconds.


keypress

void keypress(number virtualkey)

Presses key `virtualkey`. Use this for reference.


keyrelease

void keyrelease(number virtualkey)

Releases key `virtualkey`


mousemoverel

void mousemoverel(number x, number y)

Moves the cursor relatively.


mousescroll

void mousescroll(number amount)

A positive number scrolls the mouse up and a negative number scrolls the mouse down. Use this for reference.


writefile

boolean writefile(string filename, string data [, boolean binary])

Writes `data` to a file in the workspace folder. Returns true if successful.


saveinstance

boolean saveinstance(string filename, Instance instance)

Saves an instance to a file in the workspace folder which can be later opened in Studio. NOTE: This function is currently disabled.


decompile

string decompile(variant<Instance, function> script [, string option])

Attempts to decompile `script` and returns the result. If `option` is provided and equal to "dump", lua bytecode will be returned (similar to string.dump). It should be noted that due to Roblox's changes to Lua's VM and parser this bytecode is not reliable to use with other decompilers, i.e. unluac. Returns nil and an error message on error.


checkcaller

boolean checkcaller()

Returns true if the function calling the function calling checkcaller is an Elysian function.


setfflag

boolean setfflag(string fflag, string value)

Sets an FFlag's value. Returns true if the flag was set succesfully or false if the flag doesn't exist. For more information on FFlag's and how to retrieve their values, see: http://wiki.roblox.com/index.php?title=API:Class/GlobalSettings/GetFFlag


getreg

table getreg()

Returns Lua's registry (LUA_REGISTRYINDEX).


getnilinstances

table getnilinstances()

Returns a list of nil instances.


elysianexecute

void elysianexecute(string script [, Instance localscript])

Equivalent to executing a script through Elysian's interface (pressing the execute button, etc). If 'localscript' is provided, the script will be binded/linked to that instance. If not present, a new LocalScript will be created.