This article is tagged with:
Roblox global variables
and lua
roblox global variables
--Script 1:
_G.foo = 'bar'
--Script 2:
print(_G.foo)