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() |