Hello everyone, my name is ForgottenJokes and I recently decided to hop on the huge obstacle of scripting. I have got the basics down such as functions, variables, and loops but what I struggle the most with is what do I script to expand my learning.
I have come to a dead-end when I think of something new I can script that will both teach me new things, be simple enough for me to understand, and be interesting for me to script.
I would love some suggestions from the scripting community.
Also if you have any advice for beginner scripters that would also be helpful.
Start with a small project in mind. Accomplish that and along the way you will find lots to learn. Use google, the roblox api and YouTube videos to aid you in the direction of solving your problems.
Find a topic youâre passionate about. It can be anything small or big. Maybe you want to make a simple gun, or some cool wizard staff. Use that passion project as your motivation to learn. However, we all learn in different ways, but I suggest you explore this avenue. Thatâs what makes Roblox so great, you can make what you want into a digital reality.
As for advice regarding beginner scripters, this is a pretty frequent question and there are various tutorials on the forum, wiki, youtube, etc. that will provide great advice. Itâs all just one search away.
Think of something simple to script. Now, take that vision of that thing and attempt to program it using what youâve learnt. When youâre stuck on something, search it up on Google or any other search engine you use. Look on the Lua Reference Manual or, a more relevant solution, the Roblox API Reference Manual (Developer Hub). Once youâve found something to solve your problem, continue on until you finally finish that thing.
This can help you understand what various keywords, functions, events or more can do and should build up your knowledge on programming, more specifically on how Lua works. Thatâs kind of how I self-taught myself.
All in all, just read up on the reference manuals for Roblox API and the Lua manual. However, you can also look on YouTube for tutorials on Roblox. I particularly donât advise doing this, because most of the time YouTubers that do tutorials for scripting commonly spoon-feed you how to do a particular thing rather than explain how it all works.
Think of a cartoon or a game outside of Roblox and strive to recreate it on Roblox.
As difficult as it may seem, the more you will learn along the way. Letâs say something like, umm GTA 5 right?
So when you start you will not even have a clue where to begin. This will teach you the ability to picture your project, where to start and so on. Letâs say you decide to start simple, you decide to make a car dealership.
I am assuming that you cannot make cars since youâre starting out. Why not start now then? Ask yourself, âWhy donât I know that already!? It seems so easy and fun!â
You then search on google or devforum, how to make cars on roblox or related. When you finish your car system? Congrats! You learn about constraints and surface inputs! You learn about body positions and forces! You learn about UserInputService! Oh you just finished making a simple car!
You then want to make guns. Search how to make guns on Roblox or something of the like.When you finish your gun system? Congrats! You learnt about Network Ownership! You learnt about sounds and sound replication! You learnt about tools and ContextActionService or even the mouse object!
You get excited, you wanna make more, how about, your first MISSION! When you finish it, congrats man! You learnt about camera manipulation! You learnt about AI and Pathfinding! Yo learnt about leaderstats!
if you follow a trend similar to this, as you can see, you acquire infinite knowledge along the way.
And if you get stuck on anything, or even bored, do the fun aspect of it first then do that hard part later.
Honestly, this builds your attitude and problem solving in large projects!
Remember, not everything has to turn out as you expect it to.
You should make a game that youâre interested in making. While making the game, you should incorporate different programming methods. There are many ways to code, messy and clean, but most beginners do not grasp the concept of clean code.
If you have not made an game beforehand, I recommend starting your game with normal, procedural code. After you feel comfortable with coding, you should dive down more deeply into functions, tables and use these components in your game. Instead of repetitive code, use for loops. Instead of repeating multiple blocks of code, put it into a function and use it every time you run that code. Write code until you feel ready for more advanced challenges.
Lastly, you should learn about OOP. (Object-Oriented Programming) OOP is the core of advanced roblox games, thus you should learn them if you want to make professional games. Practice with OOP. Try to duplicate some popular games in roblox with OOP, (bee swarm simulator is a good example) or duplicate your existing games using OOP.
Iâm gonna stop you right there. OOP is a paradigm with its use cases and itâs do not use cases. Itâs not advanced alien tech all games should use, and the userbase should stop perpetuating this as if it is. Itâs good to learn different paradigms but donât go around trying to drag new users into exclusively using one when it may or may not be the most efficient for the problem you are trying to solve.
It really depends on the amount of time you have. When i was learning i always enjoyed going into games, finding something in a game and then making it my goal to recreate it. Lets look at a gun for example, guns involve things like raycasting or projectiles, animations, remote events and more. Just by making one object like that you learn everything involved and at the end you have something that you could potentially use in a game later on.
What about something like an arrest database? You can learn things like datastore, UI development, storing and updating data using remotes/bindable events.
Just look around and youâll be hit with millions of different things to learn from, make and maybe even sell or use!
AlvinBlox isnât the right person for this situation, no offence. He just lays the code and barely explains it to a beginner.
If you would like someone that explains the code beautifully, I recommend peasfactory.
However, @ForgottenJokes. If you want to achieve something, yet you donât know how to, just use the Wikii for it. Extremely useful for situations like this.
Iâd like to dispute that, I have a full 2019/2020 beginner series that goes in depth on everything beginners need to know and am constantly adding to it, some of the videos are long and in detail such as last weekâs 53 minute Events tutorial. Loads of people, including many on this forum, have told me how useful and helpful they have been to them. I would encourage you and the OP to check them out as well as the other resources listed on this page.
I would also like to add to OP, that this question has been asked many times already. A simple devForum search could have yielded the same resources listed here.
Understandably so, I wasnât trying to say your tutorials arenât teaching people anything. However, I just feel like PeasFactory goes the extra mile to further explain his code. His videos are 5+ years old, so that could be a big part in it.
Furthermore, when I attempted to watch your series, I didnât really get much out of them. (Could just be me). But, I didnât want other people to also experience this and not understand anything, so I suggested PeasFactory to make things easier.
Hope you understand, youâre still an amazing content creator.