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

How do you pass a table amongst other scripts?

Is it possible?

Currently I have a ServerScript that does work with DataStores to form a table with gathered information. I now want to pass this information to a LocalScript, and I was hoping I could get info here on how to do this.

Thanks.

2 answers

I would make a string value and put the table in that, but it would require some string manipulation skill. I know you can use _G. for global variables, but I'm not sure if they work for tables.

2 comments

0

I'll try unpack(table)

0

Why would you down vote? I'm sorry if I did not help, but I tried to help with the extent of my knowledge. It seems it would be better for me if I did not try to help at all.

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