RBXMods run on the RBXMod servers in a customized LuaJIT environment. This page summerizes some of the main differences. To quickly get started using RBXMods, check out the RBXMod library.
Added Globals
These globals are specific to RBXMods.
RBXModAdds methods to communicate to callersPageAllows saving persistant data to files
Removed Globals
Like RBXLua, many globals needed to be removed from default Lua for security such as loadfile and the debug library. Roblox-specific globals also don't exist anymore and since RBXMods don't run on Roblox servers. Instead RBXMods should communicate with scripts running on the Roblox servers using the new RBXMod library.
- From RBXLua
- All Roblox-specific globals
script,workspace,gameInstance,Vector3,UDim2delay,spawn,tick,wait- and more
- From Lua
debug,os,iolibrariescollegegarbage,gcinfodofile,load,loadfilerequire
- From LuaJIT
ffilibrary