How to start learning with Lua or just roblox coding in general?

I know this might be a (very) common topic that’s been discussed many times here but I’m just here to know more about scripting.

I’m a small developer who’s trying to develop a game but I’ve never had any experience with coding before, I have tried learning scratch but the code i made in scratch was a really basic code.

So today I wanted to gather all information about Lua coding and learn as much so i can start scripting professionally and create my game. So where do i start learning about Lua coding?

6 Likes

I recommend watching AlvinBlox’s beginner Roblox programming tutorial, and when you get further, start watching Okeanskiy’s roblox tutorials.. Hopefully this helps! :grinning: (And TheDevKing as NeoGaming_RBLX mentioned)

1 Like

Here’s my checklist on learning lua:

  • AlvinBlox and TheDevKing on YouTube
  • Roblox Education
  • DevHub and the API Reference
  • The DevForum
    Checking these all helped me a bunch, and I hope they help you as well :slight_smile:
5 Likes

Don’t watch YouTube tutorials, you’ll only learn how to rewrite written code (copy & paste).

This isn’t just lua, but any coding language.
There are variable types and operations.
Lua data types.
Lua operators.
Once you got use to like, five of them, try to write some basic printing functions.

a = 1
b = 17
print(a+b)

Once you got the hang of things, you can move on to object oriented programming.
Stuff like, objects having:

  • Velocity
  • Size

Advance forward to events:

  • ClickDetector.MouseButton1
  • Part.Touched

Make functions that kill the player on touch. Give them a big head. Mess around
After theese, i’d say you are on your own.
Read the docs, dust off some of your math skills, try to visualize, and try to analise and edit some example codes (like the ones on the roblox docs).

Reply or DM me if you have questions.

4 Likes

I would like to also promote Alvin Blox` as well as The Dev King and a lot more people, overall where I learned the most is reading through tons of DevForum posts. I wish you the best of luck in coding! It sure is hard but when you get the hang of it, it’s easy peasy!

1 Like

That’s exactly the path I took, and I’m just realizing this now!

2 Likes

You and me brother. And many more to come.

2 Likes
amogus = "please watch"
sus = "the dev king tutorials for help on scripting they are good"

print(amogus,sus)
--output prints amogus and sus's text combined
3 Likes
devforum.OnReplyReceived:Connect(function()
print("AlvinBlox is better")
end)
2 Likes

This was already asked before. When will people learn how to use the magnifying glass

1 Like

Everyone has different ways of learning and each individual has a preferred path as well, but here is what I would suggest.

  1. Read books about coding in general or go through online articles.
    Reading is one of the best ways to learn anything, either it is school or whatever, and there are countless resources online.
  2. If you do not understand then go to videos in-order to visualize or get an explanation through someone who understands the topic.
  3. Experiment with every single instance and try implementing it in Studio and all the information about that particular instance can be found with a single search on the web.

Hope this helps.

2 Likes

Interesting, i’ll start learning more about these informations.

1 Like

I know i’m REALLY late to this topic (i didn’t even know the DevForum existed when it was made), but what i do is to go to TheDevKing/AlvinBlox’s yt channel, see which topics they made videos on, search them on the Documentation, write it all down on a notebook, and then watch the video to help to fully absorb what i learned. Just putting this out there in case anyone may ever need this, like i once did.

2 Likes