<table> getgenv(<void>)
- Returns the
environment
that will be applied to each script ran by Oxygen-U.
<table> getrenv(<void>)
- Returns the Roblox
environment
.
<table> getreg(<void>)
- Returns the
Lua
registry.
<table> getgc(<bool?>)
- Returns a
table
with all gc
objects. Use getgc(true)
to include tables.
<table> getinstances(<void>)
- Returns a
table
with instances.
<table> getnilinstances(<void>)
- Returns a
table
with instances parented to nil
.
<table> getloadedmodules(<void>)
- Returns a
table
with all loaded modules
currently in game.
<table> getconnections(<RBXScriptSignal> Signal)
- Returns a
table
with all connections to the given signal
.
Connection | Description |
.Function | The function connected to the connection. |
:Enable | Enables the connection. |
:Disable | Disables the connection. |
:Fire | Fires the connection. |
<void> firesignal(<RBXScriptSignal> Signal, <variant?> Args...)
- Fires all signals connected to the
signal
. If given, the arguments will be used to call the function.
<void> fireclickdetector(<Instance> ClickDetector, <number?> Distance = 0, <string?>)
- Fires the
clickdetector
. If no distance supplied, it will default to 0
.
<void> fireproximityprompt(<ProximityPrompt> Prompt)
- Fires the
proximityprompt
trigger.
<void> firetouchinterest(<BasePart> totouch, <BasePart> Part, <uint?> toggle)
- Touches part with
totouch
.
Action | Toggle |
Begins the touch. | 0 |
Ends the touch. | 1 |
<void> setscriptable(<Instance> Object, <string> Property, <bool> toggle)
- Sets the property's scriptable state to
toggle
.
<variant> gethiddenproperty(<Instance> Object, <string> Property)
- Returns the
value
of the property that cannot be accessed through Lua.
<void> sethiddenproperty(<Instance> Object, <string> Property, <variant> Value)
- Sets the given property to new
value
.
<void> setsimulationradius(<int> Radius)
- Sets the
LocalPlayer
's simulation radius to given arg
.