Utility Functions
Here is a list of the available functions used to assist script developers
callback
Function
This function is called when the addon is unloaded
signal
RBXScriptSignal or table (custom signals)
The signal to connect the callback to
callback
Function
The function to connect to the signal
RBXScriptSignal or table (custom signals)
Signal object, can use :Disconnect etc
Table
An element, like given from create_element
Table
A table holding the names of all juju flags
Any
The value of the flag given
None
N/A
Table
A table holding the names of all juju signals
Table / RBXScriptSignal
The found signal
text
String
The text that will be displayed over the notification
type
Number
The type of notification being sent, 1 = Success, 2 = Alert, 3 = Fail
time
Number
The amount of time the notification is on screen (0.5 - 7 seconds only)
player
Instance (Player)
The player that will have their status set
status
Number
The status the player is being set as, 1 = Neutral, 2 = Friendly, 3 = Enemy
Number
The player's current status, 1 = Neutral, 2 = Friendly, 3 = Enemy
Table
Example return result: {["silent aim"] = true, ["prediction"] = 1948.6923814}
name
The name of the config, without the extension. default.cfg -> juju.load_config("default")
Last updated