Log in to vote

How to assign multiple values to one variable?

Asked by 14 days ago

I need to assign multiple values to one variable.

I need multiple labels defined all in one variable.

I saw an example like this:

local Text = script.Parent, script.Parent.Text, --and so on.

but it did not work for me.

This was the script:

local BDx = script.Parent.Parent.BDs.classBDx, script.Parent.Parent.BDs.classBDx1

There were also 5 more "script.Parent.Parent.BDs.ClassBD" with different things defined obviously.

Help would be appreciated!

You're looking for an "array". See: Ziffixture 6863 — 13d
Thank you! SilentKiller5557 6 — 13d

Answer this question