Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
2

Is Normal Lua just the same as Roblox Lua or no?

Asked by 4 years ago
Edited 4 years ago

I would like to know since I am struggling a clear answer in the internet.

0
The simple answer is yes. The complex answer is no. Roblox uses Lua5.1. The syntax is exactly the same. The only difference is the added API. However, if you look deeper, you will see that Roblox heavily modified the vm, sandboxed some libraries like the os library, and Roblox even removed the io library. User#29813 0 — 4y
0
And you could say that the Lua Roblox uses is normal Lua because Lua was designed to be embedded in a host program. Either way, there's nothing wrong with learning Lua then the Roblox API as opposed to learning Lua + Roblox API at the same time. User#29813 0 — 4y
0
In fact, I actually recommend that people learn Lua outside of Roblox prior to developing on Roblox because of the number of quality resources for Lua outside of Roblox. In general, I have found the Roblox Wiki to be misinforming, unhelpful, inaccurate, and even downright wrong at times. The YouTube channels that teach the Roblox API and Lua at the same time are no better and are oftentimes worse. User#29813 0 — 4y
0
Thanks and I find this very informative compared on what I found in the internet previously Simpletton 82 — 4y

1 answer

Log in to vote
0
Answered by
IrishFix 124
4 years ago

As aetherProgrammer said the artice here is very useful and taught me the difference, but on the surface, it has a physical representation other lua doesnt have from a command bar, sorry for kind of butting in, but i thought i would put this out there.

0
I already had the answer in the comments but I think you deserve a bit of reputation I guess but thanks anyway Simpletton 82 — 4y
Ad

Answer this question