function Foo(args) -- This prints second. print("Module loaded") end Events:Subscribe("ModuleLoad", Foo) -- This prints first. print("Script loaded")