I couldn't remember one type of scripting item every time i get into studio i'd forget anything on scripting although i just watched a video or read something about it about not even 2 minutes ago
Keep practicing. Scripting takes time and effort to learn and remember Use comments
--This is a comment, it will not do anything but lets you remember things
to remember what you learned. Follow along with a video or even use a free model and study it, then try to recreate it. Keep practicing, you will remember. Once you know it, you can't forget it. You may be a bit rusty, but it's like when you learn to ride a bike, you won't forget, you might just fall off a few times, but you'll get back up.
Here's a small thing for basic stuff -
print("Hi, I print") -- prints to the output a message local -- local variable myNumber = 5 -- a variable that is set to the number five myBool = false -- a boolean is a variable that is either true or false ; yes or no myString = "String" -- a string is a text variable while true do --this does something every fraction of a second. in this case, we're going to set it to wait every 3 seconds and print ('hi') print("hi") wait(3) end for i = 5, 1, -1 do -- counts down from i to the second arguement by the third argument ( in this case it counts down from 5 to 1. print("Number: " .. i -- double periods means to connect something. if we had (print("1" .. "2")) it would print "12" because they were joined. wait(1) end
If you can't remember names of methods/events then you can use the built-in intellisense that studio has, which will list different things you could potentially be indexing when you reference some object or service. Alternatively, you could leave a wiki tab open, or just create a variable reference to everything in the actual script so you don't have to remember it and the game doesn't have to access it repeatedly.