Alright, so I've been looking for the answer to this question for a while, but never found it. What I want to do is have all my Functions and Variables in one script then be able to call then in a different script.
For example:
_G.BaseScriptName.GlobalFunction = function(Args)
-- CODE HERE
end
Then I want to be able to call it in a different script like:
_G.BaseScriptName.GlobalFunction(Args)
Basicly the problem is when I call it, it gives this error:
Workspace.Script:3: attempt to call field 'GlobalFunction' (a nil value)
Any help is appreciated :D

2 comments
you need to define the BaseScriptName
I just posted a comment.