Im by far a noob to scripting, I have a game with 50 concurrent players and has 6k visits in 3 days since release and has made 8k robux.
But id love to become advanced in scripting so i could make more advanced projects and help my knowledge in rlua, what is the best way to do so?
Ive watched youtube but theres only a certain amount you can learn from that, is there a certain channel thats best?
Honestly, there is no easy route to becoming better / advanced.
There is a basic level of Lua that is just getting familiar with the syntax, behaviours and API. Past that (which takes a few months), it’s all about:
Finding the best solutions to problems (and knowing what is best, from experience)
Encountering weird behaviours and knowing how to address them from your own experience
Being able to competently give advice about something to another player, communicating from your experience knowledge on a topic.
You might notice the common theme in those points - experience. There isn’t any shortcut other than applying yourself to new things, new challenges and new problems. There are some excellent resources out there but there isn’t a single one that will deliver you to a new level of advancement. I’ve been programming in Lua for 10 years now and I still feel like a novice at it. The more you learn, the less you think you know
The best way to learn is to launch yourself into the deep end on a new problem. Literally, find something out of your comfort zone, that you don’t think you have any chance at completing, and have a crack at it! Be realistic (don’t try to make Google yourself) but also be a bit ambitious. Even if you fail ultimately, you’ll still have learnt valuable lessons for the future.
Here is the list of ways I have learned to script;
1. Looking at other script problems on the devforum and ask for understanding. 2. Looking at YT tutorials and rewriting them and checking syntax. 3. Finding an object/script I want to learn about on the developer hub.
Strategy 3 is the most recent one I use, if I ever use :WaitForChild and can’t find the autocomplete I use this, especially when using Bindable or Remote Functions.
I mean you can, but maybe try analyzing scripts or simulator kits and comparing it to what you do and see what you haven’t learned about, then look that up on the developer hub, that’s more of what I was saying.
I’d recommend doing something you’re interested in
Interested / impressed by those Discord bots that groups have? Try making your own that does the same stuff / more!
Want to make a cool gun script like Phantom Forces? Have a crack at it!
Personally, I don’t learn from books - some people do though. There are a ton about good programming practices, and Lua specifically too. Perhaps try reading one, though I am afraid they’re pretty dry
There’s lots of tutorials to scripting… Maybe you can learn from them. I remember look on devforum and reddit and on youtube and gots tutorials to help me. I also looked at free models and looked at the scripts inside of them to have a better understanding of how to program. And also, this process can be very slow. Don’t expect to wake up one morning as a rookie and go to bed as a professional.