'GetGlobal' function (EN) - Archie-osu/ProjectDELTA GitHub Wiki
Returns a game global
<RValue> GetGlobal(
<string> GlobalName
);ObjectName
Type: String
The name of the global. Examples: gold, lv.
Type: RValue
A copy of the global.
To apply your changed copy into the game, see the SetGlobal function.
local rvGold = GetGlobal("gold"); -- Get the global "gold" and store it in the "rvGold" variable
print(rvGold.realval); -- Print the real value onto the screen.