Ask coding questions

← Back to all posts
What coding language does Roblox® use?
CoolGuy27

What coding language does Roblox® use? I could not find this anywhere else, so repl devs take this down if you want, I just wanted to know.

Answered by Coder100 [earned 5 cycles]
View Answer
Voters
CoolGuy27
Comments
hotnewtop
Coder100

lua

JBloves27

oh, cool @Coder100

JBloves27

i didn't even know that, lol @Coder100

CoolGuy27

@Coder100 thank you! I thought it was python, but lua is ok.

Coder100

yeah, lua is wayy better than python @CoolGuy27

Coder100

lol np :) @JBYT27

realTronsi
Coder100

lua -> C @realTronsi

realTronsi

@Coder100 ? C++&&Lua

Coder100

no lua is written in C @realTronsi

Coder100

@realTronsi

as a lua fan I know this >:(

realTronsi

@Coder100 no I was talking about what Roblox was made using

Coder100
Baconman321

@Coder100 Yes, but they use c++ for computationally intense mathematical calculations.


The source is from roblox itself. realTronsi is trying to say that they use a combination of both.

Coder100
LingWu1

I don't eve know whats Lua but thx, @Coder100

[deleted]

lua

RayhanADev

G’day @CoolGuy27

Just to let you know while Roblox does use Lua, the version on Repl.it is not the same as the one on Roblox! Cheers,
~ Ray <3

CoolGuy27

@RayhanADev thank you ray, I will learn whats different (also, are you from australia, or do you just prefer g'day?)

RayhanADev

@CoolGuy27 no problem!

Baconman321

@CoolGuy27 Essentially, roblox uses a library that allows you to interact with objects, like the players and models, as well as the game assets. (Also, I'm a big roblox fan). I don't use roblox lua, but I know this because I have heard that roblox basically uses lua with it's own library. Lua is actually built to be expandable (as stated on wikipedia). It's kinda like how javascript has the document object (although it's built in, imagine it as a library), and nodejs runs off of javascript, but doesn't.

CoolGuy27

@Baconman321 hmmm ok, I didn't understand that the first time I read it, but then I figured it out

Baconman321

@CoolGuy27 Yeah, lua is meant to be added onto, kinda like how you see libraries (react for js, jquery) for javascript, python, and much more. They can add special commands into the language for that certain engine only. Basically, Roblox has a bunch of extra commands built in so you can interact with objects. Otherwise, lua doesn't have those commands originally. It confused me when I started out too, I know.

CoolGuy27

@Baconman321 so it's like unitys Physics commands.

Baconman321

@CoolGuy27 I guess.