A fundamental thing in Luau you must understand is that there many different types of Values including:
nil = the absence of a value or nothing
boolean = can be either true or false
number = just a number
string = sequence of one or more characters enclosed by a single or double quote
Don't worry too much about these next ones, they will be covered later in the scripting course
table = stores key-value pairs like a dictionary or array or object in other languages
function = executable block of code
thread = a coroutine
userdata = instances like part, model or player
Understanding Booleans and Nil
Something crucial you must understand in Luau is truthy and falsy:
if a value exists, the mere fact that it exists makes it true or truthy, if a value doesn't exist it is nil which is falsy and if it is explicitly set to false then it is also falsy
There are only 2 falsy values which are nil and false , everything else is truthy including: true, 1 , "hello" , 0 , 37 , the presence of a table , etc etc
variableOne is set to the number 13 , shoppingCart is set to boolean false and stringOne is set to the string "keyboard and mouse" lastly variableTwo is set to the number 17 however it is a global variable which can be accessed across scripts and can cause problems if unintentional, you will be including local 99% of the time