Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Global tables

I really am eager to learn about this topic. My question is how would I store data into a Global Table and organize it then send it to like a text label or something.

What should I know before hand? What methods/functions should I do?

Examples?

1 answer

✓ Accepted answer
_G.Data = {}
table.insert(_G.Data, "String")

Here we make a Global Table the we store a StringValue inside of the global table.

remember global tables can only be made inside a server-script.

2 comments

2

Global tables can also be created in LocalScript. These tables cannot be used by the server, but they can be used by any other legitimate LocalScript.

0

Thanks for the help guys! :)

This discussion is preserved as it was. New answers, comments, and votes are closed.