Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Im trying to learn how to start scriping on ROBLOX, what is the best way to get started?

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!

1 comment

0

Googling this question would be more beneficial to you. Nevertheless, you could take a look at one of my post on this similar question.   https://scriptinghelpers.org/questions/60798/how-do-i-get-started-scripting-in-lua-if-im-not-familiar-with-scripting-at-all#59145

2 answers

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.

4 comments

1

Say no to Alvin

0

Your hyperlink is broken btw. Fix it.

0

I've seen a lot of criticism from others that he just spoon feeds his code, but if one has the self-discipline to stop and learn the code they're writing before they do, Alvin's channel is acceptable imo.

1

To be honest, I self taught myself. I used the roblox wiki, and my own knowledge for scripting. There are a lot of youtubers who can help, but the best way to learn is to do it by yourself.

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

This discussion is preserved as it was. New answers, comments, and votes are closed.