0% found this document useful (0 votes)
18 views

Docs

The document outlines various methods and classes available in a global environment, specifically for a programming context related to Roblox. It includes methods for handling player actions, file operations, debugging, and drawing functionalities. Each method is described with its label, type, and a brief explanation of its purpose.

Uploaded by

taca.ne.kaka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Docs

The document outlines various methods and classes available in a global environment, specifically for a programming context related to Roblox. It includes methods for handling player actions, file operations, debugging, and drawing functionalities. Each method is described with its label, type, and a brief explanation of its purpose.

Uploaded by

taca.ne.kaka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 5

{

"global environment": {
"queue_on_teleport": {
"label": "queue_on_teleport(code);",
"type": "Method",
"description": "Executes code after player is teleported.",
"insert": "queue_on_teleport"
},
"setsimulationradius": {
"label": "setsimulationradius(min,max);",
"type": "Method",
"description": "Sets the players simulation radius",
"insert": "setsimulationradius"
},
"gethwid": {
"label": "gethwid();",
"type": "Method",
"description": "Returns the User's HWID, changes between PCs.",
"insert": "gethwid"
},
"getinstances": {
"label": "getinstances();",
"type": "Method",
"description": "Returns a list of all instances within the game.",
"insert": "getinstances"
},
"getcallingscript": {
"label": "checkcaller();",
"type": "Method",
"description": "Gets the script that is calling this function.",
"insert": "getcallingscript"
},
"firetouchinterest": {
"label": "firetouchinterest(Part, ToTouch, Toggle);",
"type": "Method",
"description": "Fakes a .Touched event to ToTouch with Part.\nThe Toggle
argument must be either 0 or 1 (for fire/un-fire).",
"insert": "firetouchinterest"
},
"getrenv": {
"label": "getrenv();",
"type": "Method",
"description": "Returns the global environment for the LocalScript
state.",
"insert": "getrenv"
},
"newcclosure": {
"label": "newcclosure(lclosure);",
"type": "Method",
"description": "Takes an lclosure (Lua function) and returns a new
cclosure (C function).\nThis is commonly used when setting the metamethods of a
Roblox userdata such as game.",
"insert": "newcclosure"
},
"request": {
"label": "request(options);",
"type": "Method",
"description": "Sends a http request with parameters in options.",
"insert": "request"
},
"readfile": {
"label": "readfile(file);",
"type": "Method",
"description": "Returns the content of the file. ",
"insert": "readfile"
},
"loadstring": {
"label": "loadstring(chunk, chunk_name);",
"type": "Method",
"description": "Loads chunk as a Lua function with optional chunk_name
and returns it if compilation is successful.\nOtherwise, if an error has occurred
during compilation, nil followed by the error message will be returned.",
"insert": "loadstring"
},
"mousescroll": {
"label": "mousescroll(px);",
"type": "Method",
"description": "Scrolls the mouse wheel virtually by px pixels.",
"insert": "mousescroll"
},
"listfiles": {
"label": "listfiles(folder);",
"type": "Method",
"description": "Returns a table of files in folder.",
"insert": "listfiles"
},
"keyrelease": {
"label": "keyrelease();",
"type": "Method",
"description": "Releases key on the keyboard. You can access the key
values from the link below.\n
https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes",
"insert": "keyrelease"
},
"mouse1release": {
"label": "mouse1release();",
"type": "Method",
"description": "Simulates the left mouse button being released. Commonly
used after calling mouse1press().",
"insert": "mouse1release"
},
"getnilinstances": {
"label": "getnilinstances();",
"type": "Method",
"description": "Returns all the nil instances in the game.",
"insert": "getnilinstances"
},
"islclosure": {
"label": "islclosure(f);",
"type": "Method",
"description": "Returns true if f is an LClosure. Otherwise returns
false.",
"insert": "islclosure"
},
"mouse1click": {
"label": "mouse1click();",
"type": "Method",
"description": "Simulates the left mouse button being clicked one time.",
"insert": "mouse1click"
},
"mouse2press": {
"label": "mouse2press();",
"type": "Method",
"description": "Clicks down on the right mouse button.",
"insert": "mouse2press"
},
"saveinstance": {
"label": "saveinstance();",
"type": "Method",
"description": "Saves the game as a roblox studio file, can be found in
the workspace folder.",
"insert": "saveinstance"
},
"getgenv": {
"label": "getgenv();",
"type": "Method",
"description": "Returns the environment that will be applied to each
script ran by Solara.",
"insert": "getgenv"
},
"mousemoverel": {
"label": "mousemoverel(x, y);",
"type": "Method",
"description": "Moves the mouse by x and y relative to the mouse’s
current position.\nKeep in mind that a positive y value moves the mouse down.",
"insert": "mousemoverel"
},
"iscclosure": {
"label": "iscclosure(closure);",
"type": "Method",
"description": "Returns a boolean that tells you if closure is a C
closure (true) or a Lua closure (false)",
"insert": "iscclosure"
},
"keypress": {
"label": "keypress(keycode);",
"type": "Method",
"description": "Continuously presses the key indicated by keycode until
keyrelease is called with the same keycode.",
"insert": "keypress"
},
"setfpscap": {
"label": "setfpscap();",
"type": "Method",
"description": "Sets roblox's fps cap.",
"insert": "setfpscap"
},
"mouse1press": {
"label": "mouse1press();",
"type": "Method",
"description": "Simulates a left mouse button press without releasing
it.",
"insert": "mouse1press"
},
"isrbxactive": {
"label": "isrbxactive();",
"type": "Method",
"description": "Returns true if roblox is focused, otherwise returns
false.",
"insert": "isrbxactive"
},
"getconnections": {
"label": "getconnections(event);",
"type": "Method",
"description": "Returns the functions connected to event as a table.\
nEach entry in the returned table is a table with Enable and Disable methods.\nYou
can call those methods to enable/disable connections.",
"insert": "getconnections"
},
"fireclickdetector": {
"label": "fireclickdetector(d);",
"type": "Method",
"description": "Simulates a click on ClickDetector d.",
"insert": "fireclickdetector"
},
"mouse2release": {
"label": "mouse2release();",
"type": "Method",
"description": "Simulates the right mouse button being released. This is
commonly used after calling mouse2press().",
"insert": "mouse2release"
},
"getrawmetatable": {
"label": "getrawmetatable(t);",
"type": "Method",
"description": "Gets the metatable of table or userdata t and returns it
without invoking __metatable and sets the readonly value of the metatable to
false.",
"insert": "getrawmetatable"
},
"isreadonly": {
"label": "isreadonly(t);",
"type": "Method",
"description": "Returns t's read-only condition.",
"insert": "isreadonly"
},
"mouse2click": {
"label": "mouse2click();",
"type": "Method",
"description": "Simulates the right mouse button being clicked one
time.",
"insert": "mouse2click"
},
"writefile": {
"label": "writefile(filename, data);",
"type": "Method",
"description": "Writes data to a file called filename in the workspace
folder.\n If the file already exists, the file is overwritten. This function is
restricted to the workspace folder.",
"insert": "writefile"
},
"setclipboard": {
"label": "setclipboard(data);",
"type": "Method",
"description": "Copies data to the clipboard.",
"insert": "setclipboard"
}
},
"debug_library": {
"debug": {
"label": "debug",
"type": "Class",
"description": "Debug Library",
"insert": "debug"
},
"debug.getmetatable": {
"label": "debug.getmetatable(val);",
"type": "Method",
"description": "Retrieve the metatable of value irregardless of value's
metatable's __metatable field. Returns nil if it doesn't exist.",
"insert": "debug.getmetatable"
},
"debug.profileend": {
"label": "debug.profileend();",
"type": "Method",
"description": "Stops a profile created with debug.profilebegin.",
"insert": "debug.profileend"
},
"debug.profilebegin": {
"label": "debug.profilebegin(label);",
"type": "Method",
"description": "Starts a profiler under the label label.",
"insert": "debug.profilebegin"
},
"debug.traceback": {
"label": "debug.traceback(message, level);",
"type": "Method",
"description": "Returns a string with a traceback of the call stack at
level (stack level 1 if not provided).\nYou can also include a message to append to
the start of the traceback with the message argument.",
"insert": "debug.traceback"
},
"debug.getinfo": {
"label": "debug.getinfo(f);",
"type": "Method",
"description": "Returns a table containing the following information
about the function:\n + source - The name of the script the function was defined
in\n+ what - Where the function originates from (Lua or C/C++)\n+ func - The passed
in function\n+ short_src - The name of the script in a format that can be used in
error messages\n+ name - The name of the function\n+ nups - The number of upvalues
in the function\nAlthough more information is given, that information is pointless
since it has the same values for every function.",
"insert": "debug.getinfo"
}
},
"drawing_library": {
"Drawing.new": {
"label": "Drawing.new(type);",
"type": "Method",
"description": "Creates a new drawing object with type. Returns the
object.",
"insert": "Drawing.new"
}
}
}

You might also like