roblox global variables
snippet in lua

roblox global variables

user6060

--Script 1:
_G.foo = 'bar'

--Script 2:
print(_G.foo)