What if I have a part in workspace and I wanted to give it a shortcut in the script.. maybe like "block1" what would I do? I am new to scripting so please help me out here.
This is called a variable. You can set variables to instances (objects), or values such as numbers, strings, and booleans. In this case, you're setting it to an instance:
block = game.Workspace.Part
Now, when you want to use the part later in your code, you can just use 'block'.
block = game.Workspace.Part block.Transparency = 0.5 block.Anchored = true --etc
Hope this helped!