of     1   

Exllumina
#144436506Sunday, August 24, 2014 10:19 PM GMT

instead of: function onClicked(button) g = ...Blah = true h = ...Blah = true a = ...Blah = true
swimguy777
#144436731Sunday, August 24, 2014 10:22 PM GMT

You mean a table? -[::ƧѡÎḾḠΰῩ::]-[::Helper of Scripting and Writer of Wikis::]
Exllumina
#144436829Sunday, August 24, 2014 10:24 PM GMT

i guess it's a table, yes, that i can contain several variables in it, how would i do that?
swimguy777
#144436980Sunday, August 24, 2014 10:26 PM GMT

Something like this? local vars = { a = 1, b = 2, c = 3 } -[::ƧѡÎḾḠΰῩ::]-[::Helper of Scripting and Writer of Wikis::]
Exllumina
#144437096Sunday, August 24, 2014 10:27 PM GMT

oh yess so if the script is: -- unqees local a = script.Parent.Parent.Background local b = script.Parent.Parent.enrichment local c = script.Parent.Parent.fullcredits local d = script.Parent.Parent.credits local e = script.Parent.Parent.options local f = script.Parent.Parent.spectate local g = script.Parent.Parent.startplaying local h = script.Parent.Parent.agameslogo local i = script.Parent.Parent.logo function onClicked(button) g.TextTransparency = 0.1 wait() g.TextTransparency = 0.2 wait() g.TextTransparency = 0.3 wait() it'll be: -- unqees local a = script.Parent.Parent.Background local b = script.Parent.Parent.enrichment local c = script.Parent.Parent.fullcredits local d = script.Parent.Parent.credits local e = script.Parent.Parent.options local f = script.Parent.Parent.spectate local g = script.Parent.Parent.startplaying local h = script.Parent.Parent.agameslogo local i = script.Parent.Parent.logo local vars = { d = 1, e = 2, f = 3, g = 4 -- what are the numbers for, because i want it do something specific? } function onClicked(button) g.TextTransparency = 0.1 wait() g.TextTransparency = 0.2 wait() g.TextTransparency = 0.3 wait()
swimguy777
#144437206Sunday, August 24, 2014 10:29 PM GMT

I don't know what you're trying to do, elaborate please? -[::ƧѡÎḾḠΰῩ::]-[::Helper of Scripting and Writer of Wikis::]
Exllumina
#144437373Sunday, August 24, 2014 10:31 PM GMT

well, as you see the variables... i want them all to fade out and "cancel their existence" (Visible = false) with this: g.TextTransparency = 0.1 wait() g.TextTransparency = 0.2 wait() g.TextTransparency = 0.3 wait() g.TextTransparency = 0.4 wait() g.TextTransparency = 0.5 wait() g.TextTransparency = 0.6 wait() g.TextTransparency = 0.7 wait() g.TextTransparency = 0.8 wait() g.TextTransparency = 0.9 wait() g.TextTransparency = 1 wait() wait() g.Visible = false instead of messing up with each of the several variables, i need to make the variables d, e, f and g to fade out at the same time and making the script short.
Exllumina
#144437420Sunday, August 24, 2014 10:32 PM GMT

idk how tables work and ROBLOX wiki doesn't help.
Exllumina
#144437567Sunday, August 24, 2014 10:34 PM GMT

i realize i need a table first... not sure how to do it

    of     1