Lua is a hard language to learn, not because of the syntax, Lua has one of the most user-friendly syntaxes I’ve seen. However, there aren’t many resources, on other languages such as JS or C++ you have tons of websites to teach you, Lua you got a few youtube tutorials.
Start with the basics, learn variables, functions, events, etc. Don’t try too much or you’ll quit, know your limits, and don’t push too much outside of them.
It will not be easy, when you’re learning the functions, events, etc it looks super simple, but actually wrapping your head around the code and knowing how to put pieces together to make something will take practice. You can learn everything in a day, but until you can put everything together it will take a lot of time.
Like I said, the hardest part of programming is putting stuff together. It’s easy to thing “I want the car to turn right when I press D”, but you need to think “How am I going to make the car move?” “How am I going to make the car turn?” “How am I going to detect when a player hits D?”. Even those can be divided, for example the latter can be divided into “How do I detect when a player pressed a key?” and “How do I know if it’s D?”
Do not quit, it’ll be hard but programming it’s one of those things that when you understand it, it becomes super easy and straight forward. It took me a long time, who would’ve thought I’d be making things so complex in 2 years time. It takes time, a lot, but it’s super fun and satisfying.
Ultimately, you need to understand that coding is not for everyone. Yes it’s fun and interesting to look at code, but to actually be coding, debugging for hours on end, it’s not for everyone and you need to understand that.