I always been wondering is rbx lua and normal lua the same thing? or does rbx lua have a little bit of diffrent things and another question if i learned normal lua could i know how to script in roblox with what i learned?
Roblox's Lua extends Lua 5.1 by removing certain things such as the io
library and most of the os
library, and then inserting global values such as game
(The base entry point for the DataModel) and Vector3
(An example entry point for a collection of functions for Vector3s including the constructor).
All of the code being run is implemented on top of scheduler, meaning that all your code runs inside of coroutines.
I've also been told that the __gc
metamethod is disabled, and I know that the garbage collection was modified.
As far as I know, they're more or less the same. It's just that RBX Lua was modified for Roblox specifically and has certain parts of it that were made for Roblox.