Variables

Read BEFORE you read this: String, Number

A variable is a way of storing data or any form of information. Variables can be strings, instances, properties, tables or values. There are 2 types of variables. Local and global. Local variables only remain in one script (see scopes) while global variables will remain able to be used. Local variables can also be communicated using ModuleScripts.

Local: Global:  The first one makes it so that the script knows that var means the number 0. With the second, it makes it so that any script can get the value of the global called 'Global' in the way showed underneath the second comment.