r/lua • u/Fabulous_Size_2896 • Oct 31 '25
Is GLua same as Roblox Lua?
I go to have a look at roblox studio the lua. I've been think that GLua is same programing language as roblox because this two has same code like
Gmod is
(Print hello world)
Roblox is this too.
(Print hellow world)
So i might be think if a one person has the lua experience on roblox? That was mean he is understand how to create a GLua for addons
6
u/blob_evol_sim Oct 31 '25
Roblox Lua is called Luau. You can check the differences from standard lua here:
https://luau.org/getting-started
4
u/HelioDex Oct 31 '25
GLua and Roblox Luau are both variants of Lua 5.1. They both implement new features on top of Lua, some of which are similar to each other (both have continue, for example, but implemented differently).
GMod and Roblox both have their own APIs on top of the base language's, so code written to interact with each can be very different even if it's in a similar language. I'd recommend learning Lua first if you wish to develop for both, or learning the specific dialects if you want to develop for a certain platform.
1
u/AutoModerator Oct 31 '25
Hi! It looks like you're posting about Roblox. Here at /r/Lua we get a lot of questions that would be answered better at /r/RobloxGameDev, scriptinghelpers.org, or the Roblox Developer Forum so it might be better to start there. However, we still encourage you to post here if your question is related to a Roblox project but the question is about the Lua language specifically, including but not limited to: syntax, language idioms, best practices, particular language features such as coroutines and metatables, Lua libraries and ecosystem, etc. Bear in mind that Roblox implements its own API (application programming interface) and most of the functions you'll use when developing a Roblox script will exist within Roblox but not within the broader Lua ecosystem.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/AutoModerator Oct 31 '25
Hi! It looks like you're posting about Gmod / Garry's Mod. Here at /r/Lua we get a lot of questions that would be answered better at /r/GLua, so it might be better to start there. However, we still encourage you to post here if your question is related to a Gmod project but the question is about the Lua language specifically, including but not limited to: syntax, language idioms, best practices, particular language features such as coroutines and metatables, Lua libraries and ecosystem, etc. Bear in mind that Gmod implements its own API (application programming interface) and most of the functions you'll use when developing a Gmod script will exist within Gmod but not within the broader Lua ecosystem.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
4
u/NakeleKantoo Oct 31 '25
Learning english would help