Strategies for learning Complicated things in scripting

So I’d like to ask all of you how did you learn complicated things such as making datastores, creating round systems, or weapons? As I’ve tried making them myself but I dont really retain much knowledge on it.

Honestly reading documentation will be your best friends.

I’ve explained how I’ve gotten through struggles in this post here:
https://devforum.roblox.com/t/roblox-development-relying-on-ai-to-learn-scripting/2946405/4

Essentially, all I do is read through the code, if it doesn’t make sense, I’ll just come back to it in about a month. Also, like 2unkens said, always use documentation. It may be inconsistent (especially with how Roblox wrote theirs) but it’s always useful.

1 Like

Experimenting, breaking it down and understanding why each bit is there by understanding what it does. Let’s take a datastore example. First you need to understand how to

  • See when the player joins

    • Load data
  • See when the player leaves

    • Save data
  • See when the server is shutdown

    • Save data
  • Optionally you can have an autosave every x minutes

    • Save everyone’s data

Now what you need to do is you need to understand it step by step. One step at a time understanding how each of these work and why they work. And what they do. This is where the documentation and tutorials come into play.

A lot of programming comes down to testing, debugging and experimenting. Always be open to new ideas and try to understand the small differences in your code and someone else’s. You can also look at open sourced modules people have made.

Remember it takes time to understand everything and you might want to start smaller and experiment with individual parts like pcall for datastore to understand why people use it. Then you just combine everything you learn into one system.

2 Likes

I already read the documentation a lot. And I understand lots of the keywords and parts of stuff, but my problem is figuring out how to put them together to make stuff

This is very helpful thanks!

Char limit

1 Like

In that case just experiment like Tob said

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.