Best and easiest ways to start coding?

As someone who has never coded in their life how do I start coding/scripting.

I’m very lost and I don’t understand how to do it and what anything means and I’m very new.

I’m more of a builder but I wanna learn how to code so.

If you have any tips, suggestions comments please put them below.

Thanks and have a good one.

6 Likes

I started off with very menial scripts and learning the language itself,

I can tell you right now, just try to script really menial things you will learn everything as you search up how to do this or that.

For example, my first script was some tendril that would seek onto the player and kill them every 15 seconds and ive started from there.

3 Likes

i learned from this book. a bit outdated but it worked for me.
heres a internet archive of the book

3 Likes

I think in 2025 you can watch youtube videos. Be curious and you good to go !

2 Likes

Some simple things to start with.

  1. Add a part
  2. Go to explorer (if not open go to view menu at top and make sure it is open)
  3. Add a script (not local script) to the part
  4. Write the line:
    local this = script.Parent
  5. Go to properties (if not open go to view menu at top and make sure it is open) and consider what to change
  6. Write this. then the name of the property to change then = then a value
    this.Transparency = 1
    a) Some things are just numbers (e.g. Transparency, Reflectance)
    b) Some (Position, Orientation) require three directions, use Vector3.new(x,y,z)
    this.Position = Vector3.new(2, 3, 4)
    c) Some (Anchored) are true or false
    this.Anchored = true
  7. add a wait(time length) at the start and in between
    A whole program could look like this
wait(5)
local this = script.Parent
this.Position = Vector3.new(1,2,3)
this.Anchored = true
this.Transparency = 0.5
wait(3)
this.Position = Vector3.new(3,4,5)
this.Anchored = false
this.Transparency = 0.1

Master this then look into
a) Loops (to keep changing something)
b) Conditions (if something should happen or not)
c) Functions (making your own commands)
d) Events (things that can trigger something to happen, e.g. pressing a key or two objects touching)

I do not recommend just copying solutions, but try to adapt the code and appreciate what each thing does.

2 Likes

What I would do if I were you is that I would start by learning the basics of scripting. Start by learning about basic concepts like variables, if-statements, loops, and events, then you can also go into more advanced concepts. I would then start building basic toys to apply my knowledge, not full projects, since you won’t have the full knowledge to build full projects right away. Start off by building simple things like a kill brick, a teleporter, a basic melee weapon, and other easy things to code that are similar to these. A nice thing about programming simple things like these is that you can also reuse them in the future, allowing you to make more projects faster. As you build simple toys I would gradually work into more complex toys that have greater complexity to continue to learn your skills, then you can start getting into full scale projects which contain many different components within them.

If you ever get stuck, don’t worry. You can always search the Roblox Documentation and the Roblox Developer Forum for answers. If you don’t find any answers, don’t be afraid to ask a question in the Roblox Developer Forum.

Roblox does has a basic tutorial to help you get started on scripting, which you may be able to use to get started. You can check it out here:

1 Like

Wow thanks everyone for the methods and advice I’m starting to learn a little bit.

1 Like

There’s nothing wrong with watching tutorials but don’t just watch, and also try to script yourself with what you learn, tutorials can help you learn how you can use some tools but you need to learn to use said tools yourself

At first it’s gonna be difficult and rather demotivating, but once you start getting the hang of it, it’s too difficult

3 Likes

Hey guys I found this video is this good to learn I haven’t watched it yet.

Maybe. But a lot of slop YouTubers make terrible scripting tutorials just to bring in the views and the cash. My advice, watch tutorials but also try to make your own scripts without the help of any tutorial or book next to you. If the script doesnt work, correct yourself and read a couple books, watch a couple tutorials, and see if you can write the script all by yourself. Don’t fully rely on YouTube tutorials, some of them can just be absolutely unhelpful.

I agree with how @uriel_Gamer444 said it. You can think of it like training wheels. Once your ready and know enough knowledge you can take off the wheels and have your brain guide your scripts, and not the tutorial.

This channel is mostly clear & concise if you’re a complete beginner:

Practice with a lot of examples to learn how to use the code, like this:

Dont trust the first video you see on youtube, theres a lot of bad & misleading tutorials. If you’re mid at coding its more profitable to make youtube tutorials than making a game with limited skill.

1 Like

I think this question depends on how you learn the best, some people need more structure and you can find a cheap informative structured course, some people don’t need that structure and learn better in different ways. Personally, I learned by just trying to do anything that seemed interesting to me.

1 Like

always be sure to put on your helmet before going into roblox studio code. you might fall and injure yourself

1 Like

This one is by the official Roblox channel but it’s kinda outdated so idk.

Hey guys just made my first line of code it might not be impressive but yeah.

Don’t learn coding as it’s just a tool - learn programming because it allows you to make games

Programming isn’t about knowing specific language, more of a planning logic / solving logic problems / building architecture and math algorithms to solve problems and ect.

Code is just a tool, you can build a computer from transistors, but you can also build it from cogwheels, learn concepts first, then learn syntax, or learn both of them at the same time and practice a lot, because practice allows you to use the tools faster

2 Likes