No matter what I do i cant understand it. The roblox API dosent explain everything and I dont know what else to do.
Honestly, this depends on these 2 questions.
Do you have a passion for programming?
Is it too much stress?/Is it TOO stressful?
Here's the first part: if you have a true passion for programming, and want to continue on, then don't give up! Just work up your way, and try to find all the resources you can to help you. I'd recommend checking out the Developer Hub (https://www.robloxdev.com/) (they tend to provide clearer material to some API), or even reading other ScriptingHelpers questions to get familiar with the matter.
BUT...
If you're also saying it's too stressful, try reducing your time on it, or find ways to make it fun, like making it randomly print terrible jokes! As long as it's your passion, keep going on and put in the hours.
-
Now, if it isn't your passion, and it's too stressful, programming may not be for you, but that's alright. There are many other things that you could do, and who knows, you may have a hard time at programming, but a master at something else.
If you're learning programming as a skill on the side, it's your choice. You have to analyze your current situation and wonder,Would I need to truly use this skill in the near future? But I have to be brute and honest: if you do continue, you have to work hard, and make sure you don't rush. Take time to learn stuff, and almost everything new has a learning curve. the more time you spend and the more you learn, the easier programming will eventually become.
giving up isn't a answer... there are many tutorials all over the web that you can find. aka peasfactory (which is a youtuber). it takes dedication and time to learn scripting.
it can take days,weeks,months or even years to learn you just gotta stay at it
try looking at the script learn what the script does write it down mutable times and memorize it. you don't learn right away. but continue to learn, the better :)
You shouldn't give up, it's quite simple to learn, and write Lua code!
There are so many tools online that can help you with programming, I've listed some helpful links below, for you to check out, as they might help you!
I took advanced C++ programming classes in college and after the first couple lessons, I picked up on it. We started with going over the basic variable types, loops, and if statements. These work the same in Lua and once you get these down, you can create many types of scripts. You should start with something that sounds simple to you but still challenging enough that you're not quite sure how to do it. Go with that idea and program it the best you can until you need to look up a video on how to do it. I felt confident programming in C++ but when I switched to lua scripting on roblox I looked up countless videos on how to script the simplest of things. I've been scripting on and off for a year now and I still need to google or youtube how to script certain things. Just stick with it and you'll get it down. If you end up liking it, maybe you could try out C++, it's surprising how similar they are. Oh and remember to take breaks. It can be very annoying when you can not figure something out or how to fix a bug. Coming back after taking a break usually helps.