What should I know?

I have been trying to learn scripting for a while now, but I have barely made any progress. And I am wondering if you could give me scripting tips or things I should know.

5 Likes

What exactly are you stuck on?

2 Likes

Here’s a tip that I wish I knew at the start.

Coding is just manipulating an instance’s properties to do what you want it to do.

Yes, I’m not kidding! This thing here:
image

Manipulating this stuff through code is all it is. Some stuff might be more complicated, such as changing the color, but you can always use the Documentation page for stuff like that. I’d personally also recommend learning what functions, for loops, while loops, basic math (like addition, subtraction, multiplication, division, etc), and quite literally searching through that properties tab on an instance (an instance is an object, such as a part, NumberValue, WeldConstraint, etc) because it will help you tremendously.

I hope this helps you on your coding journey! :slightly_smiling_face:

5 Likes

I’m not necessarily stuck on anything, I’m just asking for tips and some essentials that I should know.

Here’s another tip. Whenever you do get stuck on something, look through the Developer Forum, YouTube, or Google, and search for your problem. I promise it will help you out. You might have to review the content again because we can’t remember all of the information (unless you have hyperthymesia, that is :eyes:), so don’t get discouraged if you can’t remember what you just learned.

Repetition is how we learn. Babies learn to walk by constantly standing, falling, getting back up, and repeat, until they are finally comfortable with trying to take steps. Likewise, when learning coding, you will stand up (learn how to do some basic things), fall (which means encountering frustrating errors), get back up (try again), and repeat, until you are finally comfortable with trying to learn something new.

3 Likes

how are you learning to script currently?

Find a simple game to make, use documentation, and then ask some random smart dude for help sometimes.

me, I just did the following:

  1. know what you want to make (FPS, simulator, tycoon)
  2. search up on google, dev forums, or youtube whenever you get stuck, but also know what you need to achieve (e.g. I want my tool to play an animation when I click with it equipped)
    2.1. DO NOT JUST COPY AND PASTE CODE, TAKE THE TIME TO UNDERSTAND THE CONCEPT
  3. Repeat until the project is done

So far, I have learnt:

  • Collectionservice
  • Raycasting
  • GUI interactions
  • Tools
  • Animations

Keep in mind this is only a suggestion because everybody learns differently

1 Like

Documentation and making random useless garbage

if you’ve learned scripting, try to improve your code, knowledge is first, but then comes practice, when i practiced i made the funniest things that i ever scripted such as vechicles, machines, systems, i even tried making real games but failed, try paradigms (FP, PP, OOP), try to learn how to solve logic math problems (this worst part of scripting) and overall do it for fun, you’ll learn a lot

I used youtube, roblox devforum and chatgpt to learn scripting when using chatgpt dont copy and paste the stuff he gives you read what hes saying and if you dont understand it ask him to explain it to you as if you were 10 or something else

Here’s a good starting point.

This is the way.

I learned how to script by taking free models and trying to re-create them for myself. The first thing I ever made was a disco floor, the parts just changed to a random colour every 5 seconds. I made it by taking a free model disco floor, reading the script and I kept re-writing it until I knew how to do it off by heart.

Even now, I am still learning new things. As will you as you progress in the realm of scripting. It’s like a train ride that never ends, there is always another stop for you to pick something else up. There are always new things being added to this platform for you to learn.

One tip from me would be try to learn something that really interests you, this can really boost your learning motivation!

2 Likes

The essence of programming lies in algorithmic design and systems thinking. Being able to write pseudocode, which is similar to English, and to design an algorithm, or a series of steps, equips you with the necessary foundation to bridge gaps in your knowledge through internet research.

I vouch for Andy Harris’s pedagogy in teaching programming. He is exceptional, and his fundamental concepts will undoubtedly assist any beginner programmer. Here a few resources that I’d like to share:

  1. “How to Begin Thinking like a Programmer” by Andy Harris
  2. “The 7 big ideas to coding” by Andy Harris

Taking notes and fully understanding the material is crucial. All the advice in this thread, particularly dissecting free models, will be beneficial. However, it’s important to grasp the fundamentals before diving into that.

As a side tip, I would also recommend Search Engine Dorking, and familiarizing yourself with Search Engine operators. These will help with internet research.

My final piece of advice is to embrace failure as a part of the learning process. Tutorials are perfected, yet they involve using an algorithm designed by someone else, which they probably refined through multiple failures to achieve perfection.

Implement your own designed algorithm and integrate elements from tutorials or other resources you find online. There will be struggles, frustrations, and doubts, but that’s a good indicator that you are effectively learning.