Example Script

local juju = juju -- This is not neccessary, it is a micro-optimization

local example_connection = juju.create_connection(game:GetService("Players").PlayerAdded, function(player)
    print(player.Name)
end)

local example_on_unload = juju.on_unload(function()
    print("bye bye :(")
end)

local example_toggle = juju.create_element(1, "example", {
    toggle = {
        flag = "example",
        default = true
    }
}, false)

Last updated