As Phanx pointed out that is not necessary. If you are concerned about variable scoping you can use a do-end block.
Lua Code:
local scopeA = 4
do
local scopeB = 5
scopeA = scopeA + scopeB
end
print(scopeA, scopeB)
That will output "9 nil" since scopeB ended with the block.