This repository was archived by the owner on Apr 2, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathdocs.txt
260 lines (260 loc) · 10.5 KB
/
docs.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
{
"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"
}
}
}