So I would like to start scripting on ROBLOX, but I dont know where to start. I have little to no experience with coding, and the only thing I know about ROBLOX scripting is that it uses a language called lua (which I dont even know). My goal is to eventually make and showcase scripts on games like Voidcity SB. Any advice on where and how to start helps. Thanks!
Hey there, Xloaxe
Welcome to the world of scripting!
Before I get into the details, I wanted to introduce you to the Roblox Developer Wiki. If you prefer learning by reading, this would be a good first choice to look when you have questions.
Below is a list of the most helpful channels that I've used in the past to to learn (the list is in no particular order).
1) Previized
2) AlvinBLOX
3) Shirooo
4) Wrathsong
Here are some tips of my own that I think will help you become the best scripter you can be:
1) Start out by creating small and simple scripts that challenge your current understanding of code, and build from there. Do not force yourself into a huge ambitious project that you know you will never be able to complete. Once you have a solid understanding of the basics, start programming your own games when you feel ready.
2) Write clean, commented code. One of the worst things you can do is write unintended, unreadable code that you will not be able to understand after you wrote it. Don't be afraid to use commenting, as its purpose is to remind you what the code means and does when it executes.
Hope this helped.
Adding on to T0XN, you should really listen about the indented code part.
While you code, ROBLOX automatically indents code if it is a block of code. Example:
if 2 + 2 == 4 then print('the answer to 2+2 is 4') --see here it’s sticking out a bit? that’s an indentation. end
And about comments, you start a comment with double hyphen. --
for i = 1, 10 do print(i) -- I’m a comment inside a 'for' loop! end