I seem to have problems remembering what a code does or how to make my own code although I have read from www.developer.roblox.com and a few eBooks! Please suggest the best way to learn Roblox Lua and Lua before you close the question :(
Hey there! I highly suggest you try experimenting with studio if you haven't already, and play around with things. Once you've done that, you can read articles from the developer hub, they really do help, or you can look at YouTube videos, a couple of channels I recommend are AlvinBlox, and TheDevKing. Make sure you learn scripting fundamentals, and not how to make a simulator. In the matter of weeks, you'll see progress. Get that mentality of "memorizing the code" out of your mind.
Go into studio, open up tool box and search for things,
i.e: Teleport, Leaderboards, Step on For Gui
Look at these items and ask why they work,
Open up the scripts and just read them, try to understand them and what they're doing,
Usually you can see what a script is trying to do and if you've begun to understand enough you can try to mimic the script and use it as a guide when trying to make your own, get typing and see what you can accomplish.