-
Notifications
You must be signed in to change notification settings - Fork 5
/
docs.txt
482 lines (482 loc) · 20 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
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
{
"global environment": {
"firesignal": {
"label": "firesignal(Signal, Args);",
"type": "Method",
"description": "Fires all the connections connected to the signal Signal with Args.",
"insert": "firesignal"
},
"getsenv": {
"label": "getsenv(localscript);",
"type": "Method",
"description": "Returns the global environment table of LocalScript script.",
"insert": "getsenv"
},
"setrawmetatable": {
"label": "setrawmetatable(o, mt)",
"type": "Method",
"description": "Sets o's metatable to mt even if the __metatable field exists in o's metatable",
"insert": "setrawmetatable"
},
"checkcaller": {
"label": "checkcaller();",
"type": "Method",
"description": "Returns true if the current thread is a Oxygen U thread.\nNote: Checkcaller does NOT check the call stack of the function, if you call a game function then it calls out to checkcaller, the result will be true! Be careful.",
"insert": "checkcaller"
},
"queue_on_teleport": {
"label": "queue_on_teleport(code);",
"type": "Method",
"description": "Executes code after player is teleported.",
"insert": "queue_on_teleport"
},
"setsimulationradius": {
"label": "checkcaller();",
"type": "Method",
"description": "Returns true if the current thread is a Oxygen U thread.\nNote: Checkcaller does NOT check the call stack of the function, if you call a game function then it calls out to checkcaller, the result will be true! Be careful.",
"insert": "checkcaller"
},
"gethwid": {
"label": "gethwid();",
"type": "Method",
"description": "Returns the User's HWID, changes between PCs.",
"insert": "gethwid"
},
"message": {
"label": "message(text);",
"type": "Method",
"description": "Creates a message box with parameters text",
"insert": "message"
},
"setfflag": {
"label": "setfflag(FFlag, Value);",
"type": "Method",
"description": "Sets FFlag with Value. Must be run before the game loads, auto execute recommended.",
"insert": "setfflag"
},
"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"
},
"randomstring": {
"label": "randomstring(num);",
"type": "Method",
"description": "Return a random string with num length.",
"insert": "randomstring"
},
"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"
},
"isluau": {
"label": "isluau();",
"type": "Method",
"description": "Returns a boolean that tells you whether a game has the new Luau VM enabled (true) or not (false).\nNow that all games use Luau, this function will always return true and just exists for legacy purposes.",
"insert": "isluau"
},
"setnamecallmethod": {
"label": "setnamecallmethod(name);",
"type": "Method",
"description": "Sets the current method name to name.",
"insert": "setnamecallmethod"
},
"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"
},
"setthreadcontext": {
"label": "setthreadcontext(level);",
"type": "Method",
"description": "Sets the current thread’s context level to level.",
"insert": "setthreadcontext"
},
"getthreadcontext": {
"label": "getthreadcontext();",
"type": "Method",
"description": "Returns the current thread’s security context level.",
"insert": "getthreadcontext"
},
"mousescroll": {
"label": "mousescroll(px);",
"type": "Method",
"description": "Scrolls the mouse wheel virtually by px pixels.",
"insert": "mousescroll"
},
"getnamecallmethod": {
"label": "getnamecallmethod();",
"type": "Method",
"description": "Returns the namecall method if the function is called in an __namecall metatable hook.",
"insert": "getnamecallmethod"
},
"hookfunction": {
"label": "hookfunction(old, hook);",
"type": "Method",
"description": "Hooks function old, replacing it with the function hook.\nThe old function is returned, you must use this function in order to call the original function.",
"insert": "hookfunction"
},
"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"
},
"keytap": {
"label": "keytap(keycode);",
"type": "Method",
"description": "Simulates a button tap for the specified keycode. Only works when roblox is focused.",
"insert": "keytap"
},
"rconsoleinfo": {
"label": "rconsoleinfo(msg);",
"type": "Method",
"description": "Prints msg into the console, with a info text before it.",
"insert": "rconsoleinfo"
},
"rconsolename": {
"label": "rconsolename(title);",
"type": "Method",
"description": "Sets the currently allocated console title to title.",
"insert": "rconsolename"
},
"getfpscap": {
"label": "getfpscap();",
"type": "Method",
"description": "Returns the fps cap.",
"insert": "getfpscap"
},
"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"
},
"rconsolewarn": {
"label": "rconsolewarn(msg);",
"type": "Method",
"description": "Prints msg into the console, with a warning text before it.",
"insert": "rconsolewarn"
},
"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"
},
"sethiddenproperty": {
"label": "sethiddenproperty(Object, Property, Value);",
"type": "Method",
"description": "Sets the hidden property Property with Value from Object. Errors if the property does not exist.",
"insert": "sethiddenproperty"
},
"saveinstance": {
"label": "saveinstance();",
"type": "Method",
"description": "Saves the game as a roblox studio file, can be found in the workspace folder.",
"insert": "saveinstance"
},
"gethiddenproperty": {
"label": "gethiddenproperty(object, property);",
"type": "Method",
"description": "Returns the hidden property Property from Object. Errors if the property does not exist.",
"insert": "gethiddenproperty"
},
"rconsoleclear": {
"label": "rconsoleclear();",
"type": "Method",
"description": "Clears the console.",
"insert": "rconsoleclear"
},
"getgenv": {
"label": "getgenv();",
"type": "Method",
"description": "Returns the environment that will be applied to each script ran by Oxygen U.",
"insert": "getgenv"
},
"rconsoleprint": {
"label": "rconsoleprint();",
"type": "Method",
"description": "Prints message into the console. Does not supports colors.",
"insert": "rconsoleprint"
},
"rconsoleerr": {
"label": "rconsoleerr();",
"type": "Method",
"description": "Errors message into the console.",
"insert": "rconsoleerr"
},
"getgc": {
"label": "getgc();",
"type": "Method",
"description": "Returns a table containing Lua’s garbage collector.",
"insert": "getgc"
},
"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"
},
"is_oxygen_function": {
"label": "is_oxygen_function(f);",
"type": "Method",
"description": "returns true if f is a Oxygen U function.",
"insert": "is_oxygen_function"
},
"setreadonly": {
"label": "setreadonly(t, b);",
"type": "Method",
"description": "Sets t's readonly value to b.",
"insert": "setreadonly"
},
"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"
},
"getreg": {
"label": "getreg();",
"type": "Method",
"description": "Returns the Lua registry table.",
"insert": "getreg"
},
"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.getupvalues": {
"label": "debug.getupvalues(f);",
"type": "Method",
"description": "Returns a table containing all of the upvalues at function or stack level f.",
"insert": "debug.getupvalues"
},
"debug.getupvalue": {
"label": "debug.getupvalue(f, idx);",
"type": "Method",
"description": "Returns the upvalue at index idx in function or stack level f.",
"insert": "debug.getupvalue"
},
"debug.getconstants": {
"label": "debug.getconstants(f);",
"type": "Method",
"description": "Returns a table containing all of the constants at function or stack level f.",
"insert": "debug.getconstants"
},
"debug.setmetatable": {
"label": "debug.setmetatable(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.setmetatable"
},
"debug.getprotos": {
"label": "debug.getprotos(f);",
"type": "Method",
"description": "Returns a table containing the protos (local functions) of function f.",
"insert": "debug.getprotos"
},
"debug.getproto": {
"label": "debug.getproto(f, index, b);",
"type": "Method",
"description": "Gets the proto (local function) at index index of function f.\nIf b is provided and set to true, a table is returned containing all instances of the local function at index index.",
"insert": "debug.getproto"
},
"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.getconstant": {
"label": "debug.getconstant(f, idx, value);",
"type": "Method",
"description": "Sets the constant at index idx in function or stack level f to value.",
"insert": "debug.getconstant"
},
"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"
},
"debug.setupvalue": {
"label": "debug.setupvalue(f, idx, value);",
"type": "Method",
"description": "Sets the upvalue at index idx in function or stack level f to value.",
"insert": "debugsetupvalue."
},
"debug.setconstant": {
"label": "debug.setconstant(f, idx, value);",
"type": "Method",
"description": "Sets the constant at index idx in function or stack level f to value.",
"insert": "debug.setconstant"
},
"debug.getregistry": {
"label": "debug.getregistry();",
"type": "Method",
"description": "Returns the Lua registry table.",
"insert": "debug.getregistry"
}
},
"drawing_library": {
"Drawing.new": {
"label": "Drawing.new(type);",
"type": "Method",
"description": "Creates a new drawing object with type. Returns the object.",
"insert": "Drawing.new"
}
}
}