There are many useful beginner tutorials that are easy to learn, you can do some pretty basic stuff to parts like changing the color and properties. But what are the odds that it’ll ever come in handy for the game you are trying to make? Another example is watching a tutorial on how to make a shop UI that prompts a gamepass purchase when clicked. There are lots of tutorials that teach you how to do that but lets say those tutorials never existed, then how do you figure out how to do something on your own that you aren’t able to learn without a guide? Or let’s say you have the shop UI but what if you wanted to make an FPS loadout that lets you use in game currency to buy guns and equip different guns for your loadout? I guess you just search youtube and type in “how to make an FPS loadout that lets you use in game currency to buy guns and equip different guns for your loadout”… Oh no results, so then I guess I’m supposed to automatically know how to do it on my own or even know exactly where to go to learn a small piece of how to do that. Well the DevForums have been 1 surefire way that has proven successful for me 60% of the time because it lets confused developers like me ask exactly what I want my game to do, then other scripters who do know how to put together my scripts will offer a solution that I would have had no idea how to put together myself otherwise. But my main question is how am I supposed to know what kind of scripting tutorials to look for that will help me make the game I want to make and not some part script for an obby.
This is a good question for a common issue that many developers starting out face. In many of the roblox communities I involve myself in people value the end result more than the work it takes to get there. When i was learning how to script I did use some tutorials and also contacting knowledgeable scripters to give their opinions and expertise to help me out. For the most part the tutorials i watched would teach you that part of scripting for instance I wanted to learn if statements so I only watched a video how to use conditionals. If you find yourself watching tutorials on how to make one specific thing you will have tunnel vision and youll only learn how to make one thing. However if you watch tutorials to learn a certain component and you become good with that particular part of programming you then understand how those components apply to any script you make and not just one script doing the particular thing. Think bigger picture and learn for the long run and not the immediate satisfaction.
Consider that at the core of a video game you are recording input, displaying an image, and playing audio. Almost any game you can imagine can be created provided you know how to display an image, play audio, record input, create and use variables, use conditional branches, and use loops. Once you know how to do that, all that is left to do is the logic behind the mechanics of your game. This comes with experience, but perhaps the best way of learning to create something is to do it yourself with minimal to no help.
You mention in your post:
From a logic perspective you would need a few things:
-A way of storing the guns a player owns
-A variable that holds the player’s currency
-A system that subtracts the currency and in return adds an item to the player’s “owned list”
-A system that allows the player to equip an owned game to their loadout
On a basic level you can do all of these things with variables and conditional branches (you would probably also want to be able to display the player’s currency, guns owned, etc. but that is just connecting your variables to a GUI). You may want to store the player’s data, and retrieve it every time they rejoin. That can be done by writing to, and reading from, a database. To do this Roblox provides you with Data Stores, but you could also use HttpService HttpService to access your own database.
Whenever you are stuck on how to create something, instead of thinking about how to script it, think about how it would need to work logically and then start scripting it. If you do not know how to access a piece of information that you think you need, the Roblox API Reference Manual is a great resource for finding variables, functions, and events that are provided by the Roblox engine. The Developer Forum can also be a good resource as well, but as @BostonWhaler said on this thread, learn components of scripting, not how to script one particular thing (so don’t just ask for a script or ask for someone to show you how to write your script, try to do it yourself).