I was just wondering why that some scripts do this. This part is copied from the GMod hook module:
local gmod = gmod
local pairs = pairs
local isfunction = isfunction
local isstring = isstring
local IsValid = IsValid
I just cant see the point of calling already made functions into local. Does it take less memory to process them? Pure curiosity.