Function Scripts
Was this helpful?
Was this helpful?
local function my_init()
-- Called once when the script is loaded
end
local function my_run()
-- Called periodically while the Special Function switch is on
end
local function my_background()
-- Called periodically while the Special Function switch is off
end
return { run = my_run, background = my_background, init = my_init }