To being you must first download Roblox
Head over to https://create.roblox.com/
Sign in with a Roblox account, or sign up
Click Start Learning and and Download roblox studio
Once you the download is over, roblox studio will start up, just click New experience in the top left corner
Follow the video, once New experience loads you will see a lot of things infront of you, don't worry about all that for now and just cross out of these tabs, the recording doesn't show the drop down menu after clicking plus next to the "part" but it should look this picture on the right, just click on script
Lastly go into view at the top and find and click "output" , this will open up an output tab at the bottom of your screen
This is what you'll have in front of you now, this is where all the scripting lessons will take place
Some basics before you head over to S-1:
in Luau when you want to write a comment you do so through the use of a double dash, a comment is something that the compiler doesn't read, it's useful for leaving a note to yourself such as "this bit codes for swimming".
A multi line comment is a comment that spans over multiple lines through a double dash and a double square bracket, as without this, going to the next line would automatically stop being a comment. If you also select a bunch of code and hit Ctrl + / , every selected line will become a comment, you repeat this to undo this action.
Variable Naming Rules:
Variables can only start with letters A-Z or underscores, they cannot start with numbers, you are free to use numbers after the first character
Variables cannot be Luau reserved words such as: function , if , true , then , end , local etc
Variables are case sensitive so "dog" is not the same variable as "Dog"
type local before naming your variable, as without this it becomes a global variable which can create problems if not intentional
Naming convention:
camelCase = first letter of first word isn't capital, all subsequent words start with capitalised letter, this is what you should be using most frequently
PascalCase = used for class names in lesson S-10 (more advanced topic)
snake_case = used for settings or as a substitute to camelCase if you wish ( player_base_health = 100 )
SCREAMING_SNAKE_CASE = used for global constants as well as values which are not to be ever changed ( INITIAL_LEVEL = 1 )