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

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

Asked by
Xloaxe 0
5 years ago

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!

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 Zafirua 1348 — 5y

2 answers

Log in to vote
2
Answered by
T0XN 276 Moderation Voter
5 years ago
Edited 5 years ago

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.

1
Say no to Alvin Zafirua 1348 — 5y
0
Your hyperlink is broken btw. Fix it. Zafirua 1348 — 5y
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. T0XN 276 — 5y
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. joshthegamer456 93 — 5y
Ad
Log in to vote
0
Answered by 5 years ago

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

Answer this question