Necessities
Knowledge needed to create a functioning script for juju
Loading and Unloading
Your script content is read, loadstringed, and and then put into a thread when loaded. When your script is unloaded the thread is closed and the on_unload signal is called.
The on_unload signal gives script creators the ability to clean up any Drawing objects, Instances, etc. Menu elements are automatically cleaned up when your script is unloaded. Connections are also unloaded assuming you use juju's create_connection.
Juju Environment
You can access Juju's environment incredibly easily, as it is a global table.
Last updated