What is the differerence between a local function and a normal function?
I have tried searching the web, saerching youtube, and searching the wiki, but I can't seem to find the difference.
What is the difference between these functions?:
When should I use the local function instead of the non-local function?
local function hey()
--Code here
end
function hey()
--Code here
end
Any help is greatly appreciated!

3 comments
https://scriptinghelpers.org/questions/16395/what-are-the-differences-between-local-function-and-function
There really is no difference. It is the same as using local before a variable. If you use local, it can only be used in it's scope.
Thanks guys