Skip to content
Sign upLog in
← Back to Community

Can you learn Lua in general to create games on Roblox studios?

Profile icon
[deleted]

I would love to learn Lua to create games on Roblox. can you learn Lua in general to code on Roblox, or is it a type of Lua?

Voters
Profile icon
MohammadBasil
Profile icon
LokzinScripmit
Profile icon
xhihadleka
Profile icon
AtriDey
Profile icon
Kai_Justice
Comments
hotnewtop
Profile icon
Kai_Justice

The short answer to your question is yes, though i'm not too knowledgeable. I've looked into it and knowing the basics would help you get into scripting for roblox, garry's mod, etc.

Profile icon
FancyGiraffe

Yes and no. Roblox uses some general Lua features for things like the output bar, though there is still a lot to learn. You have to know all of the tweaks and features of Roblox. Roblox also uses a certain version of Lua called Luau which is based on Lua 5.1. The difference between Luau and Lua 5.1 is that Luau does not include features that may be irrelevant to Roblox Studio.

Profile icon
SixBeeps

Roblox Lua is the same syntactically and structurally as "general" Lua. The only difference is Roblox is Object Oriented, and Lua was not built for objects, so the way things are handled is a bit strange.
I learned a bit from the Roblox Documentation (a.k.a the Roblox API Reference) so I'd definitely look there when you're done learning "general" Lua.

Profile icon
zain-haq

roblox lua is pretty easy to learn if you use free models and look at the scripts in there then you can kinda use logic and find out what each thing does. That's what I did. I'm still not a master scripter or anything but ya

Profile icon
AtriDey

I don't know Lua, but I play enough Roblox to know Roblox Studio uses a specific dialect called Lua.rbx, and my developer friends say it's tough to go to it from standard Lua.