how to make variable global in lua code example
Example 1: lua variables
local NumberVariable = 1
local StringVariable = "TextHere"
local BooleanVariable = true --// can also do false
Example 2: lua variable
-- Private Variable
local name1 = "John"
-- Public Variable
name2 = "Jane"
print(name1)
print(name2)