r/lua • u/BillAble8466 • 23h ago
Help Is it possible to learn lua in 1 month
I want to make a roblox game but i have one month and dont know anything about Lua is it possible to learn lua in one month, if yes can you give me advice how to learn it
3
u/toxic_prince21 23h ago
Yeah, totally doable. A month is plenty to get comfortable with the Lua basics you need for Roblox, things like variables, functions, loops, tables, and events. You won't be an expert, but you'll be able to build real stuff.
What helped me: don't just watch tutorials, write code from day one. Roblox uses Luau (a typed Lua dialect), so once you've got core Lua syntax down, spend time specifically in Roblox Studio's script editor since that's where the game specific APIs live (services, RemoteEvents, etc.).
If you want to mess around with Lua/Luau syntax without opening Studio every time, I built weblua.com . It's free, runs in the browser, no signup, and supports Luau. Useful for quick experiments before jumping into an actual Roblox project. It's my own site, just sharing since it fits what you're asking.
Otherwise the official Roblox Creator docs plus a couple of YouTube series (DevKing, AlvinBlox) will get you most of the way there.
0
u/XenoX101 22h ago
You won't be an expert
Is there such a thing as a "Lua expert"?
1
u/toxic_prince21 22h ago
There are levels to every programming language, even the easiest ones.
0
u/XenoX101 22h ago
I know, I was half-joking, though I do wonder how much better an expert at Lua would code compared to a non-expert given the sheer simplicity of the language.
3
u/pschon 22h ago
It's not the complexity of the language that matters, it's how good you are at applying it to different problems and complex things you build with it.
...kind of how an expert bass player can still be miles ahead of a novice, even though the instrument only has 4 strings.
0
u/XenoX101 22h ago
it's how good you are at applying it to different problems and complex things you build with it.
Is that still the realm of being an expert at Lua though? Or is that being an expert at software engineering as a whole.
1
u/pschon 22h ago
if it isn't, then you can't be an expert in C or ASM or any other language either.
I would say you can be an expert in the language though in addition to general software engineering skills, as the ways how you solve different problems still depends on the specific features of that language, and how to apply them to the problem in question. And how you do some things can be very different between languages, especially if you compare some high-level language that comes with a billion libraries for doing very specific things versus something minimal and more on the "build your own solution" end of things like Lua.
...plus of course someone actually integrating Lua into another program or building their own Lua interpreter etc would without a question be on quite a different level from someone just using it to write scripts using already-existing API inside a specific game etc.
1
u/XenoX101 22h ago
C is more complicated than Lua, both in its implementation and in the number of libraries available for it as you you have alluded. I would agree though that it's less being an expert at C and more being an expert at developing with C, since C itself is still fairly bare-bones (deliberately so), there isn't much to get about the language to be an expert.
1
u/pschon 22h ago
C is more complicated than Lua
Again, it's not how complicated the language is, but about how clever you are at applying it's features to make things. Sometimes it takes more skill (rather than just being better at remembering things) to build something using simpler tools.
Being an expert at something is not a question of how many things there are to remember, and how many of those you do remember.
Just like my example of a bass player and only 4 strings.
2
u/Additional-Elk-3712 23h ago
it would depend on your current knowledge and the best approach the works for you which unique for everyone.
if you have fundamental programming knowledge, a month would likely be enough to pick up Lua, its one of the simplest language. But if you have zero programming knowledge, then learning it in a month depends entirely in your dedication to learn and how much time your willing to spend daily. I would say start with the basic instead of jumping right into Lua, like you can watch CS-50, its free and covers the most basic stuff. you dont need to finish course, just the basic part, then find some Lua tutorial, or spend like $10-$50 for a Lua course in Udemy
1
u/AutoModerator 23h ago
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 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/hawhill 23h ago
You sound like someone who promised a bit too much for a school show & tell. Been there, done that ;-) In my case it was hand-soldering a PCB, though. Was too young to consider that stuff might simply not work as planned and boom goes your time budget.
I am assuming you have no programming knowledge? Then it will certainly be a very very steep uphill battle, plus you won't be writing good software. Yet there might be some results. Can you (as: it's allowed) use AI? Because LLMs are quite good at writing Lua code. Or talking with you about your code and they are really really well suited at discussing code examples with you, you can ask them questions over questions and they will not be annoyed over getting asked something that is right in front of you in the Lua manual. Quite a difference compared to asking experts in, say, a Lua subreddit ;-)
4
u/moucheh- 23h ago
https://learnxinyminutes.com/lua/
This is a good start