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

Why can't you put a local variable inside a table?

So i was making a table and i noticed that you couldn't put local inside a table. Any help?

1 answer

✓ Accepted answer

Tables can't store variables. You may see something like

local table = {
	key = value
}

in dictionary tables. These aren't actually "variables". These are a set of a key and a value. They may act like variables, but they really aren't.

Hope this helps!

2 comments

0

thx

0

Np!

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