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

What is the best way to master Lua, to write my own scripts from my own mind? [closed]

Asked by 4 years ago

I have tried my best of the best to master Lua from YouTube, i learnt some but not enough to write my own scripts from my own mind like I am using a language, I have tried ROBLOX Tutorials, but it is completely useless, What is the best path to master Lua?

0
I watched YT tutorials about specific things to add to my game and then as i do it i wanted what if i do this and this. You know how roblox has a fast type system in the scripts? This is how i experimented with a bunch of things in roblox Lua and for about a year i know how to make a lot of stuff and use imagination to think of what i want to do and do it with random words in a bunch of lines. bostaffmanbulgaria1 89 — 4y

Closed as Primarily Opinion-Based by User#24403

This question has been closed because it is a discussion about a topic focused on diverse opinions, which isn't a good fit for our Q&A format.

Why was this question closed?

3 answers

Log in to vote
1
Answered by 4 years ago

learning roblox lua is easy, it just takes time like any language. but here is how I learned.

I find experimentation to be a useful tool when learning lua. when I find something like GetChildren(), I first look up what it means and what it does, then I play around with it. there are lots of these code pieces that do various things. and there are lots of ways do various tasks. but looking up, learning, and playing around with them is a great way to learn.

but then again this is how I learned, I cant tell you how you learn new things as I am not you, but it all depends on how much time and effort your willing to put in it. I have been coding with lua for a year now, not to discourage you, but you don't have to spend a year to get good. even a month of progress can make you adequately experienced.

0
That autocomplete system is pretty awesome for discovering things you never knew existed! whenallthepigsfly 541 — 4y
Ad
Log in to vote
0
Answered by 4 years ago

Ok, some tips that I learnt: When watching tutorials, make sure the youtuber actually explains the code, otherwise you learn nothing. (This is why I hate pastebins). Someone like alvinblox shows you step-by-step coding to enable you to understand what each command does. Watching intro tutorials as well, such as variable skills, events, functions and different features that the Roblox Studio offers. Other tip: Start from scratch and ask the community what went wrong with your script! On Roblox, searching up a command on Google will come up with a page demonstrating the code and showing how it can be used, different features that the command can use and properties. Final tip: Have some basic background knowledge of coding in general. Before I came to Lua, I knew some basic HTML and I knew quite a bit of python. Knowing how to code in other languages keeps you in practice, and some terms even overlap, such as while loops. Roblox Studio is a great resource, and there are so many people willing to help out there - so create! Do something wrong, learn from your mistake and always keep going.

Log in to vote
0
Answered by 4 years ago

The way I usually do it is to set myself a really ambitious project, and learn about the language and it's parts in little sections as I try to accomplish it. For example, on my first project in Roblox - a tank sim - I learned about runservice, raycasting, motors, GUIs, and a bunch more stuff just through googling about what I needed to accomplish something. The best way to learn is to struggle through getting big project done, by breaking it into small parts and learning how to get each one done - in my opinion. This may or may not work for you, as I usually learn through hands-on experiences.

Either way, good luck and stick with it - I'm sure you'll be successful if you try hard enough!