ozak #1 RunScriptFile does not return any errors.It needs to be corrected to Function lua_dofile(lua_state:Byte Ptr,filename$) luaL_loadfile(lua_state,filename) <b>return lua_pcall(lua_state,0,0,0)</b> End Function In lua.bmx under lua.mod