Local variables
VAR MyLocalVariable
MyLocalVariable = 0 //You must give variables a value before using them
Global variables
You need to create them somewhere such as Backgroung scripts
GLOBALVAR MyGlobalVariable
MyGlobalVariable = 0 //You must give variables a value before using them