Hey guys, so I was checking on the Roblox wiki for local variables. All of a sudden it started talking about scopes. I looked up what a scope is on the internet. It told me that it's similar to a variable. It can be used to refer to an entity. However, then I didn't know what Roblox wiki meant by Local Variables being used in a Scope. So, I came here for my last resort. Anyways, let me quote what Roblox wiki tells you about local variables in Scopes.
Here it is:
"A local variable is a variable that can only be accessed by other things in the same scope. A variable is made local by adding the keyword local before the variable. It is true that local variables are obtained faster than normal variables. This is because they are integrated into the current environment they were created in."
Anyways, I want the most easiest to understand description of what a Scope is. Also, I want a description of what Roblox would use this for and how Roblox addresses a Scope.
Well, thank you for reading this question and any help is helpful.
~~ KingLoneCat

1 comment
https://scriptinghelpers.org/glossary/Scope