I have seen a few posts about learning lua but they are all outdated and I wanted a more up to date guide/ support on how to go about learning lua and scripting on fivem.
I know the basics of lua but just don’t understand how how start from scratch or construct script on my own.
You don’t need to know lua for that (well, technically you do, but that’s not the point). You need to learn to think logically about the proper application of a programming / scripting language. Coding is actually the easy part, as it’s only rewriting the logic behind the script (program) into machine-readable form.
Ultimately, the best thing you could do is try, try and try. Do your research on the language’s capabilites, as well as FiveM natives. You can learn a lot by reading other people’s code, too - just focus on the logic behind the script and perhaps think about how it could be improved.