Lua code doesn't startup in autorun only maunally.

The code will not startup in autorun but will work when I use lua_openscript.

It just won’t run, or it gives you errors? I would assume it would give an error if it is in autorun and ulx isn’t loaded yet: the line “function ulx.website(ply)” would chuck an error (attempt to index nil value) if ulx isn’t loaded yet.

You are right, I did get that error.

Since you said ulx isn’t loaded yet I will try a timer. Thanks

Is it in lua\ulx\modules\sh\whatever.lua ?

The 5 second timer resolved the issue, I didn’t realize that ULX hasn’t loaded yet. Thanks a lot you guys.